Ahmedalla commited on
Commit
afb6eae
1 Parent(s): ef302af

Upload WhisperForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +164 -0
  2. generation_config.json +117 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openai/whisper-large-v2",
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
+ 50257
13
+ ],
14
+ "bos_token_id": 50257,
15
+ "classifier_proj_size": 256,
16
+ "d_model": 1280,
17
+ "decoder_attention_heads": 20,
18
+ "decoder_ffn_dim": 5120,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 32,
21
+ "decoder_start_token_id": 50258,
22
+ "dropout": 0.0,
23
+ "encoder_attention_heads": 20,
24
+ "encoder_ffn_dim": 5120,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 32,
27
+ "eos_token_id": 50257,
28
+ "forced_decoder_ids": [
29
+ [
30
+ 1,
31
+ 50259
32
+ ],
33
+ [
34
+ 2,
35
+ 50359
36
+ ],
37
+ [
38
+ 3,
39
+ 50363
40
+ ]
41
+ ],
42
+ "init_std": 0.02,
43
+ "is_encoder_decoder": true,
44
+ "mask_feature_length": 10,
45
+ "mask_feature_min_masks": 0,
46
+ "mask_feature_prob": 0.0,
47
+ "mask_time_length": 10,
48
+ "mask_time_min_masks": 2,
49
+ "mask_time_prob": 0.05,
50
+ "max_length": 448,
51
+ "max_source_positions": 1500,
52
+ "max_target_positions": 448,
53
+ "model_type": "whisper",
54
+ "num_hidden_layers": 32,
55
+ "num_mel_bins": 80,
56
+ "pad_token_id": 50257,
57
+ "quantization_config": {
58
+ "bnb_4bit_compute_dtype": "float32",
59
+ "bnb_4bit_quant_type": "fp4",
60
+ "bnb_4bit_use_double_quant": false,
61
+ "llm_int8_enable_fp32_cpu_offload": false,
62
+ "llm_int8_has_fp16_weight": false,
63
+ "llm_int8_skip_modules": null,
64
+ "llm_int8_threshold": 6.0,
65
+ "load_in_4bit": false,
66
+ "load_in_8bit": true
67
+ },
68
+ "scale_embedding": false,
69
+ "suppress_tokens": [
70
+ 1,
71
+ 2,
72
+ 7,
73
+ 8,
74
+ 9,
75
+ 10,
76
+ 14,
77
+ 25,
78
+ 26,
79
+ 27,
80
+ 28,
81
+ 29,
82
+ 31,
83
+ 58,
84
+ 59,
85
+ 60,
86
+ 61,
87
+ 62,
88
+ 63,
89
+ 90,
90
+ 91,
91
+ 92,
92
+ 93,
93
+ 359,
94
+ 503,
95
+ 522,
96
+ 542,
97
+ 873,
98
+ 893,
99
+ 902,
100
+ 918,
101
+ 922,
102
+ 931,
103
+ 1350,
104
+ 1853,
105
+ 1982,
106
+ 2460,
107
+ 2627,
108
+ 3246,
109
+ 3253,
110
+ 3268,
111
+ 3536,
112
+ 3846,
113
+ 3961,
114
+ 4183,
115
+ 4667,
116
+ 6585,
117
+ 6647,
118
+ 7273,
119
+ 9061,
120
+ 9383,
121
+ 10428,
122
+ 10929,
123
+ 11938,
124
+ 12033,
125
+ 12331,
126
+ 12562,
127
+ 13793,
128
+ 14157,
129
+ 14635,
130
+ 15265,
131
+ 15618,
132
+ 16553,
133
+ 16604,
134
+ 18362,
135
+ 18956,
136
+ 20075,
137
+ 21675,
138
+ 22520,
139
+ 26130,
140
+ 26161,
141
+ 26435,
142
+ 28279,
143
+ 29464,
144
+ 31650,
145
+ 32302,
146
+ 32470,
147
+ 36865,
148
+ 42863,
149
+ 47425,
150
+ 49870,
151
+ 50254,
152
+ 50258,
153
+ 50358,
154
+ 50359,
155
+ 50360,
156
+ 50361,
157
+ 50362
158
+ ],
159
+ "torch_dtype": "float16",
160
+ "transformers_version": "4.30.2",
161
+ "use_cache": true,
162
+ "use_weighted_layer_sum": false,
163
+ "vocab_size": 51865
164
+ }
generation_config.json ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "begin_suppress_tokens": [
4
+ 220,
5
+ 50257
6
+ ],
7
+ "bos_token_id": 50257,
8
+ "decoder_start_token_id": 50258,
9
+ "eos_token_id": 50257,
10
+ "forced_decoder_ids": [
11
+ [
12
+ 1,
13
+ 50259
14
+ ],
15
+ [
16
+ 2,
17
+ 50359
18
+ ],
19
+ [
20
+ 3,
21
+ 50363
22
+ ]
23
+ ],
24
+ "max_length": 448,
25
+ "pad_token_id": 50257,
26
+ "suppress_tokens": [
27
+ 1,
28
+ 2,
29
+ 7,
30
+ 8,
31
+ 9,
32
+ 10,
33
+ 14,
34
+ 25,
35
+ 26,
36
+ 27,
37
+ 28,
38
+ 29,
39
+ 31,
40
+ 58,
41
+ 59,
42
+ 60,
43
+ 61,
44
+ 62,
45
+ 63,
46
+ 90,
47
+ 91,
48
+ 92,
49
+ 93,
50
+ 359,
51
+ 503,
52
+ 522,
53
+ 542,
54
+ 873,
55
+ 893,
56
+ 902,
57
+ 918,
58
+ 922,
59
+ 931,
60
+ 1350,
61
+ 1853,
62
+ 1982,
63
+ 2460,
64
+ 2627,
65
+ 3246,
66
+ 3253,
67
+ 3268,
68
+ 3536,
69
+ 3846,
70
+ 3961,
71
+ 4183,
72
+ 4667,
73
+ 6585,
74
+ 6647,
75
+ 7273,
76
+ 9061,
77
+ 9383,
78
+ 10428,
79
+ 10929,
80
+ 11938,
81
+ 12033,
82
+ 12331,
83
+ 12562,
84
+ 13793,
85
+ 14157,
86
+ 14635,
87
+ 15265,
88
+ 15618,
89
+ 16553,
90
+ 16604,
91
+ 18362,
92
+ 18956,
93
+ 20075,
94
+ 21675,
95
+ 22520,
96
+ 26130,
97
+ 26161,
98
+ 26435,
99
+ 28279,
100
+ 29464,
101
+ 31650,
102
+ 32302,
103
+ 32470,
104
+ 36865,
105
+ 42863,
106
+ 47425,
107
+ 49870,
108
+ 50254,
109
+ 50258,
110
+ 50358,
111
+ 50359,
112
+ 50360,
113
+ 50361,
114
+ 50362
115
+ ],
116
+ "transformers_version": "4.30.2"
117
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:804c4dcc508887779069bfe772642845ecd39cbca99a170f477dd65baf56660e
3
+ size 1622974457