Update README.md
Browse files
README.md
CHANGED
@@ -16,7 +16,7 @@ The original Twitter-based RoBERTa model can be found [here](https://huggingface
|
|
16 |
from transformers import pipeline
|
17 |
text= "I’m tired of being sick.. it’s been four days dawg"
|
18 |
|
19 |
-
pipe = pipeline('text-classification', model="cardiffnlp/twitter-roberta-base-latest
|
20 |
pipe(text)
|
21 |
predictions = pipe(text)[0]
|
22 |
predictions = sorted(predictions, key=lambda d: d['score'], reverse=True)
|
|
|
16 |
from transformers import pipeline
|
17 |
text= "I’m tired of being sick.. it’s been four days dawg"
|
18 |
|
19 |
+
pipe = pipeline('text-classification', model="cardiffnlp/twitter-roberta-base-emoji-latest")
|
20 |
pipe(text)
|
21 |
predictions = pipe(text)[0]
|
22 |
predictions = sorted(predictions, key=lambda d: d['score'], reverse=True)
|