Instructions to use PlanTL-GOB-ES/RoBERTalex with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PlanTL-GOB-ES/RoBERTalex with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="PlanTL-GOB-ES/RoBERTalex")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("PlanTL-GOB-ES/RoBERTalex") model = AutoModelForMaskedLM.from_pretrained("PlanTL-GOB-ES/RoBERTalex", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
4a37d06
1
Parent(s): 4844eb6
Update README.md
Browse files
README.md
CHANGED
|
@@ -24,7 +24,14 @@ Both BETO and GPT-2 models for Spanish have been trained with rather low resourc
|
|
| 24 |
|
| 25 |
## Citing
|
| 26 |
```
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
```
|
| 29 |
|
| 30 |
For more information visit our [GitHub repository](https://github.com/PlanTL-GOB-ES/lm-legal-es)
|
|
|
|
| 24 |
|
| 25 |
## Citing
|
| 26 |
```
|
| 27 |
+
@misc{gutierrezfandino2021legal,
|
| 28 |
+
title={Spanish Legalese Language Model and Corpora},
|
| 29 |
+
author={Asier Gutiérrez-Fandiño and Jordi Armengol-Estapé and Aitor Gonzalez-Agirre and Marta Villegas},
|
| 30 |
+
year={2021},
|
| 31 |
+
eprint={2110.12201},
|
| 32 |
+
archivePrefix={arXiv},
|
| 33 |
+
primaryClass={cs.CL}
|
| 34 |
+
}
|
| 35 |
```
|
| 36 |
|
| 37 |
For more information visit our [GitHub repository](https://github.com/PlanTL-GOB-ES/lm-legal-es)
|