Transformers
Safetensors
mt5
text2text-generation
full-finetuning
amharic
stance-detection
sentiment-analysis
multi-task
Generated from Trainer
Instructions to use tadiecool29/MTL-FullFT-mt5-base-joint with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tadiecool29/MTL-FullFT-mt5-base-joint with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("tadiecool29/MTL-FullFT-mt5-base-joint") model = AutoModelForSeq2SeqLM.from_pretrained("tadiecool29/MTL-FullFT-mt5-base-joint", device_map="auto") - Notebooks
- Google Colab
- Kaggle
MTL-FullFT-mt5-base-joint
This model is a fine-tuned version of google/mt5-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 1.7244
- Exact Match: 0.5536
- Sentiment Accuracy: 0.6920
- Sentiment Macro F1: 0.6943
- Stance Accuracy: 0.6995
- Stance Macro F1: 0.6927
- Avg Macro F1: 0.6935
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 | Exact Match | Sentiment Accuracy | Sentiment Macro F1 | Stance Accuracy | Stance Macro F1 | Avg Macro F1 |
|---|---|---|---|---|---|---|---|---|---|
| 12.2884 | 1.0 | 189 | 2.5873 | 0.0823 | 0.2506 | 0.1226 | 0.3354 | 0.0846 | 0.1036 |
| 1.8918 | 2.0 | 378 | 1.7961 | 0.4464 | 0.5299 | 0.5101 | 0.5985 | 0.5685 | 0.5393 |
| 1.8109 | 3.0 | 567 | 1.7436 | 0.5249 | 0.6471 | 0.6466 | 0.6696 | 0.6573 | 0.6519 |
| 1.7905 | 4.0 | 756 | 1.7446 | 0.5037 | 0.6197 | 0.6171 | 0.6521 | 0.6406 | 0.6289 |
| 1.7869 | 5.0 | 945 | 1.7354 | 0.5312 | 0.6559 | 0.6508 | 0.6808 | 0.6715 | 0.6611 |
| 1.7777 | 6.0 | 1134 | 1.7277 | 0.5324 | 0.6633 | 0.6622 | 0.6858 | 0.6773 | 0.6698 |
| 1.7687 | 7.0 | 1323 | 1.7279 | 0.5549 | 0.6908 | 0.6940 | 0.6995 | 0.6922 | 0.6931 |
| 1.7695 | 8.0 | 1512 | 1.7236 | 0.5536 | 0.6870 | 0.6903 | 0.6995 | 0.6942 | 0.6922 |
| 1.7674 | 9.0 | 1701 | 1.7246 | 0.5549 | 0.6920 | 0.6942 | 0.7007 | 0.6941 | 0.6941 |
| 1.7677 | 10.0 | 1890 | 1.7244 | 0.5536 | 0.6920 | 0.6943 | 0.6995 | 0.6927 | 0.6935 |
Framework versions
- Transformers 5.16.1
- Pytorch 2.11.0+cu128
- Datasets 4.8.5
- Tokenizers 0.23.1
- Downloads last month
- 31
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for tadiecool29/MTL-FullFT-mt5-base-joint
Base model
google/mt5-base