mingxilei's picture
End of training
8dda6cb verified
---
library_name: transformers
base_model: cardiffnlp/twitter-roberta-base-sentiment
tags:
- generated_from_trainer
metrics:
- accuracy
model-index:
- name: imdb_reward_2_2e-05_1
results: []
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# imdb_reward_2_2e-05_1
This model is a fine-tuned version of [cardiffnlp/twitter-roberta-base-sentiment](https://huggingface.co/cardiffnlp/twitter-roberta-base-sentiment) on an unknown dataset.
It achieves the following results on the evaluation set:
- Loss: 0.0621
- Accuracy: 0.7354
## 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: 2e-05
- train_batch_size: 128
- eval_batch_size: 128
- seed: 42
- optimizer: Use sgd and the args are:
No additional optimizer arguments
- lr_scheduler_type: cosine
- lr_scheduler_warmup_ratio: 0.2
- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 0.0921 | 1.0 | 196 | 0.0621 | 0.7226 |
| 0.0313 | 2.0 | 392 | 0.0634 | 0.7344 |
| 0.0167 | 3.0 | 588 | 0.0621 | 0.7354 |
### Framework versions
- Transformers 4.47.1
- Pytorch 2.5.1+cu124
- Datasets 3.2.0
- Tokenizers 0.21.0