nielsr HF staff commited on
Commit
a4b2855
1 Parent(s): 2823dc3

Fix code example

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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/longt5-local-large")
28
- model = LongT5Model.from_pretrained("google/longt5-local-large")
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)