--- language: - es license: apache-2.0 tags: - legal - spanish datasets: - legal_ES - temu_legal metrics: - ppl widget: - text: "La ley fue finalmente." - text: "El Tribunal desestimó el recurso de amparo." - text: "Hay base legal dentro del marco actual." --- # Spanish Legal-domain RoBERTa There are two main models made specifically for the Spanish language, the BETO model and a GPT-2. There is also a multilingual BERT (mBERT) that is often used as it might be better sometimes. Both BETO and GPT-2 models for Spanish have been trained with rather low resources, 4GB and 3GB of data respectively. The data used for training both models might be various but the amount is not enough to cover all domains. Furthermore, training a BERT-like domain-specific model is better as it effectively covers the vocabulary and understands the legal jargon. We present our model trained on 9GB that are specifically of the legal domain. ## Citing ``` TBA ``` For more information visit our [GitHub repository](https://github.com/PlanTL-SANIDAD/lm-legal-es)