A newer version of this model is available: tashrifmahmud/sentiment_analysis_model_v2

sentiment_analysis_model

This model is a fine-tuned version of distilbert/distilbert-base-uncased on 'imdb' dataset. It achieves the following results on the evaluation set:

  • Loss: 0.2366
  • Accuracy: 0.9310

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

Training results

Training Loss Epoch Step Validation Loss Accuracy
0.2215 1.0 1563 0.2071 0.9213
0.1455 2.0 3126 0.2366 0.9310

Framework versions

  • Transformers 4.46.2
  • Pytorch 2.5.1+cu121
  • Datasets 3.1.0
  • Tokenizers 0.20.3
Downloads last month
106
Safetensors
Model size
67M params
Tensor type
F32
·
Inference Providers NEW
This model is not currently available via any of the supported third-party Inference Providers, and the model is not deployed on the HF Inference API.

Model tree for tashrifmahmud/sentiment_analysis_model

Finetuned
(7391)
this model
Finetunes
1 model

Dataset used to train tashrifmahmud/sentiment_analysis_model