Fix model name in readme
Browse files
README.md
CHANGED
@@ -438,8 +438,8 @@ Abstract:
|
|
438 |
```python
|
439 |
from transformers import T5ForConditionalGeneration, T5Tokenizer, GenerationConfig
|
440 |
|
441 |
-
model = T5ForConditionalGeneration.from_pretrained('jbochi/madlad400-7b-mt')
|
442 |
-
tokenizer = T5Tokenizer.from_pretrained('jbochi/madlad400-7b-mt')
|
443 |
|
444 |
text = "<2it> I love pizza!"
|
445 |
input_ids = tokenizer(text, return_tensors="pt").input_ids
|
|
|
438 |
```python
|
439 |
from transformers import T5ForConditionalGeneration, T5Tokenizer, GenerationConfig
|
440 |
|
441 |
+
model = T5ForConditionalGeneration.from_pretrained('jbochi/madlad400-7b-mt-bt')
|
442 |
+
tokenizer = T5Tokenizer.from_pretrained('jbochi/madlad400-7b-mt-bt')
|
443 |
|
444 |
text = "<2it> I love pizza!"
|
445 |
input_ids = tokenizer(text, return_tensors="pt").input_ids
|