nielsr HF staff commited on
Commit
e040d65
1 Parent(s): e6218cc

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-base")
28
- model = LongT5Model.from_pretrained("google/longt5-local-base")
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-base")
28
+ model = LongT5Model.from_pretrained("google/long-t5-local-base")
29
 
30
  inputs = tokenizer("Hello, my dog is cute", return_tensors="pt")
31
  outputs = model(**inputs)