Instructions to use tadiecool29/xlmr-stl-large-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tadiecool29/xlmr-stl-large-sentiment with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tadiecool29/xlmr-stl-large-sentiment", device_map="auto") - Notebooks
- Google Colab
- Kaggle
xlmr-stl-large-sentiment
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.7818
- Sentiment Precision: 0.7525
- Sentiment Recall: 0.7537
- F1: 0.7530
- Sentiment Acc: 0.7556
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: cosine
- lr_scheduler_warmup_steps: 300
- num_epochs: 6
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Sentiment Precision | Sentiment Recall | F1 | Sentiment Acc |
|---|---|---|---|---|---|---|---|
| 0.7617 | 1.0 | 402 | 0.7241 | 0.7051 | 0.7016 | 0.6960 | 0.7020 |
| 0.7257 | 2.0 | 804 | 0.6868 | 0.7253 | 0.7109 | 0.7125 | 0.7207 |
| 0.5360 | 3.0 | 1206 | 0.7766 | 0.7371 | 0.7062 | 0.6886 | 0.7107 |
| 0.3940 | 4.0 | 1608 | 0.6967 | 0.7452 | 0.7439 | 0.7439 | 0.7456 |
| 0.3306 | 5.0 | 2010 | 0.7306 | 0.7541 | 0.7558 | 0.7546 | 0.7581 |
| 0.2724 | 6.0 | 2412 | 0.7818 | 0.7525 | 0.7537 | 0.7530 | 0.7556 |
Framework versions
- Transformers 5.15.0
- Pytorch 2.11.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for tadiecool29/xlmr-stl-large-sentiment
Base model
FacebookAI/xlm-roberta-large