Text Classification
Transformers
Safetensors
xlm-roberta
Generated from Trainer
text-embeddings-inference
Instructions to use Kuongan/xlm-roberta-base-esp-noaug with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kuongan/xlm-roberta-base-esp-noaug with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Kuongan/xlm-roberta-base-esp-noaug")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Kuongan/xlm-roberta-base-esp-noaug") model = AutoModelForSequenceClassification.from_pretrained("Kuongan/xlm-roberta-base-esp-noaug", device_map="auto") - Notebooks
- Google Colab
- Kaggle
xlm-roberta-base-esp-noaug
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.2961
- F1: 0.7528
- Roc Auc: 0.8318
- Accuracy: 0.5380
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: 32
- eval_batch_size: 32
- seed: 42
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: cosine
- lr_scheduler_warmup_steps: 100
- num_epochs: 20
Training results
| Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy |
|---|---|---|---|---|---|---|
| 0.567 | 1.0 | 63 | 0.5254 | 0.0 | 0.5 | 0.0 |
| 0.429 | 2.0 | 126 | 0.4218 | 0.3437 | 0.6420 | 0.2283 |
| 0.3596 | 3.0 | 189 | 0.3747 | 0.6131 | 0.7458 | 0.3859 |
| 0.3009 | 4.0 | 252 | 0.3384 | 0.6864 | 0.7889 | 0.4457 |
| 0.2499 | 5.0 | 315 | 0.2934 | 0.7355 | 0.8183 | 0.5380 |
| 0.223 | 6.0 | 378 | 0.2843 | 0.7515 | 0.8294 | 0.5380 |
| 0.1912 | 7.0 | 441 | 0.2875 | 0.7261 | 0.8130 | 0.5163 |
| 0.1575 | 8.0 | 504 | 0.2961 | 0.7528 | 0.8318 | 0.5380 |
| 0.1445 | 9.0 | 567 | 0.2856 | 0.7452 | 0.8286 | 0.5652 |
| 0.1415 | 10.0 | 630 | 0.3002 | 0.7426 | 0.8316 | 0.5598 |
| 0.129 | 11.0 | 693 | 0.2953 | 0.7414 | 0.8265 | 0.5761 |
| 0.1122 | 12.0 | 756 | 0.3099 | 0.7447 | 0.8329 | 0.5489 |
Framework versions
- Transformers 4.47.0
- Pytorch 2.5.1+cu121
- Datasets 3.2.0
- Tokenizers 0.21.0
- Downloads last month
- 3