sentiment_model_for_hf

This model is a fine-tuned version of cardiffnlp/twitter-roberta-base-sentiment-latest on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.9413
  • Accuracy: 0.746
  • F1: 0.7454
  • Precision: 0.7451
  • Recall: 0.746

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: 5e-05
  • train_batch_size: 16
  • eval_batch_size: 16
  • seed: 42
  • optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_steps: 500
  • num_epochs: 3

Training results

Training Loss Epoch Step Validation Loss Accuracy F1 Precision Recall
0.6881 1.0 1250 0.5987 0.733 0.7315 0.7505 0.733
0.4569 2.0 2500 0.6451 0.743 0.7427 0.7448 0.743
0.0882 3.0 3750 0.9413 0.746 0.7454 0.7451 0.746

Framework versions

  • Transformers 4.57.1
  • Pytorch 2.9.0+cpu
  • Datasets 4.3.0
  • Tokenizers 0.22.1
Downloads last month
51
Safetensors
Model size
0.1B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for flaaa31/sentiment_model_for_hf

Finetuned
(239)
this model

Space using flaaa31/sentiment_model_for_hf 1