update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- marsyas/gtzan
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: distilhubert-finetuned-gtzan
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Audio Classification
|
14 |
+
type: audio-classification
|
15 |
+
dataset:
|
16 |
+
name: GTZAN
|
17 |
+
type: marsyas/gtzan
|
18 |
+
config: all
|
19 |
+
split: train
|
20 |
+
args: all
|
21 |
+
metrics:
|
22 |
+
- name: Accuracy
|
23 |
+
type: accuracy
|
24 |
+
value: 0.85
|
25 |
+
---
|
26 |
+
|
27 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
28 |
+
should probably proofread and complete it, then remove this comment. -->
|
29 |
+
|
30 |
+
# distilhubert-finetuned-gtzan
|
31 |
+
|
32 |
+
This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the GTZAN dataset.
|
33 |
+
It achieves the following results on the evaluation set:
|
34 |
+
- Loss: 0.5140
|
35 |
+
- Accuracy: 0.85
|
36 |
+
|
37 |
+
## Model description
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Intended uses & limitations
|
42 |
+
|
43 |
+
More information needed
|
44 |
+
|
45 |
+
## Training and evaluation data
|
46 |
+
|
47 |
+
More information needed
|
48 |
+
|
49 |
+
## Training procedure
|
50 |
+
|
51 |
+
### Training hyperparameters
|
52 |
+
|
53 |
+
The following hyperparameters were used during training:
|
54 |
+
- learning_rate: 5e-05
|
55 |
+
- train_batch_size: 8
|
56 |
+
- eval_batch_size: 8
|
57 |
+
- seed: 42
|
58 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
59 |
+
- lr_scheduler_type: linear
|
60 |
+
- lr_scheduler_warmup_ratio: 0.1
|
61 |
+
- num_epochs: 10
|
62 |
+
|
63 |
+
### Training results
|
64 |
+
|
65 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
66 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
67 |
+
| 2.0082 | 1.0 | 113 | 1.8364 | 0.42 |
|
68 |
+
| 1.3116 | 2.0 | 226 | 1.2265 | 0.67 |
|
69 |
+
| 1.0207 | 3.0 | 339 | 0.9318 | 0.73 |
|
70 |
+
| 0.9157 | 4.0 | 452 | 0.8398 | 0.74 |
|
71 |
+
| 0.6641 | 5.0 | 565 | 0.6821 | 0.8 |
|
72 |
+
| 0.3651 | 6.0 | 678 | 0.5933 | 0.82 |
|
73 |
+
| 0.4257 | 7.0 | 791 | 0.5077 | 0.86 |
|
74 |
+
| 0.1812 | 8.0 | 904 | 0.5231 | 0.86 |
|
75 |
+
| 0.2592 | 9.0 | 1017 | 0.4903 | 0.84 |
|
76 |
+
| 0.1195 | 10.0 | 1130 | 0.5140 | 0.85 |
|
77 |
+
|
78 |
+
|
79 |
+
### Framework versions
|
80 |
+
|
81 |
+
- Transformers 4.31.0.dev0
|
82 |
+
- Pytorch 2.0.1+cu118
|
83 |
+
- Datasets 2.13.1
|
84 |
+
- Tokenizers 0.13.3
|