idjotherwise commited on
Commit
a26ebcf
1 Parent(s): 52b6ee8

Update README.md

Browse files

remove use_auth_token argument

Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -34,9 +34,9 @@ Or Python API:
34
  ```
35
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
36
 
37
- model = AutoModelForSequenceClassification.from_pretrained("idjotherwise/autonlp-reading_prediction-172506", use_auth_token=True)
38
 
39
- tokenizer = AutoTokenizer.from_pretrained("idjotherwise/autonlp-reading_prediction-172506", use_auth_token=True)
40
 
41
  inputs = tokenizer("I love AutoNLP", return_tensors="pt")
42
 
 
34
  ```
35
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
36
 
37
+ model = AutoModelForSequenceClassification.from_pretrained("idjotherwise/autonlp-reading_prediction-172506")
38
 
39
+ tokenizer = AutoTokenizer.from_pretrained("idjotherwise/autonlp-reading_prediction-172506")
40
 
41
  inputs = tokenizer("I love AutoNLP", return_tensors="pt")
42