spellingdragon
commited on
Commit
•
1d81f57
1
Parent(s):
631f6b2
End of training
Browse files
README.md
CHANGED
@@ -1,15 +1,28 @@
|
|
1 |
---
|
2 |
-
language:
|
3 |
-
- en
|
4 |
license: apache-2.0
|
5 |
base_model: ntu-spml/distilhubert
|
6 |
tags:
|
7 |
- generated_from_trainer
|
8 |
datasets:
|
9 |
- marsyas/gtzan
|
|
|
|
|
10 |
model-index:
|
11 |
- name: distilhubert-finetuned-gtzan
|
12 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
---
|
14 |
|
15 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -18,6 +31,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
18 |
# distilhubert-finetuned-gtzan
|
19 |
|
20 |
This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the GTZAN dataset.
|
|
|
|
|
|
|
21 |
|
22 |
## Model description
|
23 |
|
@@ -36,7 +52,7 @@ More information needed
|
|
36 |
### Training hyperparameters
|
37 |
|
38 |
The following hyperparameters were used during training:
|
39 |
-
- learning_rate:
|
40 |
- train_batch_size: 8
|
41 |
- eval_batch_size: 8
|
42 |
- seed: 42
|
@@ -46,9 +62,16 @@ The following hyperparameters were used during training:
|
|
46 |
- num_epochs: 1
|
47 |
- mixed_precision_training: Native AMP
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
### Framework versions
|
50 |
|
51 |
-
- Transformers 4.
|
52 |
- Pytorch 2.1.0+cu121
|
53 |
- Datasets 2.16.0
|
54 |
- Tokenizers 0.15.0
|
|
|
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: train
|
21 |
+
args: all
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.53
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
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: 1.8461
|
36 |
+
- Accuracy: 0.53
|
37 |
|
38 |
## Model description
|
39 |
|
|
|
52 |
### Training hyperparameters
|
53 |
|
54 |
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 5e-05
|
56 |
- train_batch_size: 8
|
57 |
- eval_batch_size: 8
|
58 |
- seed: 42
|
|
|
62 |
- num_epochs: 1
|
63 |
- mixed_precision_training: Native AMP
|
64 |
|
65 |
+
### Training results
|
66 |
+
|
67 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
68 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
69 |
+
| 1.9351 | 1.0 | 113 | 1.8461 | 0.53 |
|
70 |
+
|
71 |
+
|
72 |
### Framework versions
|
73 |
|
74 |
+
- Transformers 4.36.2
|
75 |
- Pytorch 2.1.0+cu121
|
76 |
- Datasets 2.16.0
|
77 |
- Tokenizers 0.15.0
|
config.json
CHANGED
@@ -90,7 +90,7 @@
|
|
90 |
"num_hidden_layers": 2,
|
91 |
"pad_token_id": 0,
|
92 |
"torch_dtype": "float32",
|
93 |
-
"transformers_version": "4.
|
94 |
"use_weighted_layer_sum": false,
|
95 |
"vocab_size": 32
|
96 |
}
|
|
|
90 |
"num_hidden_layers": 2,
|
91 |
"pad_token_id": 0,
|
92 |
"torch_dtype": "float32",
|
93 |
+
"transformers_version": "4.36.2",
|
94 |
"use_weighted_layer_sum": false,
|
95 |
"vocab_size": 32
|
96 |
}
|
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:69900a9c6ff284ea11b1c38600ff3f14e5025f2f3eee8c167883806645bd61ef
|
3 |
size 94771728
|
runs/Dec24_18-48-21_e2ac1b75f3e9/events.out.tfevents.1703443702.e2ac1b75f3e9.529.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:57e3fb174dd6205e3148627ea60b1cc0cffc8c39f8af2351168f94ceeb591a6e
|
3 |
+
size 9626
|
runs/Dec24_19-05-57_e2ac1b75f3e9/events.out.tfevents.1703444760.e2ac1b75f3e9.529.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5db95533d38dbdac8eb00b0890c140d21b577a8e29eb1a8dbcbc2e0d05a89c97
|
3 |
+
size 9624
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:347c46b7c48a9f565e5226fdbf7927c8ff1773cf9d939cfd7c3bb3d09c19cc6c
|
3 |
+
size 4728
|