saxenagauravhf
commited on
Commit
•
46458d7
1
Parent(s):
fea2b93
End of training
Browse files- README.md +96 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: ntu-spml/distilhubert
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- marsyas/gtzan
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: distilhubert-finetuned-gtzan
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Audio Classification
|
15 |
+
type: audio-classification
|
16 |
+
dataset:
|
17 |
+
name: GTZAN
|
18 |
+
type: marsyas/gtzan
|
19 |
+
config: all
|
20 |
+
split: None
|
21 |
+
args: all
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.84
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# distilhubert-finetuned-gtzan
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the GTZAN dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.7755
|
36 |
+
- Accuracy: 0.84
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 5e-05
|
56 |
+
- train_batch_size: 16
|
57 |
+
- eval_batch_size: 16
|
58 |
+
- seed: 42
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- lr_scheduler_warmup_ratio: 0.1
|
62 |
+
- num_epochs: 20
|
63 |
+
- mixed_precision_training: Native AMP
|
64 |
+
|
65 |
+
### Training results
|
66 |
+
|
67 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
68 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
69 |
+
| 2.2322 | 1.0 | 57 | 2.1521 | 0.37 |
|
70 |
+
| 1.7413 | 2.0 | 114 | 1.6606 | 0.47 |
|
71 |
+
| 1.3543 | 3.0 | 171 | 1.2698 | 0.69 |
|
72 |
+
| 0.9436 | 4.0 | 228 | 1.0440 | 0.71 |
|
73 |
+
| 0.7976 | 5.0 | 285 | 0.8338 | 0.79 |
|
74 |
+
| 0.6615 | 6.0 | 342 | 0.6933 | 0.84 |
|
75 |
+
| 0.5743 | 7.0 | 399 | 0.6180 | 0.84 |
|
76 |
+
| 0.4349 | 8.0 | 456 | 0.5931 | 0.84 |
|
77 |
+
| 0.2949 | 9.0 | 513 | 0.5794 | 0.85 |
|
78 |
+
| 0.2274 | 10.0 | 570 | 0.5901 | 0.84 |
|
79 |
+
| 0.1067 | 11.0 | 627 | 0.6496 | 0.81 |
|
80 |
+
| 0.104 | 12.0 | 684 | 0.6921 | 0.82 |
|
81 |
+
| 0.0781 | 13.0 | 741 | 0.6653 | 0.83 |
|
82 |
+
| 0.0245 | 14.0 | 798 | 0.6621 | 0.84 |
|
83 |
+
| 0.0144 | 15.0 | 855 | 0.7015 | 0.82 |
|
84 |
+
| 0.0104 | 16.0 | 912 | 0.7109 | 0.85 |
|
85 |
+
| 0.007 | 17.0 | 969 | 0.7472 | 0.84 |
|
86 |
+
| 0.0163 | 18.0 | 1026 | 0.7603 | 0.86 |
|
87 |
+
| 0.0039 | 19.0 | 1083 | 0.7710 | 0.85 |
|
88 |
+
| 0.0035 | 20.0 | 1140 | 0.7755 | 0.84 |
|
89 |
+
|
90 |
+
|
91 |
+
### Framework versions
|
92 |
+
|
93 |
+
- Transformers 4.43.0.dev0
|
94 |
+
- Pytorch 2.3.1+cu118
|
95 |
+
- Datasets 2.20.0
|
96 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 94771728
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fd58678a46c1209b6cd56f0863a98a19b112e237c1a0ce616146e2199f71c2ad
|
3 |
size 94771728
|