End of training
Browse files- README.md +87 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: music-classifier-genre-finetuned-gtzan
|
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.83
|
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 |
+
# music-classifier-genre-finetuned-gtzan
|
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.8145
|
37 |
+
- Accuracy: 0.83
|
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 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
61 |
+
- lr_scheduler_type: linear
|
62 |
+
- lr_scheduler_warmup_ratio: 0.1
|
63 |
+
- num_epochs: 10
|
64 |
+
- mixed_precision_training: Native AMP
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
+
| 1.9096 | 1.0 | 225 | 1.7239 | 0.49 |
|
71 |
+
| 1.056 | 2.0 | 450 | 1.1898 | 0.66 |
|
72 |
+
| 0.5824 | 3.0 | 675 | 0.7905 | 0.74 |
|
73 |
+
| 0.2286 | 4.0 | 900 | 0.7436 | 0.8 |
|
74 |
+
| 0.3129 | 5.0 | 1125 | 0.5656 | 0.84 |
|
75 |
+
| 0.046 | 6.0 | 1350 | 0.6575 | 0.83 |
|
76 |
+
| 0.1413 | 7.0 | 1575 | 0.6421 | 0.83 |
|
77 |
+
| 0.0208 | 8.0 | 1800 | 0.8335 | 0.84 |
|
78 |
+
| 0.0088 | 9.0 | 2025 | 0.8039 | 0.85 |
|
79 |
+
| 0.0087 | 10.0 | 2250 | 0.8145 | 0.83 |
|
80 |
+
|
81 |
+
|
82 |
+
### Framework versions
|
83 |
+
|
84 |
+
- Transformers 4.45.0.dev0
|
85 |
+
- Pytorch 2.4.1+cu121
|
86 |
+
- Datasets 3.0.0
|
87 |
+
- 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:249d3baef0abcb0eca902aaf9844e0f1bcf3e970644170fd84c53778b2f1de43
|
3 |
size 94771728
|