imrajeshkr commited on
Commit
127c2a9
1 Parent(s): 09b6c61

End of training

Browse files
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: Speech_command_RK
18
+ type: marsyas/gtzan
19
+ metrics:
20
+ - name: Accuracy
21
+ type: accuracy
22
+ value: 0.9975728155339806
23
+ ---
24
+
25
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
26
+ should probably proofread and complete it, then remove this comment. -->
27
+
28
+ # distilhubert-finetuned-gtzan
29
+
30
+ This model is a fine-tuned version of [ntu-spml/distilhubert](https://huggingface.co/ntu-spml/distilhubert) on the Speech_command_RK dataset.
31
+ It achieves the following results on the evaluation set:
32
+ - Loss: 0.2480
33
+ - Accuracy: 0.9976
34
+
35
+ ## Model description
36
+
37
+ More information needed
38
+
39
+ ## Intended uses & limitations
40
+
41
+ More information needed
42
+
43
+ ## Training and evaluation data
44
+
45
+ More information needed
46
+
47
+ ## Training procedure
48
+
49
+ ### Training hyperparameters
50
+
51
+ The following hyperparameters were used during training:
52
+ - learning_rate: 5e-05
53
+ - train_batch_size: 264
54
+ - eval_batch_size: 264
55
+ - seed: 42
56
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
57
+ - lr_scheduler_type: linear
58
+ - lr_scheduler_warmup_ratio: 0.1
59
+ - num_epochs: 5
60
+
61
+ ### Training results
62
+
63
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
64
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
65
+ | 2.4512 | 1.0 | 25 | 2.2018 | 0.6638 |
66
+ | 1.2836 | 2.0 | 50 | 1.0664 | 0.9636 |
67
+ | 0.6447 | 3.0 | 75 | 0.5056 | 0.9891 |
68
+ | 0.3833 | 4.0 | 100 | 0.2985 | 0.9964 |
69
+ | 0.3167 | 5.0 | 125 | 0.2480 | 0.9976 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - Transformers 4.40.0
75
+ - Pytorch 2.3.0+cu121
76
+ - Datasets 2.19.0
77
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ntu-spml/distilhubert",
3
+ "activation_dropout": 0.1,
4
+ "apply_spec_augment": false,
5
+ "architectures": [
6
+ "HubertForSequenceClassification"
7
+ ],
8
+ "attention_dropout": 0.1,
9
+ "bos_token_id": 1,
10
+ "classifier_proj_size": 256,
11
+ "conv_bias": false,
12
+ "conv_dim": [
13
+ 512,
14
+ 512,
15
+ 512,
16
+ 512,
17
+ 512,
18
+ 512,
19
+ 512
20
+ ],
21
+ "conv_kernel": [
22
+ 10,
23
+ 3,
24
+ 3,
25
+ 3,
26
+ 3,
27
+ 2,
28
+ 2
29
+ ],
30
+ "conv_stride": [
31
+ 5,
32
+ 2,
33
+ 2,
34
+ 2,
35
+ 2,
36
+ 2,
37
+ 2
38
+ ],
39
+ "ctc_loss_reduction": "sum",
40
+ "ctc_zero_infinity": false,
41
+ "do_stable_layer_norm": false,
42
+ "eos_token_id": 2,
43
+ "feat_extract_activation": "gelu",
44
+ "feat_extract_norm": "group",
45
+ "feat_proj_dropout": 0.0,
46
+ "feat_proj_layer_norm": false,
47
+ "final_dropout": 0.0,
48
+ "hidden_act": "gelu",
49
+ "hidden_dropout": 0.1,
50
+ "hidden_size": 768,
51
+ "id2label": {
52
+ "0": "yes",
53
+ "1": "no",
54
+ "10": "zero",
55
+ "11": "one",
56
+ "12": "two",
57
+ "13": "three",
58
+ "14": "four",
59
+ "15": "five",
60
+ "16": "six",
61
+ "17": "seven",
62
+ "18": "eight",
63
+ "19": "nine",
64
+ "2": "up",
65
+ "20": "bed",
66
+ "21": "bird",
67
+ "22": "cat",
68
+ "23": "dog",
69
+ "24": "happy",
70
+ "25": "house",
71
+ "26": "marvin",
72
+ "27": "sheila",
73
+ "28": "tree",
74
+ "29": "wow",
75
+ "3": "down",
76
+ "30": "backward",
77
+ "31": "forward",
78
+ "32": "follow",
79
+ "33": "learn",
80
+ "34": "visual",
81
+ "35": "_silence_",
82
+ "4": "left",
83
+ "5": "right",
84
+ "6": "on",
85
+ "7": "off",
86
+ "8": "stop",
87
+ "9": "go"
88
+ },
89
+ "initializer_range": 0.02,
90
+ "intermediate_size": 3072,
91
+ "label2id": {
92
+ "_silence_": "35",
93
+ "backward": "30",
94
+ "bed": "20",
95
+ "bird": "21",
96
+ "cat": "22",
97
+ "dog": "23",
98
+ "down": "3",
99
+ "eight": "18",
100
+ "five": "15",
101
+ "follow": "32",
102
+ "forward": "31",
103
+ "four": "14",
104
+ "go": "9",
105
+ "happy": "24",
106
+ "house": "25",
107
+ "learn": "33",
108
+ "left": "4",
109
+ "marvin": "26",
110
+ "nine": "19",
111
+ "no": "1",
112
+ "off": "7",
113
+ "on": "6",
114
+ "one": "11",
115
+ "right": "5",
116
+ "seven": "17",
117
+ "sheila": "27",
118
+ "six": "16",
119
+ "stop": "8",
120
+ "three": "13",
121
+ "tree": "28",
122
+ "two": "12",
123
+ "up": "2",
124
+ "visual": "34",
125
+ "wow": "29",
126
+ "yes": "0",
127
+ "zero": "10"
128
+ },
129
+ "layer_norm_eps": 1e-05,
130
+ "layerdrop": 0.0,
131
+ "mask_feature_length": 10,
132
+ "mask_feature_min_masks": 0,
133
+ "mask_feature_prob": 0.0,
134
+ "mask_time_length": 10,
135
+ "mask_time_min_masks": 2,
136
+ "mask_time_prob": 0.05,
137
+ "model_type": "hubert",
138
+ "num_attention_heads": 12,
139
+ "num_conv_pos_embedding_groups": 16,
140
+ "num_conv_pos_embeddings": 128,
141
+ "num_feat_extract_layers": 7,
142
+ "num_hidden_layers": 2,
143
+ "pad_token_id": 0,
144
+ "torch_dtype": "float32",
145
+ "transformers_version": "4.40.0",
146
+ "use_weighted_layer_sum": false,
147
+ "vocab_size": 32
148
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee9cfb65bd8df44abb8a43f33685c1512d46f121f91eb4a3cd3b4b3090c3c7f5
3
+ size 94798464
preprocessor_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "feature_extractor_type": "Wav2Vec2FeatureExtractor",
4
+ "feature_size": 1,
5
+ "padding_side": "right",
6
+ "padding_value": 0,
7
+ "return_attention_mask": true,
8
+ "sampling_rate": 16000
9
+ }
runs/Apr29_19-16-03_6a83ad1054b9/events.out.tfevents.1714418171.6a83ad1054b9.9960.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5989702a863e14d23df7b65d4f07856840f644fd0150683a23e51ec163aa3f3
3
+ size 13932
runs/Apr29_19-16-03_6a83ad1054b9/events.out.tfevents.1714419394.6a83ad1054b9.9960.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0aa55afdc3ec7fea35a5e01197489f61bcea1f90a849b6a079cd6e04bdf68b58
3
+ size 405
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e609c141038226f6f785d2e9884dde5574d1536ded83f4b6c1866cdfe7a5f81e
3
+ size 5048