Update README.md
Browse files
README.md
CHANGED
@@ -73,9 +73,11 @@ Or, as a pipeline together with `SentimentDistil`:
|
|
73 |
```python
|
74 |
from transformers import pipeline
|
75 |
|
76 |
-
topic_classifier = pipeline("sentiment-analysis",
|
|
|
77 |
tokenizer="hakonmh/topic-xdistil-uncased")
|
78 |
-
sentiment_classifier = pipeline("sentiment-analysis",
|
|
|
79 |
tokenizer="hakonmh/sentiment-xdistil-uncased")
|
80 |
|
81 |
SENTENCE = "Global Growth Surges as New Technologies Drive Innovation and Productivity!"
|
|
|
73 |
```python
|
74 |
from transformers import pipeline
|
75 |
|
76 |
+
topic_classifier = pipeline("sentiment-analysis",
|
77 |
+
model="hakonmh/topic-xdistil-uncased",
|
78 |
tokenizer="hakonmh/topic-xdistil-uncased")
|
79 |
+
sentiment_classifier = pipeline("sentiment-analysis",
|
80 |
+
model="hakonmh/sentiment-xdistil-uncased",
|
81 |
tokenizer="hakonmh/sentiment-xdistil-uncased")
|
82 |
|
83 |
SENTENCE = "Global Growth Surges as New Technologies Drive Innovation and Productivity!"
|