hakonmh commited on
Commit
fe73397
·
1 Parent(s): fb530c6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -2
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", model="hakonmh/topic-xdistil-uncased",
 
77
  tokenizer="hakonmh/topic-xdistil-uncased")
78
- sentiment_classifier = pipeline("sentiment-analysis", model="hakonmh/sentiment-xdistil-uncased",
 
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!"