thiagobarbosa commited on
Commit
b2ef94e
1 Parent(s): 1c1080d

Model save

Browse files
.ipynb_checkpoints/config-checkpoint.json CHANGED
@@ -20,7 +20,7 @@
20
  "decoder_layers": 6,
21
  "decoder_start_token_id": 50258,
22
  "dropout": 0.0,
23
- "dropout_rate": 0.1,
24
  "encoder_attention_heads": 8,
25
  "encoder_ffn_dim": 2048,
26
  "encoder_layerdrop": 0.0,
@@ -57,7 +57,96 @@
57
  "num_mel_bins": 80,
58
  "pad_token_id": 50257,
59
  "scale_embedding": false,
60
- "suppress_tokens": [],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  "torch_dtype": "float32",
62
  "transformers_version": "4.36.2",
63
  "use_cache": false,
 
20
  "decoder_layers": 6,
21
  "decoder_start_token_id": 50258,
22
  "dropout": 0.0,
23
+ "dropout_rate": 0,
24
  "encoder_attention_heads": 8,
25
  "encoder_ffn_dim": 2048,
26
  "encoder_layerdrop": 0.0,
 
57
  "num_mel_bins": 80,
58
  "pad_token_id": 50257,
59
  "scale_embedding": false,
60
+ "suppress_tokens": [
61
+ 1,
62
+ 2,
63
+ 7,
64
+ 8,
65
+ 9,
66
+ 10,
67
+ 14,
68
+ 25,
69
+ 26,
70
+ 27,
71
+ 28,
72
+ 29,
73
+ 31,
74
+ 58,
75
+ 59,
76
+ 60,
77
+ 61,
78
+ 62,
79
+ 63,
80
+ 90,
81
+ 91,
82
+ 92,
83
+ 93,
84
+ 359,
85
+ 503,
86
+ 522,
87
+ 542,
88
+ 873,
89
+ 893,
90
+ 902,
91
+ 918,
92
+ 922,
93
+ 931,
94
+ 1350,
95
+ 1853,
96
+ 1982,
97
+ 2460,
98
+ 2627,
99
+ 3246,
100
+ 3253,
101
+ 3268,
102
+ 3536,
103
+ 3846,
104
+ 3961,
105
+ 4183,
106
+ 4667,
107
+ 6585,
108
+ 6647,
109
+ 7273,
110
+ 9061,
111
+ 9383,
112
+ 10428,
113
+ 10929,
114
+ 11938,
115
+ 12033,
116
+ 12331,
117
+ 12562,
118
+ 13793,
119
+ 14157,
120
+ 14635,
121
+ 15265,
122
+ 15618,
123
+ 16553,
124
+ 16604,
125
+ 18362,
126
+ 18956,
127
+ 20075,
128
+ 21675,
129
+ 22520,
130
+ 26130,
131
+ 26161,
132
+ 26435,
133
+ 28279,
134
+ 29464,
135
+ 31650,
136
+ 32302,
137
+ 32470,
138
+ 36865,
139
+ 42863,
140
+ 47425,
141
+ 49870,
142
+ 50254,
143
+ 50258,
144
+ 50358,
145
+ 50359,
146
+ 50360,
147
+ 50361,
148
+ 50362
149
+ ],
150
  "torch_dtype": "float32",
151
  "transformers_version": "4.36.2",
152
  "use_cache": false,
README.md CHANGED
@@ -8,10 +8,6 @@ metrics:
8
  model-index:
9
  - name: whisper-base-google-fleurs-pt-br
10
  results: []
11
- datasets:
12
- - google/fleurs
13
- language:
14
- - pt
15
  ---
16
 
17
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -21,9 +17,9 @@ should probably proofread and complete it, then remove this comment. -->
21
 
22
  This model is a fine-tuned version of [openai/whisper-base](https://huggingface.co/openai/whisper-base) on the None dataset.
23
  It achieves the following results on the evaluation set:
24
- - Loss: 0.4063
25
- - Wer: 21.6112
26
- - Wer Normalized: 18.0010
27
 
28
  ## Model description
29
 
@@ -42,7 +38,7 @@ More information needed
42
  ### Training hyperparameters
43
 
44
  The following hyperparameters were used during training:
45
- - learning_rate: 2.05e-05
46
  - train_batch_size: 32
47
  - eval_batch_size: 16
48
  - seed: 42
@@ -61,6 +57,9 @@ The following hyperparameters were used during training:
61
  | 0.2652 | 1.51 | 300 | 0.3872 | 21.1882 | 17.2827 |
62
  | 0.2901 | 2.01 | 400 | 0.3912 | 21.4608 | 17.7061 |
63
  | 0.1408 | 2.51 | 500 | 0.4063 | 21.6112 | 18.0010 |
 
 
 
64
 
65
 
66
  ### Framework versions
@@ -68,4 +67,4 @@ The following hyperparameters were used during training:
68
  - Transformers 4.36.2
69
  - Pytorch 2.1.1
70
  - Datasets 2.16.1
71
- - Tokenizers 0.15.0
 
8
  model-index:
9
  - name: whisper-base-google-fleurs-pt-br
10
  results: []
 
 
 
 
11
  ---
12
 
13
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
17
 
18
  This model is a fine-tuned version of [openai/whisper-base](https://huggingface.co/openai/whisper-base) on the None dataset.
19
  It achieves the following results on the evaluation set:
20
+ - Loss: 0.4270
21
+ - Wer: 22.0013
22
+ - Wer Normalized: 18.1723
23
 
24
  ## Model description
25
 
 
38
  ### Training hyperparameters
39
 
40
  The following hyperparameters were used during training:
41
+ - learning_rate: 3.05e-05
42
  - train_batch_size: 32
43
  - eval_batch_size: 16
44
  - seed: 42
 
57
  | 0.2652 | 1.51 | 300 | 0.3872 | 21.1882 | 17.2827 |
58
  | 0.2901 | 2.01 | 400 | 0.3912 | 21.4608 | 17.7061 |
59
  | 0.1408 | 2.51 | 500 | 0.4063 | 21.6112 | 18.0010 |
60
+ | 0.1428 | 3.02 | 600 | 0.4132 | 21.8650 | 18.0201 |
61
+ | 0.0839 | 3.52 | 700 | 0.4252 | 22.3679 | 18.4720 |
62
+ | 0.0906 | 4.02 | 800 | 0.4270 | 22.0013 | 18.1723 |
63
 
64
 
65
  ### Framework versions
 
67
  - Transformers 4.36.2
68
  - Pytorch 2.1.1
69
  - Datasets 2.16.1
70
+ - Tokenizers 0.15.0
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.51,
3
+ "train_loss": 0.48756390714645387,
4
+ "train_runtime": 1663.348,
5
+ "train_samples": 6340,
6
+ "train_samples_per_second": 15.391,
7
+ "train_steps_per_second": 0.481
8
+ }
config.json CHANGED
@@ -57,7 +57,96 @@
57
  "num_mel_bins": 80,
58
  "pad_token_id": 50257,
59
  "scale_embedding": false,
60
- "suppress_tokens": [],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  "torch_dtype": "float32",
62
  "transformers_version": "4.36.2",
63
  "use_cache": false,
 
57
  "num_mel_bins": 80,
58
  "pad_token_id": 50257,
59
  "scale_embedding": false,
60
+ "suppress_tokens": [
61
+ 1,
62
+ 2,
63
+ 7,
64
+ 8,
65
+ 9,
66
+ 10,
67
+ 14,
68
+ 25,
69
+ 26,
70
+ 27,
71
+ 28,
72
+ 29,
73
+ 31,
74
+ 58,
75
+ 59,
76
+ 60,
77
+ 61,
78
+ 62,
79
+ 63,
80
+ 90,
81
+ 91,
82
+ 92,
83
+ 93,
84
+ 359,
85
+ 503,
86
+ 522,
87
+ 542,
88
+ 873,
89
+ 893,
90
+ 902,
91
+ 918,
92
+ 922,
93
+ 931,
94
+ 1350,
95
+ 1853,
96
+ 1982,
97
+ 2460,
98
+ 2627,
99
+ 3246,
100
+ 3253,
101
+ 3268,
102
+ 3536,
103
+ 3846,
104
+ 3961,
105
+ 4183,
106
+ 4667,
107
+ 6585,
108
+ 6647,
109
+ 7273,
110
+ 9061,
111
+ 9383,
112
+ 10428,
113
+ 10929,
114
+ 11938,
115
+ 12033,
116
+ 12331,
117
+ 12562,
118
+ 13793,
119
+ 14157,
120
+ 14635,
121
+ 15265,
122
+ 15618,
123
+ 16553,
124
+ 16604,
125
+ 18362,
126
+ 18956,
127
+ 20075,
128
+ 21675,
129
+ 22520,
130
+ 26130,
131
+ 26161,
132
+ 26435,
133
+ 28279,
134
+ 29464,
135
+ 31650,
136
+ 32302,
137
+ 32470,
138
+ 36865,
139
+ 42863,
140
+ 47425,
141
+ 49870,
142
+ 50254,
143
+ 50258,
144
+ 50358,
145
+ 50359,
146
+ 50360,
147
+ 50361,
148
+ 50362
149
+ ],
150
  "torch_dtype": "float32",
151
  "transformers_version": "4.36.2",
152
  "use_cache": false,
runs/Jan13_19-32-57_instance-20240113-151743/events.out.tfevents.1705174381.instance-20240113-151743 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5012c3c0053a795a299c8c391ef99b18419421c5ab2a3e86731ba2557ce61408
3
+ size 9570
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.51,
3
+ "train_loss": 0.48756390714645387,
4
+ "train_runtime": 1663.348,
5
+ "train_samples": 6340,
6
+ "train_samples_per_second": 15.391,
7
+ "train_steps_per_second": 0.481
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 20.920285768001502,
3
+ "best_model_checkpoint": "./whisper-base-google-fleurs-pt-br/checkpoint-200",
4
+ "epoch": 2.5125628140703515,
5
+ "eval_steps": 100,
6
+ "global_step": 500,
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.13,
13
+ "learning_rate": 5.893749999999999e-06,
14
+ "loss": 2.004,
15
+ "step": 25
16
+ },
17
+ {
18
+ "epoch": 0.25,
19
+ "learning_rate": 1.2299999999999999e-05,
20
+ "loss": 1.1337,
21
+ "step": 50
22
+ },
23
+ {
24
+ "epoch": 0.38,
25
+ "learning_rate": 1.870625e-05,
26
+ "loss": 0.8017,
27
+ "step": 75
28
+ },
29
+ {
30
+ "epoch": 0.5,
31
+ "learning_rate": 1.99875e-05,
32
+ "loss": 0.6738,
33
+ "step": 100
34
+ },
35
+ {
36
+ "epoch": 0.5,
37
+ "eval_loss": 0.3942798376083374,
38
+ "eval_runtime": 199.2208,
39
+ "eval_samples_per_second": 4.613,
40
+ "eval_steps_per_second": 0.291,
41
+ "eval_wer": 21.73340853543899,
42
+ "eval_wer_normalized": 17.94871794871795,
43
+ "step": 100
44
+ },
45
+ {
46
+ "epoch": 0.63,
47
+ "learning_rate": 1.9275694444444445e-05,
48
+ "loss": 0.5827,
49
+ "step": 125
50
+ },
51
+ {
52
+ "epoch": 0.75,
53
+ "learning_rate": 1.8563888888888888e-05,
54
+ "loss": 0.5512,
55
+ "step": 150
56
+ },
57
+ {
58
+ "epoch": 0.88,
59
+ "learning_rate": 1.7852083333333335e-05,
60
+ "loss": 0.5489,
61
+ "step": 175
62
+ },
63
+ {
64
+ "epoch": 1.01,
65
+ "learning_rate": 1.7140277777777778e-05,
66
+ "loss": 0.4816,
67
+ "step": 200
68
+ },
69
+ {
70
+ "epoch": 1.01,
71
+ "eval_loss": 0.3761998414993286,
72
+ "eval_runtime": 198.2156,
73
+ "eval_samples_per_second": 4.636,
74
+ "eval_steps_per_second": 0.293,
75
+ "eval_wer": 20.920285768001502,
76
+ "eval_wer_normalized": 17.13524570667428,
77
+ "step": 200
78
+ },
79
+ {
80
+ "epoch": 1.13,
81
+ "learning_rate": 1.6428472222222225e-05,
82
+ "loss": 0.3379,
83
+ "step": 225
84
+ },
85
+ {
86
+ "epoch": 1.26,
87
+ "learning_rate": 1.5716666666666668e-05,
88
+ "loss": 0.3326,
89
+ "step": 250
90
+ },
91
+ {
92
+ "epoch": 1.38,
93
+ "learning_rate": 1.500486111111111e-05,
94
+ "loss": 0.2885,
95
+ "step": 275
96
+ },
97
+ {
98
+ "epoch": 1.51,
99
+ "learning_rate": 1.4293055555555555e-05,
100
+ "loss": 0.2652,
101
+ "step": 300
102
+ },
103
+ {
104
+ "epoch": 1.51,
105
+ "eval_loss": 0.3871774673461914,
106
+ "eval_runtime": 196.5558,
107
+ "eval_samples_per_second": 4.676,
108
+ "eval_steps_per_second": 0.295,
109
+ "eval_wer": 21.188193269411542,
110
+ "eval_wer_normalized": 17.282717282717282,
111
+ "step": 300
112
+ },
113
+ {
114
+ "epoch": 1.63,
115
+ "learning_rate": 1.358125e-05,
116
+ "loss": 0.2971,
117
+ "step": 325
118
+ },
119
+ {
120
+ "epoch": 1.76,
121
+ "learning_rate": 1.2869444444444445e-05,
122
+ "loss": 0.2761,
123
+ "step": 350
124
+ },
125
+ {
126
+ "epoch": 1.88,
127
+ "learning_rate": 1.215763888888889e-05,
128
+ "loss": 0.2682,
129
+ "step": 375
130
+ },
131
+ {
132
+ "epoch": 2.01,
133
+ "learning_rate": 1.1445833333333333e-05,
134
+ "loss": 0.2901,
135
+ "step": 400
136
+ },
137
+ {
138
+ "epoch": 2.01,
139
+ "eval_loss": 0.3911706209182739,
140
+ "eval_runtime": 200.4943,
141
+ "eval_samples_per_second": 4.584,
142
+ "eval_steps_per_second": 0.289,
143
+ "eval_wer": 21.460800902425266,
144
+ "eval_wer_normalized": 17.706103420389134,
145
+ "step": 400
146
+ },
147
+ {
148
+ "epoch": 2.14,
149
+ "learning_rate": 1.0734027777777778e-05,
150
+ "loss": 0.1471,
151
+ "step": 425
152
+ },
153
+ {
154
+ "epoch": 2.26,
155
+ "learning_rate": 1.0022222222222222e-05,
156
+ "loss": 0.1668,
157
+ "step": 450
158
+ },
159
+ {
160
+ "epoch": 2.39,
161
+ "learning_rate": 9.310416666666667e-06,
162
+ "loss": 0.1635,
163
+ "step": 475
164
+ },
165
+ {
166
+ "epoch": 2.51,
167
+ "learning_rate": 8.598611111111112e-06,
168
+ "loss": 0.1408,
169
+ "step": 500
170
+ },
171
+ {
172
+ "epoch": 2.51,
173
+ "eval_loss": 0.4062696099281311,
174
+ "eval_runtime": 205.1449,
175
+ "eval_samples_per_second": 4.48,
176
+ "eval_steps_per_second": 0.283,
177
+ "eval_wer": 21.611205113743186,
178
+ "eval_wer_normalized": 18.001046572475143,
179
+ "step": 500
180
+ },
181
+ {
182
+ "epoch": 2.51,
183
+ "step": 500,
184
+ "total_flos": 1.03412777877504e+18,
185
+ "train_loss": 0.48756390714645387,
186
+ "train_runtime": 1663.348,
187
+ "train_samples_per_second": 15.391,
188
+ "train_steps_per_second": 0.481
189
+ }
190
+ ],
191
+ "logging_steps": 25,
192
+ "max_steps": 800,
193
+ "num_input_tokens_seen": 0,
194
+ "num_train_epochs": 5,
195
+ "save_steps": 100,
196
+ "total_flos": 1.03412777877504e+18,
197
+ "train_batch_size": 32,
198
+ "trial_name": null,
199
+ "trial_params": null
200
+ }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1c13d80fe7e65b05fd121ddaa3246248106b55d931d19216900110889129c6a0
3
  size 4984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d60ac0f27c9a558fab576051cf409b35da692c0a6fd22dba17e6b553a1bd109f
3
  size 4984