Transformers
Safetensors
mt5
text2text-generation
full-finetuning
amharic
stance-detection
single-task
Generated from Trainer
Instructions to use tadiecool29/STL-FullFineT-afri-mt5-base-stance with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tadiecool29/STL-FullFineT-afri-mt5-base-stance with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("tadiecool29/STL-FullFineT-afri-mt5-base-stance") model = AutoModelForSeq2SeqLM.from_pretrained("tadiecool29/STL-FullFineT-afri-mt5-base-stance", device_map="auto") - Notebooks
- Google Colab
- Kaggle
STL-FullFineT-afri-mt5-base-stance
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.9243
- Accuracy: 0.7269
- Macro F1: 0.7355
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: 8
- eval_batch_size: 16
- seed: 42
- gradient_accumulation_steps: 4
- 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 |
|---|---|---|---|---|---|
| 7.2447 | 1.0 | 189 | 2.4123 | 0.3167 | 0.1393 |
| 2.1185 | 2.0 | 378 | 2.0144 | 0.6147 | 0.6190 |
| 1.9662 | 3.0 | 567 | 1.9130 | 0.6945 | 0.7028 |
| 1.8799 | 4.0 | 756 | 1.9131 | 0.7070 | 0.7153 |
| 1.8553 | 5.0 | 945 | 1.9082 | 0.7182 | 0.7252 |
| 1.8342 | 6.0 | 1134 | 1.9228 | 0.7195 | 0.7269 |
| 1.7944 | 7.0 | 1323 | 1.9203 | 0.7157 | 0.7251 |
| 1.8023 | 8.0 | 1512 | 1.9223 | 0.7232 | 0.7323 |
| 1.7837 | 9.0 | 1701 | 1.9241 | 0.7269 | 0.7355 |
| 1.7892 | 10.0 | 1890 | 1.9243 | 0.7269 | 0.7355 |
Framework versions
- Transformers 5.16.1
- Pytorch 2.11.0+cu128
- Datasets 4.8.5
- Tokenizers 0.23.1
- Downloads last month
- 9
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for tadiecool29/STL-FullFineT-afri-mt5-base-stance
Base model
masakhane/afri-mt5-base