Instructions to use tadiecool29/MTL-amroberta-stance-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tadiecool29/MTL-amroberta-stance-sentiment with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tadiecool29/MTL-amroberta-stance-sentiment", device_map="auto") - Notebooks
- Google Colab
- Kaggle
MTL-amroberta-stance-sentiment
This model is a fine-tuned version of uhhlt/am-roberta on the None dataset. It achieves the following results on the evaluation set:
- Loss: 1.4867
- Stance F1: 0.7333
- Sentiment F1: 0.7019
- F1: 0.7176
- Stance Acc: 0.7257
- Sentiment Acc: 0.7057
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.6198 | 1.0 | 402 | 1.6446 | 0.6455 | 0.6582 | 0.6518 | 0.6421 | 0.6696 |
| 1.3838 | 2.0 | 804 | 1.4526 | 0.7114 | 0.6900 | 0.7007 | 0.7032 | 0.6908 |
| 1.1248 | 3.0 | 1206 | 1.4502 | 0.7257 | 0.6887 | 0.7072 | 0.7182 | 0.6933 |
| 0.9697 | 4.0 | 1608 | 1.4736 | 0.7274 | 0.7008 | 0.7141 | 0.7195 | 0.7045 |
| 0.8629 | 5.0 | 2010 | 1.4823 | 0.7354 | 0.7040 | 0.7197 | 0.7282 | 0.7070 |
| 0.8206 | 6.0 | 2412 | 1.4867 | 0.7333 | 0.7019 | 0.7176 | 0.7257 | 0.7057 |
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
Model tree for tadiecool29/MTL-amroberta-stance-sentiment
Base model
uhhlt/am-roberta