Downloads · 30 days
17
2% of all-time downloads
mrm8488/legalectra-small-spanish
legalectra-small-spanish is a machine learning model from mrm8488. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
LEGALECTRA (small) is an Electra like model (discriminator in this case) trained on A collection of corpora of Spanish legal domain.
Downloads · 30 days
17
2% of all-time downloads
All-time downloads
790
Public
Repo size
109 MB
Likes
3
Public
Click a slice to open those files.
.bin54.5 MB · 100%
From the Hugging Face model README
LEGALECTRA (small) is an Electra like model (discriminator in this case) trained on A collection of corpora of Spanish legal domain.
As mentioned in the original paper: ELECTRA is a new method for self-supervised language representation learning. It can be used to pre-train transformer networks using relatively little compute. ELECTRA models are trained to distinguish "real" input tokens vs "fake" input tokens generated by another neural network, similar to the discriminator of a GAN. At small scale, ELECTRA achieves strong results even when trained on a single GPU. At large scale, ELECTRA achieves state-of-the-art results on the SQuAD 2.0 dataset.
For a detailed description and experimental results, please refer the paper ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators.
The model was trained using the Electra base code for 3 days on 1 Tesla V100 16GB.
| Param | # Value |
|---|---|
| Layers | 12 |
| Hidden | 256 |
| Params | 14M |
| Metric | # Score |
|---|---|
| Accuracy | 0.955 |
| Precision | 0.790 |
| AUC | 0.971 |
WIP 🚧
transformersTBA
TBA
If you want to cite this model you can use this:
@misc{mromero2022legalectra,
title={Spanish Legal Electra (small)},
author={Romero, Manuel},
publisher={Hugging Face},
journal={Hugging Face Hub},
howpublished={\url{https://huggingface.co/mrm8488/legalectra-small-spanish},
year={2022}
}
Created by Manuel Romero/@mrm8488
Made with <span style="color: #e25555;">♥</span> in Spain