distilhubert-finetuned-gtzan

This model is a fine-tuned version of ntu-spml/distilhubert on the GTZAN dataset. It achieves the following results on the evaluation set:

  • Loss: 0.4794
  • Accuracy: 0.87

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

Training results

Training Loss Epoch Step Validation Loss Accuracy
1.9964 1.0 112 1.8442 0.5
1.3501 2.0 225 1.2660 0.68
0.921 3.0 337 0.9293 0.75
0.655 4.0 450 0.9135 0.73
0.3911 5.0 562 0.6855 0.76
0.2286 6.0 675 0.5951 0.82
0.2095 7.0 787 0.5583 0.82
0.1798 8.0 900 0.4626 0.87
0.2574 9.0 1012 0.5043 0.85
0.1796 9.96 1120 0.4794 0.87

Framework versions

  • Transformers 4.33.0.dev0
  • Pytorch 2.0.1+cu118
  • Datasets 2.14.4
  • Tokenizers 0.13.3
Downloads last month
26
Safetensors
Model size
23.7M params
Tensor type
F32
·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Model tree for Lightmourne/distilhubert-finetuned-gtzan

Finetuned
(402)
this model

Dataset used to train Lightmourne/distilhubert-finetuned-gtzan

Space using Lightmourne/distilhubert-finetuned-gtzan 1

Evaluation results