victorbarra commited on
Commit
48ae350
1 Parent(s): d15e6b6

End of training

Browse files
Files changed (1) hide show
  1. README.md +84 -0
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: ntu-spml/distilhubert
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - marsyas/gtzan
9
+ metrics:
10
+ - accuracy
11
+ model-index:
12
+ - name: distilhubert-finetuned-gtzan-barra
13
+ results:
14
+ - task:
15
+ name: Audio Classification
16
+ type: audio-classification
17
+ dataset:
18
+ name: GTZAN
19
+ type: marsyas/gtzan
20
+ config: all
21
+ split: train
22
+ args: all
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.76
27
+ ---
28
+
29
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
30
+ should probably proofread and complete it, then remove this comment. -->
31
+
32
+ # distilhubert-finetuned-gtzan-barra
33
+
34
+ This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the GTZAN dataset.
35
+ It achieves the following results on the evaluation set:
36
+ - Loss: 0.9337
37
+ - Accuracy: 0.76
38
+
39
+ ## Model description
40
+
41
+ More information needed
42
+
43
+ ## Intended uses & limitations
44
+
45
+ More information needed
46
+
47
+ ## Training and evaluation data
48
+
49
+ More information needed
50
+
51
+ ## Training procedure
52
+
53
+ ### Training hyperparameters
54
+
55
+ The following hyperparameters were used during training:
56
+ - learning_rate: 5e-05
57
+ - train_batch_size: 4
58
+ - eval_batch_size: 4
59
+ - seed: 42
60
+ - gradient_accumulation_steps: 3
61
+ - total_train_batch_size: 12
62
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
63
+ - lr_scheduler_type: linear
64
+ - lr_scheduler_warmup_ratio: 0.1
65
+ - num_epochs: 5
66
+ - mixed_precision_training: Native AMP
67
+
68
+ ### Training results
69
+
70
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
71
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
72
+ | 1.906 | 1.0 | 75 | 1.8057 | 0.55 |
73
+ | 1.3207 | 2.0 | 150 | 1.3071 | 0.64 |
74
+ | 1.1483 | 3.0 | 225 | 1.1382 | 0.68 |
75
+ | 0.8834 | 4.0 | 300 | 0.9863 | 0.73 |
76
+ | 0.7823 | 5.0 | 375 | 0.9337 | 0.76 |
77
+
78
+
79
+ ### Framework versions
80
+
81
+ - Transformers 4.44.2
82
+ - Pytorch 2.1.0+cu118
83
+ - Datasets 3.0.0
84
+ - Tokenizers 0.19.1