Edit model card

gpt2-amazon-sentiment-classifier-V1.0

This model was trained from scratch on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.0320
  • Accuracy: 0.9680
  • F1: 0.9680

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 2e-05
  • train_batch_size: 16
  • eval_batch_size: 16
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 2

Training results

Framework versions

  • Transformers 4.39.3
  • Pytorch 2.2.1+cu121
  • Datasets 2.18.0
  • Tokenizers 0.15.2
Downloads last month
1,444
Safetensors
Model size
67M params
Tensor type
F32
Β·
Inference API
This model can be loaded on Inference API (serverless).

Dataset used to train ashok2216/gpt2-amazon-sentiment-classifier-V1.0

Spaces using ashok2216/gpt2-amazon-sentiment-classifier-V1.0 2