Text Classification
Transformers
Safetensors
English
roberta
antypasd commited on
Commit
4ea6575
Β·
verified Β·
1 Parent(s): 0d6fdd0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -7
README.md CHANGED
@@ -1,15 +1,17 @@
1
  ---
 
 
2
  license: mit
3
  datasets:
4
  - cardiffnlp/super_tweeteval
5
- language:
6
- - en
7
  pipeline_tag: text-classification
 
 
8
  ---
9
  # cardiffnlp/twitter-roberta-large-tempo-wic-latest
10
 
11
  This is a RoBERTa-large model trained on 154M tweets until the end of December 2022 and finetuned for meaning shift detection (binary classification) on the _TempoWIC_ 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-large-2022-154m).
13
 
14
  ## Labels
15
  "id2label": {
@@ -20,13 +22,14 @@ The original Twitter-based RoBERTa model can be found [here](https://huggingface
20
  ## Example
21
  ```python
22
  from transformers import pipeline
23
- text_1 = "We don't like the search and frisk so this bitch in neutral"
24
- text_2 = "who the fuck is listening to mike bloomberg railing in 'bernie bros'? mr stop and frisk, literally turned the police on occupy wall street, rnc protestors, and new york muslims. get the fuck out"
25
- text_input = f"{text_1}</s>{text_2}"
 
26
 
27
  pipe = pipeline('text-classification', model="cardiffnlp/twitter-roberta-large-tempo-wic-latest")
28
  pipe(text_input)
29
- >> [{'label': 'yes', 'score': 0.9994196891784668}]
30
  ```
31
 
32
  ## Citation Information
 
1
  ---
2
+ language:
3
+ - en
4
  license: mit
5
  datasets:
6
  - cardiffnlp/super_tweeteval
 
 
7
  pipeline_tag: text-classification
8
+ widget:
9
+ - text: "In this bullpen, you should be able to ask why and understand why we do the things we do.' @Trisha_Ford 😍 #pitchstock2020 @user</s>Castro needs to be the last bullpen guy to pitch.</s>bullpen"
10
  ---
11
  # cardiffnlp/twitter-roberta-large-tempo-wic-latest
12
 
13
  This is a RoBERTa-large model trained on 154M tweets until the end of December 2022 and finetuned for meaning shift detection (binary classification) on the _TempoWIC_ dataset of [SuperTweetEval](https://huggingface.co/datasets/cardiffnlp/super_tweeteval).
14
+ The original Twitter-larged RoBERTa model can be found [here](https://huggingface.co/cardiffnlp/twitter-roberta-large-2022-154m).
15
 
16
  ## Labels
17
  "id2label": {
 
22
  ## Example
23
  ```python
24
  from transformers import pipeline
25
+ text_1 = "'In this bullpen, you should be able to ask why and understand why we do the things we do.' @Trisha_Ford 😍 #pitchstock2020 @user"
26
+ text_2 = "Castro needs to be the last bullpen guy to pitch."
27
+ target = "bullpen"
28
+ text_input = f"{text_1}</s>{text_2}</s>{target}"
29
 
30
  pipe = pipeline('text-classification', model="cardiffnlp/twitter-roberta-large-tempo-wic-latest")
31
  pipe(text_input)
32
+ >> [{'label': 'yes', 'score': 0.9783471822738647}]
33
  ```
34
 
35
  ## Citation Information