laituan245
commited on
Commit
•
1ad0b04
1
Parent(s):
99b83a2
Update README.md
Browse files
README.md
CHANGED
@@ -7,7 +7,6 @@ license: apache-2.0
|
|
7 |
from transformers import AutoTokenizer, T5ForConditionalGeneration
|
8 |
|
9 |
tokenizer = AutoTokenizer.from_pretrained("laituan245/molt5-large", model_max_length=512)
|
10 |
-
tokenizer.save_pretrained('tokenizer')
|
11 |
model = T5ForConditionalGeneration.from_pretrained('laituan245/molt5-large')
|
12 |
```
|
13 |
|
|
|
7 |
from transformers import AutoTokenizer, T5ForConditionalGeneration
|
8 |
|
9 |
tokenizer = AutoTokenizer.from_pretrained("laituan245/molt5-large", model_max_length=512)
|
|
|
10 |
model = T5ForConditionalGeneration.from_pretrained('laituan245/molt5-large')
|
11 |
```
|
12 |
|