Edit model card

Legal ⚖️ longformer-base-8192-spanish

legal-longformer-base-8192 is a BERT-like model started from the RoBERTa checkpoint (RoBERTalex in this case) and pre-trained for MLM on long documents from the Spanish Legal Domain Corpora. It supports sequences of length up to 8192!

Longformer uses a combination of a sliding window (local) attention and global attention. Global attention is user-configured based on the task to allow the model to learn task-specific representations.

This model was made following the research done by Iz Beltagy and Matthew E. Peters and Arman Cohan.

Model (base checkpoint)

RoBERTalex There are few models trained for the Spanish language. Some of the models have been trained with a low resource, unclean corpora. The ones derived from the Spanish National Plan for Language Technologies are proficient in solving several tasks and have been trained using large-scale clean corpora. However, the Spanish Legal domain language could be thought of as an independent language on its own. We, therefore, created a Spanish Legal model from scratch trained exclusively on legal corpora.

Dataset

Spanish Legal Domain Corpora A collection of corpora of the Spanish legal domain.

More legal domain resources: https://github.com/PlanTL-GOB-ES/lm-legal-es

Citation

If you want to cite this model you can use this:

@misc {manuel_romero_2022,
    author       = { {Manuel Romero} },
    title        = { legal-longformer-base-8192-spanish (Revision 1fa2697) },
    year         = 2022,
    url          = { https://huggingface.co/mrm8488/legal-longformer-base-8192-spanish },
    doi          = { 10.57967/hf/0108 },
    publisher    = { Hugging Face }
}

Disclaimer (from RoBERTalex)

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.

When third parties, deploy or provide systems and/or services to other parties using any of these models (or using systems based on these models) or become users of the models, they should note that it is their responsibility to mitigate the risks arising from their use and, in any event, to comply with applicable regulations, including regulations regarding the use of artificial intelligence.

Downloads last month
67

Collection including mrm8488/legal-longformer-base-8192-spanish