antypasd commited on
Commit
27de190
1 Parent(s): f6a1aff

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-large-latest-tweet-hate
10
 
11
 
12
  This is a RoBERTa-large model trained on 154M tweets until the end of December 2022 and finetuned for hate speech detection (multiclass classification) on the _TweetHate_ dataset of [SuperTweetEval](https://huggingface.co/datasets/cardiffnlp/super_tweeteval).
@@ -31,7 +31,7 @@ The original Twitter-based RoBERTa model can be found [here](https://huggingface
31
  from transformers import pipeline
32
  text = 'Eid Mubarak Everyone!!! ❤ May Allah unite all Muslims, show us the right path, and bless us with good health.❣'
33
 
34
- pipe = pipeline('text-classification', model="cardiffnlp/twitter-roberta-large-latest-tweet-hate")
35
  pipe(text)
36
  >> [{'label': 'not_hate', 'score': 0.9997966885566711}]
37
  ```
 
6
  - en
7
  pipeline_tag: text-classification
8
  ---
9
+ # cardiffnlp/twitter-roberta-large-hate-latest
10
 
11
 
12
  This is a RoBERTa-large model trained on 154M tweets until the end of December 2022 and finetuned for hate speech detection (multiclass classification) on the _TweetHate_ dataset of [SuperTweetEval](https://huggingface.co/datasets/cardiffnlp/super_tweeteval).
 
31
  from transformers import pipeline
32
  text = 'Eid Mubarak Everyone!!! ❤ May Allah unite all Muslims, show us the right path, and bless us with good health.❣'
33
 
34
+ pipe = pipeline('text-classification', model="cardiffnlp/twitter-roberta-large-hate-latest")
35
  pipe(text)
36
  >> [{'label': 'not_hate', 'score': 0.9997966885566711}]
37
  ```