antypasd commited on
Commit
8933b1b
β€’
1 Parent(s): 9857884

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -5
README.md CHANGED
@@ -6,7 +6,7 @@ datasets:
6
  - cardiffnlp/super_tweeteval
7
  pipeline_tag: text-classification
8
  widget:
9
- - text: "We don't like the search and frisk so this bitch in neutral</s>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"
10
  ---
11
  # cardiffnlp/twitter-roberta-base-tempo-wic-latest
12
 
@@ -22,13 +22,14 @@ The original Twitter-based RoBERTa model can be found [here](https://huggingface
22
  ## Example
23
  ```python
24
  from transformers import pipeline
25
- text_1 = "We don't like the search and frisk so this bitch in neutral"
26
- 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"
27
- text_input = f"{text_1}</s>{text_2}"
 
28
 
29
  pipe = pipeline('text-classification', model="cardiffnlp/twitter-roberta-base-tempo-wic-latest")
30
  pipe(text_input)
31
- >> [{'label': 'yes', 'score': 0.9994196891784668}]
32
  ```
33
 
34
  ## Citation Information
 
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-base-tempo-wic-latest
12
 
 
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-base-tempo-wic-latest")
31
  pipe(text_input)
32
+ >> [{'label': 'yes', 'score': 0.9964596629142761}]
33
  ```
34
 
35
  ## Citation Information