masonbarnes
commited on
Commit
•
d8b4013
1
Parent(s):
19ff375
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("
|
47 |
|
48 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
49 |
|
50 |
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
|
51 |
|
|
|
43 |
```
|
44 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
45 |
|
46 |
+
model = AutoModelForSequenceClassification.from_pretrained("masonbarnes/discord-message-classifier", use_auth_token=True)
|
47 |
|
48 |
+
tokenizer = AutoTokenizer.from_pretrained("masonbarnes/discord-message-classifier", use_auth_token=True)
|
49 |
|
50 |
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
|
51 |
|