Text Classification
Transformers
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Instructions to use DACSG/modelo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DACSG/modelo with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="DACSG/modelo")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("DACSG/modelo") model = AutoModelForSequenceClassification.from_pretrained("DACSG/modelo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
modelo
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.5213
- Accuracy: 0.8766
- F1 Macro: 0.8405
- Precision: 0.8444
- Recall: 0.8435
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: 8
- eval_batch_size: 8
- 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: 4
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | Precision | Recall |
|---|---|---|---|---|---|---|---|
| 0.8220 | 1.0 | 584 | 0.5988 | 0.7969 | 0.7530 | 0.7667 | 0.7523 |
| 0.5098 | 2.0 | 1168 | 0.4323 | 0.8783 | 0.8324 | 0.8633 | 0.8104 |
| 0.4398 | 3.0 | 1752 | 0.5561 | 0.8740 | 0.8378 | 0.8370 | 0.8427 |
| 0.3260 | 4.0 | 2336 | 0.5213 | 0.8766 | 0.8405 | 0.8444 | 0.8435 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 12
Model tree for DACSG/modelo
Base model
FacebookAI/xlm-roberta-base