maxpe commited on
Commit
ffe4efe
1 Parent(s): e71c590

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +13 -0
README.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BERTIN-roBERTa-base-Spanish_sem_eval_2018_task_1
2
+
3
+ This is a [BERTIN-roBERTa-base-Spanish](https://huggingface.co/bertin-project/bertin-roberta-base-spanish) model finetuned on ~3500 tweets in Spanish 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
+ To quickly test it locally, use a pipeline:
6
+
7
+ ```python
8
+ from transformers import pipeline
9
+
10
+ pipe = pipeline("text-classification",model="maxpe/bertin-roberta-base-spanish_sem_eval_2018_task_1")
11
+
12
+ pipe("¡Odio tener tanto estrés!",top_k=11)
13
+ ```