distilbert-goodreads-genre

This model is a fine-tuned version of distilbert-base-cased on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 1.2667
  • Accuracy: 0.5713
  • F1: 0.5747
  • Precision: 0.5801
  • Recall: 0.5713

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: 8
  • eval_batch_size: 16
  • seed: 42
  • gradient_accumulation_steps: 2
  • total_train_batch_size: 16
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_steps: 500
  • num_epochs: 5

Training results

Training Loss Epoch Step Validation Loss Accuracy F1 Precision Recall
2.071 0.5 100 2.0569 0.1512 0.0831 0.2202 0.1512
1.8848 1.0 200 1.7967 0.4213 0.3950 0.4319 0.4213
1.5796 1.5 300 1.4874 0.525 0.5081 0.5186 0.525
1.3547 2.0 400 1.3223 0.5487 0.5312 0.5575 0.5487
1.1407 2.5 500 1.2500 0.5525 0.5491 0.5588 0.5525
1.0809 3.0 600 1.3014 0.5337 0.5190 0.5518 0.5337
0.8069 3.5 700 1.2418 0.5737 0.5762 0.5848 0.5737
0.7942 4.0 800 1.2431 0.5787 0.5815 0.5868 0.5787
0.6269 4.5 900 1.2697 0.5675 0.5731 0.5844 0.5675
0.6286 5.0 1000 1.2667 0.5713 0.5747 0.5801 0.5713

Framework versions

  • Transformers 4.38.2
  • Pytorch 2.0.1
  • Tokenizers 0.15.2
Downloads last month
80
Safetensors
Model size
65.8M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for b22ee075/distilbert-goodreads-genre

Finetuned
(316)
this model