Transformers
Safetensors
mt5
text2text-generation
full-finetuning
amharic
sentiment-classification
single-task
Generated from Trainer
Instructions to use tadiecool29/STL-FullFT-afri-mt5-base-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tadiecool29/STL-FullFT-afri-mt5-base-sentiment with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("tadiecool29/STL-FullFT-afri-mt5-base-sentiment") model = AutoModelForSeq2SeqLM.from_pretrained("tadiecool29/STL-FullFT-afri-mt5-base-sentiment", device_map="auto") - Notebooks
- Google Colab
- Kaggle
MTL-FullFT-afri-mt5-base-sentiment
This model is a fine-tuned version of masakhane/afri-mt5-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 1.9457
- Accuracy: 0.6783
- Macro F1: 0.6676
- Exact Match: 0.6783
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: 0.0003
- train_batch_size: 16
- eval_batch_size: 32
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 32
- 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
- label_smoothing_factor: 0.1
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Macro F1 | Exact Match |
|---|---|---|---|---|---|---|
| 9.3722 | 1.0 | 189 | 2.1564 | 0.3566 | 0.1953 | 0.3566 |
| 4.0864 | 2.0 | 378 | 1.8879 | 0.6646 | 0.6569 | 0.6646 |
| 3.8180 | 3.0 | 567 | 1.8513 | 0.6658 | 0.6519 | 0.6658 |
| 3.6847 | 4.0 | 756 | 1.8845 | 0.6796 | 0.6771 | 0.6796 |
| 3.5788 | 5.0 | 945 | 1.8890 | 0.6671 | 0.6509 | 0.6671 |
| 3.4913 | 6.0 | 1134 | 1.9142 | 0.6808 | 0.6728 | 0.6808 |
| 3.4349 | 7.0 | 1323 | 1.9457 | 0.6783 | 0.6676 | 0.6783 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 5.0.0
- Tokenizers 0.22.2
- Downloads last month
- 19
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for tadiecool29/STL-FullFT-afri-mt5-base-sentiment
Base model
masakhane/afri-mt5-base