Update README.md
Browse files
README.md
CHANGED
@@ -43,9 +43,9 @@ Or Python API:
|
|
43 |
```
|
44 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
45 |
|
46 |
-
model = AutoModelForSequenceClassification.from_pretrained("jonas/
|
47 |
|
48 |
-
tokenizer = AutoTokenizer.from_pretrained("jonas/
|
49 |
|
50 |
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
|
51 |
|
|
|
43 |
```
|
44 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
45 |
|
46 |
+
model = AutoModelForSequenceClassification.from_pretrained("jonas/sdg_classifier_osdg", use_auth_token=True)
|
47 |
|
48 |
+
tokenizer = AutoTokenizer.from_pretrained("jonas/sdg_classifier_osdg", use_auth_token=True)
|
49 |
|
50 |
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
|
51 |
|