Ezhilraj69999
commited on
Commit
•
e3eee50
1
Parent(s):
543e9f9
End of training
Browse files- README.md +4 -3
- all_results.json +11 -11
- eval_results.json +6 -6
- train_results.json +6 -6
- trainer_state.json +206 -52
README.md
CHANGED
@@ -3,6 +3,7 @@ library_name: transformers
|
|
3 |
license: apache-2.0
|
4 |
base_model: facebook/wav2vec2-base
|
5 |
tags:
|
|
|
6 |
- generated_from_trainer
|
7 |
metrics:
|
8 |
- accuracy
|
@@ -16,10 +17,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# wav2vec2-base-wakeword
|
18 |
|
19 |
-
This model is a fine-tuned version of [facebook/wav2vec2-base](https://huggingface.co/facebook/wav2vec2-base) on the
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
- Loss:
|
22 |
-
- Accuracy: 0.
|
23 |
|
24 |
## Model description
|
25 |
|
|
|
3 |
license: apache-2.0
|
4 |
base_model: facebook/wav2vec2-base
|
5 |
tags:
|
6 |
+
- audio-classification
|
7 |
- generated_from_trainer
|
8 |
metrics:
|
9 |
- accuracy
|
|
|
17 |
|
18 |
# wav2vec2-base-wakeword
|
19 |
|
20 |
+
This model is a fine-tuned version of [facebook/wav2vec2-base](https://huggingface.co/facebook/wav2vec2-base) on the superb dataset.
|
21 |
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 4.0217
|
23 |
+
- Accuracy: 0.7473
|
24 |
|
25 |
## Model description
|
26 |
|
all_results.json
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"eval_accuracy": 0.
|
4 |
-
"eval_loss":
|
5 |
-
"eval_runtime":
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second": 1.
|
8 |
-
"total_flos": 2.
|
9 |
-
"train_loss":
|
10 |
-
"train_runtime":
|
11 |
-
"train_samples_per_second":
|
12 |
-
"train_steps_per_second": 0.
|
13 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 4.916201117318436,
|
3 |
+
"eval_accuracy": 0.7472527472527473,
|
4 |
+
"eval_loss": 4.021728038787842,
|
5 |
+
"eval_runtime": 21.9494,
|
6 |
+
"eval_samples_per_second": 58.042,
|
7 |
+
"eval_steps_per_second": 1.822,
|
8 |
+
"total_flos": 2.59294349617536e+17,
|
9 |
+
"train_loss": 5.575903250954368,
|
10 |
+
"train_runtime": 352.7331,
|
11 |
+
"train_samples_per_second": 81.067,
|
12 |
+
"train_steps_per_second": 0.624
|
13 |
}
|
eval_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"eval_accuracy": 0.
|
4 |
-
"eval_loss":
|
5 |
-
"eval_runtime":
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second": 1.
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 4.916201117318436,
|
3 |
+
"eval_accuracy": 0.7472527472527473,
|
4 |
+
"eval_loss": 4.021728038787842,
|
5 |
+
"eval_runtime": 21.9494,
|
6 |
+
"eval_samples_per_second": 58.042,
|
7 |
+
"eval_steps_per_second": 1.822
|
8 |
}
|
train_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"total_flos": 2.
|
4 |
-
"train_loss":
|
5 |
-
"train_runtime":
|
6 |
-
"train_samples_per_second":
|
7 |
-
"train_steps_per_second": 0.
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 4.916201117318436,
|
3 |
+
"total_flos": 2.59294349617536e+17,
|
4 |
+
"train_loss": 5.575903250954368,
|
5 |
+
"train_runtime": 352.7331,
|
6 |
+
"train_samples_per_second": 81.067,
|
7 |
+
"train_steps_per_second": 0.624
|
8 |
}
|
trainer_state.json
CHANGED
@@ -1,70 +1,224 @@
|
|
1 |
{
|
2 |
-
"best_metric": 0.
|
3 |
-
"best_model_checkpoint": "wav2vec2-base-wakeword/checkpoint-
|
4 |
-
"epoch":
|
5 |
"eval_steps": 500,
|
6 |
-
"global_step":
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
10 |
"log_history": [
|
11 |
{
|
12 |
-
"epoch":
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"eval_steps_per_second": 1.684,
|
18 |
-
"step": 1
|
19 |
},
|
20 |
{
|
21 |
-
"epoch":
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"eval_steps_per_second": 1.696,
|
27 |
-
"step": 2
|
28 |
},
|
29 |
{
|
30 |
-
"epoch":
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
},
|
38 |
{
|
39 |
"epoch": 4.0,
|
40 |
-
"eval_accuracy": 0.
|
41 |
-
"eval_loss":
|
42 |
-
"eval_runtime":
|
43 |
-
"eval_samples_per_second":
|
44 |
-
"eval_steps_per_second": 1.
|
45 |
-
"step":
|
46 |
-
},
|
47 |
-
{
|
48 |
-
"epoch":
|
49 |
-
"
|
50 |
-
"
|
51 |
-
"
|
52 |
-
"
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
"
|
58 |
-
"
|
59 |
-
"
|
60 |
-
|
61 |
-
|
62 |
-
"
|
63 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
}
|
65 |
],
|
66 |
"logging_steps": 10,
|
67 |
-
"max_steps":
|
68 |
"num_input_tokens_seen": 0,
|
69 |
"num_train_epochs": 5,
|
70 |
"save_steps": 500,
|
@@ -80,8 +234,8 @@
|
|
80 |
"attributes": {}
|
81 |
}
|
82 |
},
|
83 |
-
"total_flos": 2.
|
84 |
-
"train_batch_size":
|
85 |
"trial_name": null,
|
86 |
"trial_params": null
|
87 |
}
|
|
|
1 |
{
|
2 |
+
"best_metric": 0.7472527472527473,
|
3 |
+
"best_model_checkpoint": "wav2vec2-base-wakeword/checkpoint-179",
|
4 |
+
"epoch": 4.916201117318436,
|
5 |
"eval_steps": 500,
|
6 |
+
"global_step": 220,
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
10 |
"log_history": [
|
11 |
{
|
12 |
+
"epoch": 0.22346368715083798,
|
13 |
+
"grad_norm": 1.7972055673599243,
|
14 |
+
"learning_rate": 1.3636363636363637e-05,
|
15 |
+
"loss": 8.6174,
|
16 |
+
"step": 10
|
|
|
|
|
17 |
},
|
18 |
{
|
19 |
+
"epoch": 0.44692737430167595,
|
20 |
+
"grad_norm": 3.6899046897888184,
|
21 |
+
"learning_rate": 2.7272727272727273e-05,
|
22 |
+
"loss": 8.3156,
|
23 |
+
"step": 20
|
|
|
|
|
24 |
},
|
25 |
{
|
26 |
+
"epoch": 0.6703910614525139,
|
27 |
+
"grad_norm": 4.899014949798584,
|
28 |
+
"learning_rate": 2.8787878787878788e-05,
|
29 |
+
"loss": 7.6827,
|
30 |
+
"step": 30
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.8938547486033519,
|
34 |
+
"grad_norm": 5.642251014709473,
|
35 |
+
"learning_rate": 2.7272727272727273e-05,
|
36 |
+
"loss": 7.269,
|
37 |
+
"step": 40
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.9832402234636871,
|
41 |
+
"eval_accuracy": 0.5274725274725275,
|
42 |
+
"eval_loss": 6.90291690826416,
|
43 |
+
"eval_runtime": 20.6201,
|
44 |
+
"eval_samples_per_second": 61.784,
|
45 |
+
"eval_steps_per_second": 1.94,
|
46 |
+
"step": 44
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 1.1173184357541899,
|
50 |
+
"grad_norm": 6.348006248474121,
|
51 |
+
"learning_rate": 2.575757575757576e-05,
|
52 |
+
"loss": 6.9601,
|
53 |
+
"step": 50
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 1.3407821229050279,
|
57 |
+
"grad_norm": 6.931854248046875,
|
58 |
+
"learning_rate": 2.4242424242424244e-05,
|
59 |
+
"loss": 6.6727,
|
60 |
+
"step": 60
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 1.564245810055866,
|
64 |
+
"grad_norm": 7.51934814453125,
|
65 |
+
"learning_rate": 2.272727272727273e-05,
|
66 |
+
"loss": 6.3984,
|
67 |
+
"step": 70
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"epoch": 1.7877094972067038,
|
71 |
+
"grad_norm": 8.076024055480957,
|
72 |
+
"learning_rate": 2.121212121212121e-05,
|
73 |
+
"loss": 6.1201,
|
74 |
+
"step": 80
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 1.988826815642458,
|
78 |
+
"eval_accuracy": 0.5572998430141287,
|
79 |
+
"eval_loss": 5.679985046386719,
|
80 |
+
"eval_runtime": 21.9537,
|
81 |
+
"eval_samples_per_second": 58.031,
|
82 |
+
"eval_steps_per_second": 1.822,
|
83 |
+
"step": 89
|
84 |
+
},
|
85 |
+
{
|
86 |
+
"epoch": 2.011173184357542,
|
87 |
+
"grad_norm": 8.460003852844238,
|
88 |
+
"learning_rate": 1.9696969696969697e-05,
|
89 |
+
"loss": 5.8571,
|
90 |
+
"step": 90
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"epoch": 2.2346368715083798,
|
94 |
+
"grad_norm": 8.846624374389648,
|
95 |
+
"learning_rate": 1.8181818181818182e-05,
|
96 |
+
"loss": 5.5999,
|
97 |
+
"step": 100
|
98 |
+
},
|
99 |
+
{
|
100 |
+
"epoch": 2.458100558659218,
|
101 |
+
"grad_norm": 9.555537223815918,
|
102 |
+
"learning_rate": 1.6666666666666667e-05,
|
103 |
+
"loss": 5.3511,
|
104 |
+
"step": 110
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 2.6815642458100557,
|
108 |
+
"grad_norm": 9.668717384338379,
|
109 |
+
"learning_rate": 1.5151515151515153e-05,
|
110 |
+
"loss": 5.1268,
|
111 |
+
"step": 120
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 2.905027932960894,
|
115 |
+
"grad_norm": 9.954819679260254,
|
116 |
+
"learning_rate": 1.3636363636363637e-05,
|
117 |
+
"loss": 4.9094,
|
118 |
+
"step": 130
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"epoch": 2.994413407821229,
|
122 |
+
"eval_accuracy": 0.6797488226059655,
|
123 |
+
"eval_loss": 4.662096977233887,
|
124 |
+
"eval_runtime": 22.1355,
|
125 |
+
"eval_samples_per_second": 57.555,
|
126 |
+
"eval_steps_per_second": 1.807,
|
127 |
+
"step": 134
|
128 |
+
},
|
129 |
+
{
|
130 |
+
"epoch": 3.1284916201117317,
|
131 |
+
"grad_norm": 10.29443073272705,
|
132 |
+
"learning_rate": 1.2121212121212122e-05,
|
133 |
+
"loss": 4.7082,
|
134 |
+
"step": 140
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 3.35195530726257,
|
138 |
+
"grad_norm": 10.487744331359863,
|
139 |
+
"learning_rate": 1.0606060606060606e-05,
|
140 |
+
"loss": 4.5347,
|
141 |
+
"step": 150
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 3.5754189944134076,
|
145 |
+
"grad_norm": 10.81801700592041,
|
146 |
+
"learning_rate": 9.090909090909091e-06,
|
147 |
+
"loss": 4.3854,
|
148 |
+
"step": 160
|
149 |
+
},
|
150 |
+
{
|
151 |
+
"epoch": 3.798882681564246,
|
152 |
+
"grad_norm": 10.992441177368164,
|
153 |
+
"learning_rate": 7.5757575757575764e-06,
|
154 |
+
"loss": 4.2402,
|
155 |
+
"step": 170
|
156 |
},
|
157 |
{
|
158 |
"epoch": 4.0,
|
159 |
+
"eval_accuracy": 0.7472527472527473,
|
160 |
+
"eval_loss": 4.021728038787842,
|
161 |
+
"eval_runtime": 21.4694,
|
162 |
+
"eval_samples_per_second": 59.34,
|
163 |
+
"eval_steps_per_second": 1.863,
|
164 |
+
"step": 179
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"epoch": 4.022346368715084,
|
168 |
+
"grad_norm": 11.058788299560547,
|
169 |
+
"learning_rate": 6.060606060606061e-06,
|
170 |
+
"loss": 4.1213,
|
171 |
+
"step": 180
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"epoch": 4.245810055865922,
|
175 |
+
"grad_norm": 11.229594230651855,
|
176 |
+
"learning_rate": 4.5454545454545455e-06,
|
177 |
+
"loss": 4.0389,
|
178 |
+
"step": 190
|
179 |
+
},
|
180 |
+
{
|
181 |
+
"epoch": 4.4692737430167595,
|
182 |
+
"grad_norm": 11.344269752502441,
|
183 |
+
"learning_rate": 3.0303030303030305e-06,
|
184 |
+
"loss": 3.9595,
|
185 |
+
"step": 200
|
186 |
+
},
|
187 |
+
{
|
188 |
+
"epoch": 4.692737430167598,
|
189 |
+
"grad_norm": 11.231822967529297,
|
190 |
+
"learning_rate": 1.5151515151515152e-06,
|
191 |
+
"loss": 3.9156,
|
192 |
+
"step": 210
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 4.916201117318436,
|
196 |
+
"grad_norm": 11.280599594116211,
|
197 |
+
"learning_rate": 0.0,
|
198 |
+
"loss": 3.8857,
|
199 |
+
"step": 220
|
200 |
+
},
|
201 |
+
{
|
202 |
+
"epoch": 4.916201117318436,
|
203 |
+
"eval_accuracy": 0.717425431711146,
|
204 |
+
"eval_loss": 3.8197391033172607,
|
205 |
+
"eval_runtime": 21.9944,
|
206 |
+
"eval_samples_per_second": 57.924,
|
207 |
+
"eval_steps_per_second": 1.819,
|
208 |
+
"step": 220
|
209 |
+
},
|
210 |
+
{
|
211 |
+
"epoch": 4.916201117318436,
|
212 |
+
"step": 220,
|
213 |
+
"total_flos": 2.59294349617536e+17,
|
214 |
+
"train_loss": 5.575903250954368,
|
215 |
+
"train_runtime": 352.7331,
|
216 |
+
"train_samples_per_second": 81.067,
|
217 |
+
"train_steps_per_second": 0.624
|
218 |
}
|
219 |
],
|
220 |
"logging_steps": 10,
|
221 |
+
"max_steps": 220,
|
222 |
"num_input_tokens_seen": 0,
|
223 |
"num_train_epochs": 5,
|
224 |
"save_steps": 500,
|
|
|
234 |
"attributes": {}
|
235 |
}
|
236 |
},
|
237 |
+
"total_flos": 2.59294349617536e+17,
|
238 |
+
"train_batch_size": 32,
|
239 |
"trial_name": null,
|
240 |
"trial_params": null
|
241 |
}
|