Update README.md
Browse files
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-
|
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 = "
|
24 |
-
text_2 = "
|
25 |
-
|
|
|
26 |
|
27 |
pipe = pipeline('text-classification', model="cardiffnlp/twitter-roberta-large-tempo-wic-latest")
|
28 |
pipe(text_input)
|
29 |
-
>> [{'label': 'yes', 'score': 0.
|
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
|