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