Instructions to use tadiecool29/STL-Tadesse-AfroXLMR-Social-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tadiecool29/STL-Tadesse-AfroXLMR-Social-sentiment with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tadiecool29/STL-Tadesse-AfroXLMR-Social-sentiment", device_map="auto") - Notebooks
- Google Colab
- Kaggle
STL-Tadesse-AfroXLMR-Social-sentiment
This model is a fine-tuned version of Tadesse/AfroXLMR-Social on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 1.7508
- Sentiment Precision: 0.7473
- Sentiment Recall: 0.7499
- F1: 0.7464
- Sentiment Acc: 0.7544
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: 10
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Sentiment Precision | Sentiment Recall | F1 | Sentiment Acc |
|---|---|---|---|---|---|---|---|
| 0.6399 | 1.0 | 377 | 0.6288 | 0.7512 | 0.7389 | 0.7416 | 0.7444 |
| 0.5386 | 2.0 | 754 | 0.5705 | 0.7610 | 0.7615 | 0.7607 | 0.7668 |
| 0.3063 | 3.0 | 1131 | 0.7348 | 0.7630 | 0.7611 | 0.7615 | 0.7643 |
| 0.1798 | 4.0 | 1508 | 0.9660 | 0.7532 | 0.7474 | 0.7484 | 0.7494 |
| 0.1172 | 5.0 | 1885 | 1.4551 | 0.7465 | 0.7480 | 0.7458 | 0.7506 |
| 0.0586 | 6.0 | 2262 | 1.7508 | 0.7473 | 0.7499 | 0.7464 | 0.7544 |
Framework versions
- Transformers 5.16.1
- Pytorch 2.11.0+cu128
- Datasets 4.8.5
- Tokenizers 0.23.1
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for tadiecool29/STL-Tadesse-AfroXLMR-Social-sentiment
Base model
Tadesse/AfroXLMR-Social