Update README.md
Browse files
README.md
CHANGED
@@ -20,11 +20,42 @@ inference:
|
|
20 |
---
|
21 |
|
22 |
# Spanish RoBERTa-base trained on BNE finetuned for CAPITEL Named Entity Recognition (NER) dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
RoBERTa-base-bne is a transformer-based masked language model for the Spanish language. It is based on the [RoBERTa](https://arxiv.org/abs/1907.11692) base model and has been pre-trained using the largest Spanish corpus known to date, with a total of 570GB of clean and deduplicated text processed for this work, compiled from the web crawlings performed by the [National Library of Spain (Biblioteca Nacional de España)](http://www.bne.es/en/Inicio/index.html) from 2009 to 2019.
|
24 |
|
25 |
Original pre-trained model can be found here: https://huggingface.co/PlanTL-GOB-ES/roberta-base-bne
|
26 |
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
The dataset used is the one from the [CAPITEL competition at IberLEF 2020](https://sites.google.com/view/capitel2020) (sub-task 1).
|
29 |
|
30 |
**IMPORTANT ABOUT THIS MODEL:** We modified the dataset to make this model more robust to general Spanish input. In the Spanish language all the name entities are capitalized, as this dataset has been elaborated by experts, it is totally correct in terms of Spanish language. We randomly took some entities and we lower-cased some of them for the model to learn not only that the named entities are capitalized, but also the structure of a sentence that should contain a named entity. For instance: "My name is [placeholder]", this [placeholder] should be a named entity even though it is not written capitalized. The model trained on the original capitel dataset can be found here: https://huggingface.co/PlanTL-GOB-ES/roberta-base-bne-capitel-ner
|
@@ -39,13 +70,30 @@ Model trained on original data:
|
|
39 |
- "Me llamo asier y vivo en barcelona todo el año." → "Me llamo asier y vivo en barcelona todo el año." (nothing)
|
40 |
- "Hoy voy a visitar el parc güell tras salir del barcelona supercomputing center." → "Hoy voy a visitar el parc güell tras salir del barcelona supercomputing center." (nothing)
|
41 |
|
42 |
-
## Evaluation
|
43 |
F1 Score: 0.8867
|
44 |
|
45 |
For evaluation details visit our [GitHub repository](https://github.com/PlanTL-GOB-ES/lm-spanish).
|
46 |
|
47 |
|
48 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
If you use this model, please cite our [paper](http://journal.sepln.org/sepln/ojs/ojs/index.php/pln/article/view/6405):
|
50 |
```
|
51 |
@article{,
|
@@ -66,20 +114,7 @@ Intelligence (SEDIA) within the framework of the Plan-TL.},
|
|
66 |
|
67 |
```
|
68 |
|
69 |
-
|
70 |
-
|
71 |
-
Copyright by the Spanish State Secretariat for Digitalization and Artificial Intelligence (SEDIA) (2022)
|
72 |
-
|
73 |
-
## Licensing information
|
74 |
-
|
75 |
-
[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
|
76 |
-
|
77 |
-
## Funding
|
78 |
-
|
79 |
-
This work was funded by the Spanish State Secretariat for Digitalization and Artificial Intelligence (SEDIA) within the framework of the Plan-TL.
|
80 |
-
|
81 |
-
|
82 |
-
## Disclaimer
|
83 |
|
84 |
The models published in this repository are intended for a generalist purpose and are available to third parties. These models may have bias and/or any other undesirable distortions.
|
85 |
|
|
|
20 |
---
|
21 |
|
22 |
# Spanish RoBERTa-base trained on BNE finetuned for CAPITEL Named Entity Recognition (NER) dataset.
|
23 |
+
|
24 |
+
## Table of contents
|
25 |
+
<details>
|
26 |
+
<summary>Click to expand</summary>
|
27 |
+
|
28 |
+
- [Model description](#model-description)
|
29 |
+
- [Intended uses and limitations](#intended-use)
|
30 |
+
- [How to use](#how-to-use)
|
31 |
+
- [Limitations and bias](#limitations-and-bias)
|
32 |
+
- [Training](#training)
|
33 |
+
- [Evaluation](#evaluation)
|
34 |
+
- [Additional information](#additional-information)
|
35 |
+
- [Author](#author)
|
36 |
+
- [Contact information](#contact-information)
|
37 |
+
- [Copyright](#copyright)
|
38 |
+
- [Licensing information](#licensing-information)
|
39 |
+
- [Funding](#funding)
|
40 |
+
- [Citing information](#citing-information)
|
41 |
+
- [Disclaimer](#disclaimer)
|
42 |
+
|
43 |
+
</details>
|
44 |
+
|
45 |
+
## Model description
|
46 |
RoBERTa-base-bne is a transformer-based masked language model for the Spanish language. It is based on the [RoBERTa](https://arxiv.org/abs/1907.11692) base model and has been pre-trained using the largest Spanish corpus known to date, with a total of 570GB of clean and deduplicated text processed for this work, compiled from the web crawlings performed by the [National Library of Spain (Biblioteca Nacional de España)](http://www.bne.es/en/Inicio/index.html) from 2009 to 2019.
|
47 |
|
48 |
Original pre-trained model can be found here: https://huggingface.co/PlanTL-GOB-ES/roberta-base-bne
|
49 |
|
50 |
+
|
51 |
+
## Intended uses and limitations
|
52 |
+
|
53 |
+
## How to use
|
54 |
+
|
55 |
+
## Limitations and bias
|
56 |
+
At the time of submission, no measures have been taken to estimate the bias embedded in the model. However, we are well aware that our models may be biased since the corpora have been collected using crawling techniques on multiple web sources. We intend to conduct research in these areas in the future, and if completed, this model card will be updated.
|
57 |
+
|
58 |
+
## Training
|
59 |
The dataset used is the one from the [CAPITEL competition at IberLEF 2020](https://sites.google.com/view/capitel2020) (sub-task 1).
|
60 |
|
61 |
**IMPORTANT ABOUT THIS MODEL:** We modified the dataset to make this model more robust to general Spanish input. In the Spanish language all the name entities are capitalized, as this dataset has been elaborated by experts, it is totally correct in terms of Spanish language. We randomly took some entities and we lower-cased some of them for the model to learn not only that the named entities are capitalized, but also the structure of a sentence that should contain a named entity. For instance: "My name is [placeholder]", this [placeholder] should be a named entity even though it is not written capitalized. The model trained on the original capitel dataset can be found here: https://huggingface.co/PlanTL-GOB-ES/roberta-base-bne-capitel-ner
|
|
|
70 |
- "Me llamo asier y vivo en barcelona todo el año." → "Me llamo asier y vivo en barcelona todo el año." (nothing)
|
71 |
- "Hoy voy a visitar el parc güell tras salir del barcelona supercomputing center." → "Hoy voy a visitar el parc güell tras salir del barcelona supercomputing center." (nothing)
|
72 |
|
73 |
+
## Evaluation
|
74 |
F1 Score: 0.8867
|
75 |
|
76 |
For evaluation details visit our [GitHub repository](https://github.com/PlanTL-GOB-ES/lm-spanish).
|
77 |
|
78 |
|
79 |
+
## Additional information
|
80 |
+
|
81 |
+
### Author
|
82 |
+
Text Mining Unit (TeMU) at the Barcelona Supercomputing Center ([email protected])
|
83 |
+
|
84 |
+
### Contact information
|
85 |
+
For further information, send an email to <[email protected]>
|
86 |
+
|
87 |
+
### Copyright
|
88 |
+
Copyright by the Spanish State Secretariat for Digitalization and Artificial Intelligence (SEDIA) (2022)
|
89 |
+
|
90 |
+
### Licensing information
|
91 |
+
[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
|
92 |
+
|
93 |
+
### Funding
|
94 |
+
This work was funded by the Spanish State Secretariat for Digitalization and Artificial Intelligence (SEDIA) within the framework of the Plan-TL.
|
95 |
+
|
96 |
+
### Citing information
|
97 |
If you use this model, please cite our [paper](http://journal.sepln.org/sepln/ojs/ojs/index.php/pln/article/view/6405):
|
98 |
```
|
99 |
@article{,
|
|
|
114 |
|
115 |
```
|
116 |
|
117 |
+
### Disclaimer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
|
119 |
The models published in this repository are intended for a generalist purpose and are available to third parties. These models may have bias and/or any other undesirable distortions.
|
120 |
|