Text Classification
Transformers
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Instructions to use Rosela/xlm-r-intent-espt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Rosela/xlm-r-intent-espt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Rosela/xlm-r-intent-espt")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Rosela/xlm-r-intent-espt") model = AutoModelForSequenceClassification.from_pretrained("Rosela/xlm-r-intent-espt", device_map="auto") - Notebooks
- Google Colab
- Kaggle
xlm-r-intent-espt
This model is a fine-tuned version of xlm-roberta-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.9937
- Accuracy: 0.9962
- F1 Macro: 0.9960
- F1 Weighted: 0.9962
- F1 Cancelacion: 0.9912
- F1 Consulta General: 0.9983
- F1 Facturacion Pago: 0.9955
- F1 Feedback: 1.0
- F1 Gestion Cuenta: 0.9950
- F1 Modificacion Pedido: 0.9949
- F1 Queja: 0.9971
- F1 Reembolso: 0.9989
- F1 Seguimiento: 0.9932
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: 2e-05
- train_batch_size: 64
- 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
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 3
- mixed_precision_training: Native AMP
- label_smoothing_factor: 0.1
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | F1 Weighted | F1 Cancelacion | F1 Consulta General | F1 Facturacion Pago | F1 Feedback | F1 Gestion Cuenta | F1 Modificacion Pedido | F1 Queja | F1 Reembolso | F1 Seguimiento |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1.0191 | 1.0 | 398 | 1.0200 | 0.9934 | 0.9926 | 0.9934 | 0.9889 | 0.9934 | 0.9937 | 0.9948 | 0.9950 | 0.9898 | 0.9853 | 0.9977 | 0.9949 |
| 0.9946 | 2.0 | 796 | 0.9955 | 0.9962 | 0.9958 | 0.9962 | 0.9912 | 0.9942 | 0.9964 | 1.0 | 0.9975 | 0.9983 | 0.9883 | 1.0 | 0.9966 |
| 0.9829 | 3.0 | 1194 | 0.9935 | 0.9956 | 0.9951 | 0.9956 | 0.9912 | 0.9925 | 0.9982 | 1.0 | 0.9975 | 0.9966 | 0.9854 | 0.9977 | 0.9966 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.8.5
- Tokenizers 0.22.2
- Downloads last month
- 9
Model tree for Rosela/xlm-r-intent-espt
Base model
FacebookAI/xlm-roberta-base