Update README.md
Browse files
README.md
CHANGED
@@ -24,7 +24,7 @@ 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-base-
|
28 |
pipe(text_input)
|
29 |
>> [{'label': 'yes', 'score': 0.9994196891784668}]
|
30 |
```
|
|
|
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-base-tempo-wic-latest")
|
28 |
pipe(text_input)
|
29 |
>> [{'label': 'yes', 'score': 0.9994196891784668}]
|
30 |
```
|