maxpe commited on
Commit
b698e68
·
2 Parent(s): 98d0282 4822c2e

Merge branch 'main' of https://huggingface.co/maxpe/twitter-roberta-base-jun2022_sem_eval_2018_task_1 into main

Browse files
Files changed (1) hide show
  1. README.md +15 -0
README.md ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Twitter-roBERTa-base-jun2022_sem_eval_2018_task1
2
+
3
+ This model was trained on ~7000 tweets in English annotated for 11 emotion categories in [SemEval-2018 Task 1: Affect in Tweets: SubTask 5: Emotion Classification](https://competitions.codalab.org/competitions/17751) (also available on the [Hugging Face Dataset Hub](https://huggingface.co/datasets/sem_eval_2018_task_1)).
4
+
5
+ The underlying model is a RoBERTa-base model trained on 132.26M tweets until the end of June 2022. Fore more details check out the [model page](https://huggingface.co/cardiffnlp/twitter-roberta-base-jun2022).
6
+
7
+ To quickly test it locally, use a pipeline:
8
+
9
+ ```python
10
+ from transformers import pipeline
11
+
12
+ pipe = pipeline("text-classification",model="maxpe/twitter-roberta-base-jun2022_sem_eval_2018_task_1")
13
+
14
+ pipe("I couldn't see any seafood for a year after I went to that restaurant that they send all the tourists to!",return_all_scores=True,function_to_apply="sigmoid")
15
+ ```