Instructions to use driwnet/RoBERTa-es-mental-large_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use driwnet/RoBERTa-es-mental-large_v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="driwnet/RoBERTa-es-mental-large_v2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("driwnet/RoBERTa-es-mental-large_v2") model = AutoModelForMaskedLM.from_pretrained("driwnet/RoBERTa-es-mental-large_v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
RoBERTa-es-mental-large_v2
This model is a fine-tuned version of ELiRF/RoBERTa-es-mental-large on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 1.2025
- Model Preparation Time: 0.0049
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 1
- eval_batch_size: 1
- seed: 42
- distributed_type: multi-GPU
- num_devices: 4
- gradient_accumulation_steps: 8
- total_train_batch_size: 32
- total_eval_batch_size: 4
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.06
- num_epochs: 3.0
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Model Preparation Time |
|---|---|---|---|---|
| 1.5561 | 0.0677 | 1000 | 1.5563 | 0.0049 |
| 1.5485 | 0.1355 | 2000 | 1.5392 | 0.0049 |
| 1.5247 | 0.2032 | 3000 | 1.5307 | 0.0049 |
| 1.4967 | 0.2710 | 4000 | 1.5008 | 0.0049 |
| 1.4795 | 0.3387 | 5000 | 1.4828 | 0.0049 |
| 1.4486 | 0.4064 | 6000 | 1.4602 | 0.0049 |
| 1.4421 | 0.4742 | 7000 | 1.4395 | 0.0049 |
| 1.417 | 0.5419 | 8000 | 1.4283 | 0.0049 |
| 1.4102 | 0.6096 | 9000 | 1.4114 | 0.0049 |
| 1.3957 | 0.6774 | 10000 | 1.3984 | 0.0049 |
| 1.3846 | 0.7451 | 11000 | 1.3932 | 0.0049 |
| 1.3693 | 0.8129 | 12000 | 1.3853 | 0.0049 |
| 1.3728 | 0.8806 | 13000 | 1.3656 | 0.0049 |
| 1.351 | 0.9483 | 14000 | 1.3592 | 0.0049 |
| 1.349 | 1.0161 | 15000 | 1.3506 | 0.0049 |
| 1.339 | 1.0838 | 16000 | 1.3429 | 0.0049 |
| 1.33 | 1.1515 | 17000 | 1.3369 | 0.0049 |
| 1.3146 | 1.2193 | 18000 | 1.3305 | 0.0049 |
| 1.3261 | 1.2870 | 19000 | 1.3234 | 0.0049 |
| 1.2906 | 1.3547 | 20000 | 1.3145 | 0.0049 |
| 1.305 | 1.4225 | 21000 | 1.3142 | 0.0049 |
| 1.2892 | 1.4902 | 22000 | 1.3047 | 0.0049 |
| 1.2733 | 1.5580 | 23000 | 1.2944 | 0.0049 |
| 1.2758 | 1.6257 | 24000 | 1.2903 | 0.0049 |
| 1.2642 | 1.6934 | 25000 | 1.2878 | 0.0049 |
| 1.2639 | 1.7612 | 26000 | 1.2769 | 0.0049 |
| 1.2531 | 1.8289 | 27000 | 1.2746 | 0.0049 |
| 1.2584 | 1.8966 | 28000 | 1.2698 | 0.0049 |
| 1.259 | 1.9644 | 29000 | 1.2626 | 0.0049 |
| 1.2346 | 2.0321 | 30000 | 1.2500 | 0.0049 |
| 1.2414 | 2.0998 | 31000 | 1.2492 | 0.0049 |
| 1.2314 | 2.1676 | 32000 | 1.2460 | 0.0049 |
| 1.2295 | 2.2353 | 33000 | 1.2441 | 0.0049 |
| 1.2141 | 2.3031 | 34000 | 1.2411 | 0.0049 |
| 1.2033 | 2.3708 | 35000 | 1.2307 | 0.0049 |
| 1.2206 | 2.4385 | 36000 | 1.2238 | 0.0049 |
| 1.2058 | 2.5063 | 37000 | 1.2177 | 0.0049 |
| 1.1969 | 2.5740 | 38000 | 1.2181 | 0.0049 |
| 1.2073 | 2.6418 | 39000 | 1.2093 | 0.0049 |
| 1.1954 | 2.7095 | 40000 | 1.2117 | 0.0049 |
| 1.1826 | 2.7772 | 41000 | 1.2046 | 0.0049 |
| 1.202 | 2.8450 | 42000 | 1.2069 | 0.0049 |
| 1.1896 | 2.9127 | 43000 | 1.2046 | 0.0049 |
| 1.1907 | 2.9804 | 44000 | 1.1953 | 0.0049 |
Framework versions
- Transformers 4.57.6
- Pytorch 2.6.0+cu118
- Datasets 4.8.5
- Tokenizers 0.22.2
- Downloads last month
- 4
Model tree for driwnet/RoBERTa-es-mental-large_v2
Base model
PlanTL-GOB-ES/roberta-large-bne Finetuned
ELiRF/RoBERTa-es-mental-large