banjtheman
commited on
Commit
•
53364fd
1
Parent(s):
a24084c
Update README.md
Browse files
README.md
CHANGED
@@ -17,6 +17,12 @@ LABEL_1 - Helpful
|
|
17 |
The following code shows how to make a prediction with this model
|
18 |
|
19 |
```python
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
tokenizer = AutoTokenizer.from_pretrained("banjtheman/distilbert-base-uncased-helpful-amazon")
|
21 |
|
22 |
model = AutoModelForSequenceClassification.from_pretrained(
|
17 |
The following code shows how to make a prediction with this model
|
18 |
|
19 |
```python
|
20 |
+
from transformers import (
|
21 |
+
AutoTokenizer,
|
22 |
+
AutoModelForSequenceClassification,
|
23 |
+
TextClassificationPipeline,
|
24 |
+
)
|
25 |
+
|
26 |
tokenizer = AutoTokenizer.from_pretrained("banjtheman/distilbert-base-uncased-helpful-amazon")
|
27 |
|
28 |
model = AutoModelForSequenceClassification.from_pretrained(
|