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: distilhubert-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.82
|
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 |
+
# distilhubert-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.7277
|
37 |
+
- Accuracy: 0.82
|
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: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
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.8325 | 1.0 | 225 | 1.6828 | 0.51 |
|
71 |
+
| 1.1105 | 2.0 | 450 | 1.1369 | 0.66 |
|
72 |
+
| 0.6095 | 3.0 | 675 | 0.8092 | 0.77 |
|
73 |
+
| 0.2526 | 4.0 | 900 | 0.6534 | 0.81 |
|
74 |
+
| 0.3619 | 5.0 | 1125 | 0.6683 | 0.78 |
|
75 |
+
| 0.0294 | 6.0 | 1350 | 0.5738 | 0.83 |
|
76 |
+
| 0.429 | 7.0 | 1575 | 0.5983 | 0.84 |
|
77 |
+
| 0.2307 | 8.0 | 1800 | 0.7582 | 0.85 |
|
78 |
+
| 0.008 | 9.0 | 2025 | 0.7387 | 0.83 |
|
79 |
+
| 0.0078 | 10.0 | 2250 | 0.7277 | 0.82 |
|
80 |
+
|
81 |
+
|
82 |
+
### Framework versions
|
83 |
+
|
84 |
+
- Transformers 4.46.2
|
85 |
+
- Pytorch 2.5.1+cu121
|
86 |
+
- Datasets 3.1.0
|
87 |
+
- Tokenizers 0.20.3
|
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:937bfb2d20663e429e1e1e595a4c232121c42b8b5a3f4d8285a25621d0f38ae5
|
3 |
size 94771728
|