Commit
·
6268455
1
Parent(s):
3c50d18
Update README.md
Browse files
README.md
CHANGED
|
@@ -17,13 +17,26 @@ widget:
|
|
| 17 |
- text: "Hay base legal dentro del marco <mask> actual."
|
| 18 |
|
| 19 |
---
|
| 20 |
-
|
| 21 |
# RoBERTa large trained with data from National Library of Spain (BNE)
|
| 22 |
|
| 23 |
-
##
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
For evaluation details visit our [GitHub repository](https://github.com/PlanTL-SANIDAD/lm-spanish).
|
| 28 |
|
| 29 |
## Citing
|
|
@@ -38,9 +51,4 @@ Check out our paper for all the details: https://arxiv.org/abs/2107.07253
|
|
| 38 |
archivePrefix={arXiv},
|
| 39 |
primaryClass={cs.CL}
|
| 40 |
}
|
| 41 |
-
```
|
| 42 |
-
|
| 43 |
-
## Corpora
|
| 44 |
-
| Corpora | Number of documents | Size (GB) |
|
| 45 |
-
|---------|---------------------|-----------|
|
| 46 |
-
| BNE | 201,080,084 | 570GB |
|
|
|
|
| 17 |
- text: "Hay base legal dentro del marco <mask> actual."
|
| 18 |
|
| 19 |
---
|
|
|
|
| 20 |
# RoBERTa large trained with data from National Library of Spain (BNE)
|
| 21 |
|
| 22 |
+
## Model Description
|
| 23 |
+
RoBERTa-large-bne is a transformer-based masked language model for the Spanish language. It is based on the [RoBERTa](https://arxiv.org/abs/1907.11692) large 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 |
+
## Training corpora and preprocessing
|
| 26 |
+
The [National Library of Spain (Biblioteca Nacional de España)](http://www.bne.es/en/Inicio/index.html) crawls all .es domains once a year. The training corpus consists of 59TB of WARC files from these crawls, carried out from 2009 to 2019.
|
| 27 |
+
|
| 28 |
+
To obtain a high-quality training corpus, the corpus has been preprocessed with a pipeline of operations, including among the others, sentence splitting, language detection, filtering of bad-formed sentences and deduplication of repetitive contents. During the process document boundaries are kept. This resulted into 2TB of Spanish clean corpus. Further global deduplication among the corpus is applied, resulting into 570GB of text.
|
| 29 |
+
|
| 30 |
+
Some of the statistics of the corpus:
|
| 31 |
|
| 32 |
+
| Corpora | Number of documents | Number of tokens | Size (GB) |
|
| 33 |
+
|---------|---------------------|------------------|-----------|
|
| 34 |
+
| BNE | 201,080,084 | 135,733,450,668 | 570GB |
|
| 35 |
+
|
| 36 |
+
## Tokenization and pre-training
|
| 37 |
+
The training corpus has been tokenized using a byte version of Byte-Pair Encoding (BPE) used in the original [RoBERTA](https://arxiv.org/abs/1907.11692) model with a vocabulary size of 50,262 tokens. The RoBERTa-large-bne pre-training consists of a masked language model training that follows the approach employed for the RoBERTa large model with the same hyperparameters as in the original work. The training lasted a total of 48 hours with 16 computing nodes each one with 4 NVIDIA V100 GPUs of 16GB VRAM.
|
| 38 |
+
|
| 39 |
+
## Evaluation and results
|
| 40 |
For evaluation details visit our [GitHub repository](https://github.com/PlanTL-SANIDAD/lm-spanish).
|
| 41 |
|
| 42 |
## Citing
|
|
|
|
| 51 |
archivePrefix={arXiv},
|
| 52 |
primaryClass={cs.CL}
|
| 53 |
}
|
| 54 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|