Jungwonchang
commited on
Commit
•
44c285a
1
Parent(s):
b2cb9f7
End of training
Browse files- README.md +58 -0
- config.json +52 -0
- generation_config.json +191 -0
- model.safetensors +3 -0
- preprocessor_config.json +14 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: apache-2.0
|
5 |
+
base_model: openai/whisper-small.en
|
6 |
+
tags:
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- Jungwonchang/spgispeech_xs
|
10 |
+
model-index:
|
11 |
+
- name: openai/whisper-small.en, all the parameters updated for 5 epochs
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# openai/whisper-small.en, all the parameters updated for 5 epochs
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [openai/whisper-small.en](https://huggingface.co/openai/whisper-small.en) on the 2 hour dataset of SPGIspeech(custom dataset) dataset.
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- learning_rate: 1e-05
|
40 |
+
- train_batch_size: 32
|
41 |
+
- eval_batch_size: 16
|
42 |
+
- seed: 42
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- lr_scheduler_warmup_steps: 50
|
46 |
+
- training_steps: 120
|
47 |
+
- mixed_precision_training: Native AMP
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
+
### Framework versions
|
54 |
+
|
55 |
+
- Transformers 4.36.0.dev0
|
56 |
+
- Pytorch 1.12.1+cu116
|
57 |
+
- Datasets 2.4.0
|
58 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "openai/whisper-small.en",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"apply_spec_augment": false,
|
6 |
+
"architectures": [
|
7 |
+
"WhisperForConditionalGeneration"
|
8 |
+
],
|
9 |
+
"attention_dropout": 0.0,
|
10 |
+
"begin_suppress_tokens": [
|
11 |
+
220,
|
12 |
+
50256
|
13 |
+
],
|
14 |
+
"bos_token_id": 50257,
|
15 |
+
"classifier_proj_size": 256,
|
16 |
+
"d_model": 768,
|
17 |
+
"decoder_attention_heads": 12,
|
18 |
+
"decoder_ffn_dim": 3072,
|
19 |
+
"decoder_layerdrop": 0.0,
|
20 |
+
"decoder_layers": 12,
|
21 |
+
"decoder_start_token_id": 50257,
|
22 |
+
"dropout": 0.0,
|
23 |
+
"encoder_attention_heads": 12,
|
24 |
+
"encoder_ffn_dim": 3072,
|
25 |
+
"encoder_layerdrop": 0.0,
|
26 |
+
"encoder_layers": 12,
|
27 |
+
"eos_token_id": 50256,
|
28 |
+
"forced_decoder_ids": null,
|
29 |
+
"init_std": 0.02,
|
30 |
+
"is_encoder_decoder": true,
|
31 |
+
"mask_feature_length": 10,
|
32 |
+
"mask_feature_min_masks": 0,
|
33 |
+
"mask_feature_prob": 0.0,
|
34 |
+
"mask_time_length": 10,
|
35 |
+
"mask_time_min_masks": 2,
|
36 |
+
"mask_time_prob": 0.05,
|
37 |
+
"max_length": 448,
|
38 |
+
"max_source_positions": 1500,
|
39 |
+
"max_target_positions": 448,
|
40 |
+
"median_filter_width": 7,
|
41 |
+
"model_type": "whisper",
|
42 |
+
"num_hidden_layers": 12,
|
43 |
+
"num_mel_bins": 80,
|
44 |
+
"pad_token_id": 50256,
|
45 |
+
"scale_embedding": false,
|
46 |
+
"suppress_tokens": [],
|
47 |
+
"torch_dtype": "float32",
|
48 |
+
"transformers_version": "4.36.0.dev0",
|
49 |
+
"use_cache": false,
|
50 |
+
"use_weighted_layer_sum": false,
|
51 |
+
"vocab_size": 51864
|
52 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,191 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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,
|
61 |
+
3
|
62 |
+
],
|
63 |
+
[
|
64 |
+
10,
|
65 |
+
6
|
66 |
+
],
|
67 |
+
[
|
68 |
+
10,
|
69 |
+
11
|
70 |
+
],
|
71 |
+
[
|
72 |
+
11,
|
73 |
+
2
|
74 |
+
],
|
75 |
+
[
|
76 |
+
11,
|
77 |
+
4
|
78 |
+
]
|
79 |
+
],
|
80 |
+
"begin_suppress_tokens": [
|
81 |
+
220,
|
82 |
+
50256
|
83 |
+
],
|
84 |
+
"bos_token_id": 50257,
|
85 |
+
"decoder_start_token_id": 50257,
|
86 |
+
"eos_token_id": 50256,
|
87 |
+
"forced_decoder_ids": [
|
88 |
+
[
|
89 |
+
1,
|
90 |
+
50362
|
91 |
+
]
|
92 |
+
],
|
93 |
+
"is_multilingual": false,
|
94 |
+
"max_initial_timestamp_index": 1,
|
95 |
+
"max_length": 448,
|
96 |
+
"no_timestamps_token_id": 50362,
|
97 |
+
"pad_token_id": 50256,
|
98 |
+
"suppress_tokens": [
|
99 |
+
1,
|
100 |
+
2,
|
101 |
+
7,
|
102 |
+
8,
|
103 |
+
9,
|
104 |
+
10,
|
105 |
+
14,
|
106 |
+
25,
|
107 |
+
26,
|
108 |
+
27,
|
109 |
+
28,
|
110 |
+
29,
|
111 |
+
31,
|
112 |
+
58,
|
113 |
+
59,
|
114 |
+
60,
|
115 |
+
61,
|
116 |
+
62,
|
117 |
+
63,
|
118 |
+
90,
|
119 |
+
91,
|
120 |
+
92,
|
121 |
+
93,
|
122 |
+
357,
|
123 |
+
366,
|
124 |
+
438,
|
125 |
+
532,
|
126 |
+
685,
|
127 |
+
705,
|
128 |
+
796,
|
129 |
+
930,
|
130 |
+
1058,
|
131 |
+
1220,
|
132 |
+
1267,
|
133 |
+
1279,
|
134 |
+
1303,
|
135 |
+
1343,
|
136 |
+
1377,
|
137 |
+
1391,
|
138 |
+
1635,
|
139 |
+
1782,
|
140 |
+
1875,
|
141 |
+
2162,
|
142 |
+
2361,
|
143 |
+
2488,
|
144 |
+
3467,
|
145 |
+
4008,
|
146 |
+
4211,
|
147 |
+
4600,
|
148 |
+
4808,
|
149 |
+
5299,
|
150 |
+
5855,
|
151 |
+
6329,
|
152 |
+
7203,
|
153 |
+
9609,
|
154 |
+
9959,
|
155 |
+
10563,
|
156 |
+
10786,
|
157 |
+
11420,
|
158 |
+
11709,
|
159 |
+
11907,
|
160 |
+
13163,
|
161 |
+
13697,
|
162 |
+
13700,
|
163 |
+
14808,
|
164 |
+
15306,
|
165 |
+
16410,
|
166 |
+
16791,
|
167 |
+
17992,
|
168 |
+
19203,
|
169 |
+
19510,
|
170 |
+
20724,
|
171 |
+
22305,
|
172 |
+
22935,
|
173 |
+
27007,
|
174 |
+
30109,
|
175 |
+
30420,
|
176 |
+
33409,
|
177 |
+
34949,
|
178 |
+
40283,
|
179 |
+
40493,
|
180 |
+
40549,
|
181 |
+
47282,
|
182 |
+
49146,
|
183 |
+
50257,
|
184 |
+
50357,
|
185 |
+
50358,
|
186 |
+
50359,
|
187 |
+
50360,
|
188 |
+
50361
|
189 |
+
],
|
190 |
+
"transformers_version": "4.36.0.dev0"
|
191 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5d78fdf06387d2a0f617e81e1a9d5e53e8ac186af259b2f112110e77b4c6c507
|
3 |
+
size 966992008
|
preprocessor_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"chunk_length": 30,
|
3 |
+
"feature_extractor_type": "WhisperFeatureExtractor",
|
4 |
+
"feature_size": 80,
|
5 |
+
"hop_length": 160,
|
6 |
+
"n_fft": 400,
|
7 |
+
"n_samples": 480000,
|
8 |
+
"nb_max_frames": 3000,
|
9 |
+
"padding_side": "right",
|
10 |
+
"padding_value": 0.0,
|
11 |
+
"processor_class": "WhisperProcessor",
|
12 |
+
"return_attention_mask": false,
|
13 |
+
"sampling_rate": 16000
|
14 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1e5e0b516195b0da86bb8bda0f295c0438dc48dbc4a0aefc78fd4ce165c5b4be
|
3 |
+
size 4399
|