elisanchez-beep commited on
Commit
4ef860c
1 Parent(s): 9faa53f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +75 -0
README.md CHANGED
@@ -1,3 +1,78 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ datasets:
4
+ - HiTZ/cometa
5
+ language:
6
+ - es
7
+ metrics:
8
+ - f1
9
+ pipeline_tag: token-classification
10
  ---
11
+
12
+ # XLM-RoBERTa for Spanish Metaphor Detection
13
+
14
+ This model is a fine-tuned version of XLM-RoBERTa-large on CoMeta dataset, for metaphor detection in Spanish at token level. This model is presented in our paper [Leveraging a New Spanish Corpus for Multilingual and Cross-lingual Metaphor Detection](https://aclanthology.org/2022.conll-1.16/)
15
+
16
+
17
+ ### Model Sources
18
+
19
+ <!-- Provide the basic links for the model. -->
20
+
21
+ - **Repository:** (https://github.com/ixa-ehu/cometa)
22
+ - **Paper:** [Leveraging a New Spanish Corpus for Multilingual and Cross-lingual Metaphor Detection](https://aclanthology.org/2022.conll-1.16/)
23
+
24
+
25
+ ### Training & Testing Data
26
+
27
+ [CoMeta](HiTZ/cometa)
28
+
29
+ #### Training Hyperparameters
30
+
31
+ - Batch size: 8
32
+ - Weight Decay: 0.01
33
+ - Learning Rate: 0.00002
34
+ - Epochs: 4
35
+
36
+ ### Results
37
+
38
+ - F1: 67.44
39
+ - Precision: 75.57
40
+ - Recall: 60.88
41
+
42
+
43
+ ## Label Dictionary
44
+
45
+ ```
46
+ {
47
+ "LABEL_0": "B-METAPHOR",
48
+ "LABEL_1": "I-METAPHOR",
49
+ "LABEL_2": "O"
50
+ }
51
+ ```
52
+
53
+ ## Citation
54
+
55
+ If you use this model, please cite our work:
56
+
57
+ ```
58
+ @inproceedings{sanchez-bayona-agerri-2022-leveraging,
59
+ title = "Leveraging a New {S}panish Corpus for Multilingual and Cross-lingual Metaphor Detection",
60
+ author = "Sanchez-Bayona, Elisa and
61
+ Agerri, Rodrigo",
62
+ editor = "Fokkens, Antske and
63
+ Srikumar, Vivek",
64
+ booktitle = "Proceedings of the 26th Conference on Computational Natural Language Learning (CoNLL)",
65
+ month = dec,
66
+ year = "2022",
67
+ address = "Abu Dhabi, United Arab Emirates (Hybrid)",
68
+ publisher = "Association for Computational Linguistics",
69
+ url = "https://aclanthology.org/2022.conll-1.16",
70
+ doi = "10.18653/v1/2022.conll-1.16",
71
+ pages = "228--240",
72
+ abstract = "The lack of wide coverage datasets annotated with everyday metaphorical expressions for languages other than English is striking. This means that most research on supervised metaphor detection has been published only for that language. In order to address this issue, this work presents the first corpus annotated with naturally occurring metaphors in Spanish large enough to develop systems to perform metaphor detection. The presented dataset, CoMeta, includes texts from various domains, namely, news, political discourse, Wikipedia and reviews. In order to label CoMeta, we apply the MIPVU method, the guidelines most commonly used to systematically annotate metaphor on real data. We use our newly created dataset to provide competitive baselines by fine-tuning several multilingual and monolingual state-of-the-art large language models. Furthermore, by leveraging the existing VUAM English data in addition to CoMeta, we present the, to the best of our knowledge, first cross-lingual experiments on supervised metaphor detection. Finally, we perform a detailed error analysis that explores the seemingly high transfer of everyday metaphor across these two languages and datasets.",
73
+ }
74
+ ```
75
+
76
+ ## Dataset Card Contact
77
+
78
+ {elisa.sanchez, rodrigo.agerri}@ehu.eus