Text Classification
Transformers
TensorBoard
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Instructions to use AnonymousCS/xlmr_spanish_immigration3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AnonymousCS/xlmr_spanish_immigration3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AnonymousCS/xlmr_spanish_immigration3")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AnonymousCS/xlmr_spanish_immigration3") model = AutoModelForSequenceClassification.from_pretrained("AnonymousCS/xlmr_spanish_immigration3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
xlmr_spanish_immigration3
This model is a fine-tuned version of FacebookAI/xlm-roberta-large on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.3622
- Accuracy: 0.9
- 1-f1: 0.8267
- 1-recall: 0.7209
- 1-precision: 0.9688
- Balanced Acc: 0.8547
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: 128
- eval_batch_size: 128
- 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
- num_epochs: 15
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | 1-f1 | 1-recall | 1-precision | Balanced Acc |
|---|---|---|---|---|---|---|---|---|
| 0.4144 | 1.0 | 5 | 0.4054 | 0.8769 | 0.7838 | 0.6744 | 0.9355 | 0.8257 |
| 0.2497 | 2.0 | 10 | 0.3461 | 0.8923 | 0.825 | 0.7674 | 0.8919 | 0.8607 |
| 0.2908 | 3.0 | 15 | 0.3786 | 0.9 | 0.8267 | 0.7209 | 0.9688 | 0.8547 |
| 0.1783 | 4.0 | 20 | 0.3622 | 0.9 | 0.8267 | 0.7209 | 0.9688 | 0.8547 |
Framework versions
- Transformers 4.56.0.dev0
- Pytorch 2.8.0+cu126
- Datasets 4.0.0
- Tokenizers 0.21.4
- Downloads last month
- 3
Model tree for AnonymousCS/xlmr_spanish_immigration3
Base model
FacebookAI/xlm-roberta-large