Sandiago21
commited on
Commit
•
8c791ca
1
Parent(s):
ac1830f
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# distilhubert-finetuned-gtzan
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the GTZAN dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.7031
|
22 |
+
- Accuracy: 0.82
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 2e-05
|
42 |
+
- train_batch_size: 16
|
43 |
+
- eval_batch_size: 16
|
44 |
+
- seed: 42
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- lr_scheduler_warmup_ratio: 0.1
|
48 |
+
- num_epochs: 20
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
53 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
54 |
+
| 2.2612 | 1.0 | 57 | 2.2511 | 0.26 |
|
55 |
+
| 2.1275 | 2.0 | 114 | 2.0384 | 0.36 |
|
56 |
+
| 1.8071 | 3.0 | 171 | 1.7399 | 0.52 |
|
57 |
+
| 1.6381 | 4.0 | 228 | 1.5693 | 0.61 |
|
58 |
+
| 1.4188 | 5.0 | 285 | 1.3573 | 0.61 |
|
59 |
+
| 1.2974 | 6.0 | 342 | 1.2103 | 0.72 |
|
60 |
+
| 1.2146 | 7.0 | 399 | 1.1800 | 0.69 |
|
61 |
+
| 1.0725 | 8.0 | 456 | 1.0126 | 0.77 |
|
62 |
+
| 1.0492 | 9.0 | 513 | 0.9821 | 0.74 |
|
63 |
+
| 1.0529 | 10.0 | 570 | 0.9347 | 0.77 |
|
64 |
+
| 0.895 | 11.0 | 627 | 0.8520 | 0.79 |
|
65 |
+
| 0.7692 | 12.0 | 684 | 0.8451 | 0.8 |
|
66 |
+
| 0.6566 | 13.0 | 741 | 0.7763 | 0.82 |
|
67 |
+
| 0.5885 | 14.0 | 798 | 0.7852 | 0.8 |
|
68 |
+
| 0.619 | 15.0 | 855 | 0.7443 | 0.8 |
|
69 |
+
| 0.5572 | 16.0 | 912 | 0.7444 | 0.79 |
|
70 |
+
| 0.6493 | 17.0 | 969 | 0.7024 | 0.83 |
|
71 |
+
| 0.5499 | 18.0 | 1026 | 0.7137 | 0.81 |
|
72 |
+
| 0.5923 | 19.0 | 1083 | 0.7059 | 0.81 |
|
73 |
+
| 0.5556 | 20.0 | 1140 | 0.7031 | 0.82 |
|
74 |
+
|
75 |
+
|
76 |
+
### Framework versions
|
77 |
+
|
78 |
+
- Transformers 4.30.0.dev0
|
79 |
+
- Pytorch 2.0.1+cu117
|
80 |
+
- Datasets 2.13.1
|
81 |
+
- Tokenizers 0.13.3
|