LegalLMs
Collection
XLM-RoBERTa models with continued pretraining on the MultiLegalPile • 37 items • Updated • 4
How to use joelniklaus/legal-greek-roberta-base with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="joelniklaus/legal-greek-roberta-base") # Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("joelniklaus/legal-greek-roberta-base")
model = AutoModelForMaskedLM.from_pretrained("joelniklaus/legal-greek-roberta-base", device_map="auto")This model was trained from scratch on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.8724 | 12.0 | 50000 | 0.6730 |
| 0.7713 | 24.0 | 100000 | 0.5763 |
| 0.7186 | 36.0 | 150000 | 0.5396 |
| 0.7152 | 48.0 | 200000 | 0.5247 |