Update README.md
Browse files
README.md
CHANGED
@@ -23,8 +23,8 @@ The model is mostly meant to be fine-tuned on a supervised dataset. See the [mod
|
|
23 |
```python
|
24 |
from transformers import AutoTokenizer, LongT5Model
|
25 |
|
26 |
-
tokenizer = AutoTokenizer.from_pretrained("google/
|
27 |
-
model = LongT5Model.from_pretrained("google/
|
28 |
|
29 |
inputs = tokenizer("Hello, my dog is cute", return_tensors="pt")
|
30 |
outputs = model(**inputs)
|
|
|
23 |
```python
|
24 |
from transformers import AutoTokenizer, LongT5Model
|
25 |
|
26 |
+
tokenizer = AutoTokenizer.from_pretrained("google/long-t5-tglobal-base")
|
27 |
+
model = LongT5Model.from_pretrained("google/long-t5-tglobal-base")
|
28 |
|
29 |
inputs = tokenizer("Hello, my dog is cute", return_tensors="pt")
|
30 |
outputs = model(**inputs)
|