antypasd commited on
Commit
fb09215
1 Parent(s): 8469e74

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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-tweet-emoji")
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)