Text Classification
Transformers
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Instructions to use JDAlvarez/XLMRoberta-Sarcasmo-2026-6e-16bs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JDAlvarez/XLMRoberta-Sarcasmo-2026-6e-16bs with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="JDAlvarez/XLMRoberta-Sarcasmo-2026-6e-16bs")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("JDAlvarez/XLMRoberta-Sarcasmo-2026-6e-16bs") model = AutoModelForSequenceClassification.from_pretrained("JDAlvarez/XLMRoberta-Sarcasmo-2026-6e-16bs", device_map="auto") - Notebooks
- Google Colab
- Kaggle
XLMRoberta-Sarcasmo-2026-6e-16bs
This model is a fine-tuned version of FacebookAI/xlm-roberta-large-finetuned-conll02-spanish on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.4411
- F1 Macro: 0.9350
- F1 Weighted: 0.9385
- Accuracy: 0.9387
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: 1e-05
- train_batch_size: 16
- eval_batch_size: 32
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 6
Training results
| Training Loss | Epoch | Step | Validation Loss | F1 Macro | F1 Weighted | Accuracy |
|---|---|---|---|---|---|---|
| 0.3091 | 1.0 | 955 | 0.2787 | 0.8910 | 0.8977 | 0.8990 |
| 0.2688 | 2.0 | 1910 | 0.2382 | 0.9141 | 0.9181 | 0.9178 |
| 0.1660 | 3.0 | 2865 | 0.3025 | 0.9266 | 0.9309 | 0.9314 |
| 0.1094 | 4.0 | 3820 | 0.3455 | 0.9359 | 0.9392 | 0.9393 |
| 0.0636 | 5.0 | 4775 | 0.3966 | 0.9390 | 0.9423 | 0.9424 |
| 0.0832 | 6.0 | 5730 | 0.4411 | 0.9350 | 0.9385 | 0.9387 |
Framework versions
- Transformers 5.12.1
- Pytorch 2.11.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 5