jarvisx17 commited on
Commit
55e1c21
1 Parent(s): 870b6bd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -55,11 +55,11 @@ $ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: applica
55
  Or Python API:
56
 
57
  ```
58
- from transformers import AutoModelForSequenceClassification, AutoTokenizer
59
 
60
- model = AutoModelForSequenceClassification.from_pretrained("jarvisx17/japanese-sentiment-analysis", use_auth_token=True)
61
 
62
- tokenizer = AutoTokenizer.from_pretrained("jarvisx17/japanese-sentiment-analysis", use_auth_token=True)
63
 
64
  inputs = tokenizer("I love AutoNLP", return_tensors="pt")
65
 
 
55
  Or Python API:
56
 
57
  ```
58
+ from transformers import AutoTokenizer, AutoModelForSequenceClassification
59
 
60
+ tokenizer = AutoTokenizer.from_pretrained("jarvisx17/japanese-sentiment-analysis")
61
 
62
+ model = AutoModelForSequenceClassification.from_pretrained("jarvisx17/japanese-sentiment-analysis")
63
 
64
  inputs = tokenizer("I love AutoNLP", return_tensors="pt")
65