Ife commited on
Commit
1c65819
1 Parent(s): 71c9ecb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -28,9 +28,9 @@ Below is an example for using **Serengeti** predict masked tokens.
28
  ``` bash
29
  from transformers import AutoTokenizer, AutoModelForMaskedLM
30
 
31
- tokenizer = AutoTokenizer.from_pretrained("UBC-NLP/serengeti-E250", use_auth_token="XXX")
32
 
33
- model = AutoModelForMaskedLM.from_pretrained("UBC-NLP/serengeti-E250", use_auth_token="XXX")
34
  from transformers import pipeline
35
 
36
  classifier = pipeline("fill-mask", model=model, tokenizer=tokenizer)
 
28
  ``` bash
29
  from transformers import AutoTokenizer, AutoModelForMaskedLM
30
 
31
+ tokenizer = AutoTokenizer.from_pretrained("UBC-NLP/serengeti-E110", use_auth_token="XXX")
32
 
33
+ model = AutoModelForMaskedLM.from_pretrained("UBC-NLP/serengeti-E110", use_auth_token="XXX")
34
  from transformers import pipeline
35
 
36
  classifier = pipeline("fill-mask", model=model, tokenizer=tokenizer)