Commit
·
f3c5e3a
1
Parent(s):
e69fcaf
Update README.md
Browse files
README.md
CHANGED
@@ -4,6 +4,7 @@ license: apache-2.0
|
|
4 |
## Example Usage
|
5 |
```python
|
6 |
from transformers import AutoTokenizer, T5ForConditionalGeneration
|
|
|
7 |
tokenizer = AutoTokenizer.from_pretrained("laituan245/molt5-small", model_max_length=512)
|
8 |
model = T5ForConditionalGeneration.from_pretrained('laituan245/molt5-small')
|
9 |
```
|
|
|
4 |
## Example Usage
|
5 |
```python
|
6 |
from transformers import AutoTokenizer, T5ForConditionalGeneration
|
7 |
+
|
8 |
tokenizer = AutoTokenizer.from_pretrained("laituan245/molt5-small", model_max_length=512)
|
9 |
model = T5ForConditionalGeneration.from_pretrained('laituan245/molt5-small')
|
10 |
```
|