cvalenciaunivalle commited on
Commit
8222e0e
·
verified ·
1 Parent(s): d7de1f1

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +40 -0
README.md ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: es
3
+ license: cc-by-nc-sa-4.0
4
+ tags:
5
+ - text-classification
6
+ - sentiment-analysis
7
+ - sarcasm-detection
8
+ - xlm-roberta
9
+ base_model: xlm-roberta-large
10
+ pipeline_tag: text-classification
11
+ ---
12
+
13
+ # Sarcasmo XLM-ROBERTA
14
+
15
+ Fine-tuning de **xlm-roberta-large** sobre el dataset **Sarcasmo** (binario: sarcasmo / no_sarcasmo).
16
+ Taller PLN - Maestría Ingeniería de Sistemas, Univalle.
17
+
18
+ ## Subfolders
19
+
20
+ | Batch | F1 |
21
+ |------:|---:|
22
+ | bs8 | (ver model card) |
23
+ | bs16 | (ver model card) |
24
+ | bs32 | (ver model card) |
25
+
26
+ ## Uso
27
+
28
+ ```python
29
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline
30
+
31
+ m = AutoModelForSequenceClassification.from_pretrained("cvalenciaunivalle/sarcasmo-xlm-roberta-large", subfolder="bs8")
32
+ t = AutoTokenizer.from_pretrained("cvalenciaunivalle/sarcasmo-xlm-roberta-large", subfolder="bs8")
33
+ pipe = pipeline("text-classification", model=m, tokenizer=t)
34
+ pipe("¡Qué divertido, otro lunes de trabajo!")
35
+ ```
36
+
37
+ ## Compañeros
38
+
39
+ - Laura Valero
40
+ - Cristian Valencia