sshalini6 commited on
Commit
5bf35a5
·
1 Parent(s): 5552660

Upload WhisperForConditionalGeneration

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