Commit
•
f23ddd2
1
Parent(s):
8c86ea8
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.82
|
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.5716
|
35 |
+
- Accuracy: 0.82
|
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 |
+
| 1.7297 | 1.0 | 113 | 1.8011 | 0.44 |
|
68 |
+
| 1.24 | 2.0 | 226 | 1.3045 | 0.64 |
|
69 |
+
| 0.9805 | 3.0 | 339 | 0.9888 | 0.7 |
|
70 |
+
| 0.6853 | 4.0 | 452 | 0.7508 | 0.79 |
|
71 |
+
| 0.4502 | 5.0 | 565 | 0.6224 | 0.81 |
|
72 |
+
| 0.3015 | 6.0 | 678 | 0.5411 | 0.83 |
|
73 |
+
| 0.2244 | 7.0 | 791 | 0.6293 | 0.78 |
|
74 |
+
| 0.3108 | 8.0 | 904 | 0.5857 | 0.81 |
|
75 |
+
| 0.1644 | 9.0 | 1017 | 0.5355 | 0.83 |
|
76 |
+
| 0.1198 | 10.0 | 1130 | 0.5716 | 0.82 |
|
77 |
+
|
78 |
+
|
79 |
+
### Framework versions
|
80 |
+
|
81 |
+
- Transformers 4.30.0.dev0
|
82 |
+
- Pytorch 2.1.0.dev20230607+cu121
|
83 |
+
- Datasets 2.13.1.dev0
|
84 |
+
- Tokenizers 0.13.3
|