Instructions to use tadiecool29/MTL-bert-base-amharic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tadiecool29/MTL-bert-base-amharic with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tadiecool29/MTL-bert-base-amharic", device_map="auto") - Notebooks
- Google Colab
- Kaggle
MTL-bert-base-amharic
This model is a fine-tuned version of Davlan/bert-base-multilingual-cased-finetuned-amharic on the None dataset. It achieves the following results on the evaluation set:
- Loss: 1.7034
- Stance F1: 0.7235
- Sentiment F1: 0.6570
- F1: 0.6902
- Stance Acc: 0.7170
- Sentiment Acc: 0.6621
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 | Stance F1 | Sentiment F1 | F1 | Stance Acc | Sentiment Acc |
|---|---|---|---|---|---|---|---|---|
| 1.9128 | 1.0 | 402 | 1.8066 | 0.6329 | 0.5934 | 0.6132 | 0.6309 | 0.5948 |
| 1.6206 | 2.0 | 804 | 1.6737 | 0.6559 | 0.6286 | 0.6422 | 0.6509 | 0.6322 |
| 1.3433 | 3.0 | 1206 | 1.5836 | 0.7012 | 0.6475 | 0.6744 | 0.6933 | 0.6521 |
| 1.0772 | 4.0 | 1608 | 1.7232 | 0.6875 | 0.6415 | 0.6645 | 0.6783 | 0.6496 |
| 0.9160 | 5.0 | 2010 | 1.7040 | 0.7138 | 0.6552 | 0.6845 | 0.7070 | 0.6608 |
| 0.8085 | 6.0 | 2412 | 1.7034 | 0.7235 | 0.6570 | 0.6902 | 0.7170 | 0.6621 |
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