antypasd commited on
Commit
872f132
1 Parent(s): 8bbef6b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -6,7 +6,7 @@ language:
6
  - en
7
  pipeline_tag: text-classification
8
  ---
9
- # cardiffnlp/twitter-roberta-base-latest-tweet-sentiment
10
 
11
  This is a RoBERTa-base model trained on 154M tweets until the end of December 2022 and finetuned for sentiment analysis (target based) on the _TweetSentiment_ dataset of [SuperTweetEval](https://huggingface.co/datasets/cardiffnlp/super_tweeteval).
12
  The original Twitter-based RoBERTa model can be found [here](https://huggingface.co/cardiffnlp/twitter-roberta-base-2022-154m).
@@ -29,7 +29,7 @@ text= 'If I make a game as a #windows10 Universal App. Will #xboxone owners be a
29
  target = "@microsoft"
30
  text_input = f"{text} </s> {target}"
31
 
32
- pipe = pipeline('text-classification', model="cardiffnlp/twitter-roberta-base-latest-tweet-sentiment")
33
  pipe(text)
34
  >> [{'label': 'negative or neutral', 'score': 0.9601162672042847}]
35
  ```
 
6
  - en
7
  pipeline_tag: text-classification
8
  ---
9
+ # cardiffnlp/twitter-roberta-base-topic-sentiment-latest
10
 
11
  This is a RoBERTa-base model trained on 154M tweets until the end of December 2022 and finetuned for sentiment analysis (target based) on the _TweetSentiment_ dataset of [SuperTweetEval](https://huggingface.co/datasets/cardiffnlp/super_tweeteval).
12
  The original Twitter-based RoBERTa model can be found [here](https://huggingface.co/cardiffnlp/twitter-roberta-base-2022-154m).
 
29
  target = "@microsoft"
30
  text_input = f"{text} </s> {target}"
31
 
32
+ pipe = pipeline('text-classification', model="cardiffnlp/twitter-roberta-base-topic-sentiment-latest")
33
  pipe(text)
34
  >> [{'label': 'negative or neutral', 'score': 0.9601162672042847}]
35
  ```