root commited on
Commit
6ff030b
1 Parent(s): bb81e27

update readme

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -66,7 +66,7 @@ Find below some example scripts on how to use the model in `transformers`:
66
 
67
  from transformers import AutoModelForCausalLM, AutoTokenizer
68
 
69
- tokenizer = AutoTokenizer.from_pretrained("DAMO-NLP-MT/polylm-13b", use_fast=False)
70
 
71
  model = AutoModelForCausalLM.from_pretrained("DAMO-NLP-MT/polylm-13b", device_map="auto")
72
  model.eval()
 
66
 
67
  from transformers import AutoModelForCausalLM, AutoTokenizer
68
 
69
+ tokenizer = AutoTokenizer.from_pretrained("DAMO-NLP-MT/polylm-13b", legacy=False, use_fast=False)
70
 
71
  model = AutoModelForCausalLM.from_pretrained("DAMO-NLP-MT/polylm-13b", device_map="auto")
72
  model.eval()