Update README.md
Browse files
README.md
CHANGED
@@ -43,8 +43,8 @@ Compared with T5-samll, we implement its Chinese version. In order to use for ch
|
|
43 |
from transformers import T5ForConditionalGeneration, BertTokenizer
|
44 |
import torch
|
45 |
|
46 |
-
tokenizer=BertTokenizer.from_pretrained('IDEA-CCNL/Randeng-T5-Char-
|
47 |
-
model=T5ForConditionalGeneration.from_pretrained('IDEA-CCNL/Randeng-T5-Char-
|
48 |
```
|
49 |
|
50 |
## 引用 Citation
|
|
|
43 |
from transformers import T5ForConditionalGeneration, BertTokenizer
|
44 |
import torch
|
45 |
|
46 |
+
tokenizer=BertTokenizer.from_pretrained('IDEA-CCNL/Randeng-T5-Char-57M-Chinese', add_special_tokens=False)
|
47 |
+
model=T5ForConditionalGeneration.from_pretrained('IDEA-CCNL/Randeng-T5-Char-57M-Chinese')
|
48 |
```
|
49 |
|
50 |
## 引用 Citation
|