Edit model card

electra-small-discriminator-text-classification-en-finetuned-amazon_reviews_multi-en

This model is a fine-tuned version of google/electra-small-discriminator on the amazon_reviews_multi dataset. It achieves the following results on the evaluation set:

  • Loss: 0.9435
  • Accuracy: 0.5922

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: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 3

Training results

Training Loss Epoch Step Validation Loss Accuracy
0.9639 1.0 12500 0.9660 0.5816
0.9192 2.0 25000 0.9615 0.5858
0.8901 3.0 37500 0.9573 0.5892

Framework versions

  • Transformers 4.27.3
  • Pytorch 1.13.1+cu116
  • Datasets 2.10.1
  • Tokenizers 0.13.2
Downloads last month
2
Safetensors
Model size
13.6M params
Tensor type
I64
·
F32
·

Dataset used to train dmjimenezbravo/electra-small-discriminator-text-classification-en-finetuned-amazon_reviews_multi-en

Evaluation results