Update README.md
Browse files
README.md
CHANGED
@@ -10,7 +10,7 @@ Erya4FT is based on [Erya](https://huggingface.co/RUCAIBox/Erya) and further fin
|
|
10 |
```python
|
11 |
from transformers import BertTokenizer, CPTForConditionalGeneration
|
12 |
|
13 |
-
tokenizer = BertTokenizer.from_pretrained("RUCAIBox/
|
14 |
model = CPTForConditionalGeneration.from_pretrained("RUCAIBox/Erya4FT")
|
15 |
|
16 |
input_ids = tokenizer("安世字子孺,少以父任为郎。", return_tensors='pt')
|
|
|
10 |
```python
|
11 |
from transformers import BertTokenizer, CPTForConditionalGeneration
|
12 |
|
13 |
+
tokenizer = BertTokenizer.from_pretrained("RUCAIBox/Erya4FT")
|
14 |
model = CPTForConditionalGeneration.from_pretrained("RUCAIBox/Erya4FT")
|
15 |
|
16 |
input_ids = tokenizer("安世字子孺,少以父任为郎。", return_tensors='pt')
|