RonanMcGovern commited on
Commit
ab9f0f7
·
verified ·
1 Parent(s): e3a37b9

Upload folder using huggingface_hub

Browse files
config.json CHANGED
@@ -1,5 +1,4 @@
1
  {
2
- "_name_or_path": "openai/whisper-small",
3
  "activation_dropout": 0.0,
4
  "activation_function": "gelu",
5
  "apply_spec_augment": false,
@@ -7,10 +6,7 @@
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": 768,
@@ -20,6 +16,7 @@
20
  "decoder_layers": 12,
21
  "decoder_start_token_id": 50258,
22
  "dropout": 0.0,
 
23
  "encoder_attention_heads": 12,
24
  "encoder_ffn_dim": 3072,
25
  "encoder_layerdrop": 0.0,
@@ -47,7 +44,7 @@
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
  "median_filter_width": 7,
@@ -56,97 +53,8 @@
56
  "num_mel_bins": 80,
57
  "pad_token_id": 50257,
58
  "scale_embedding": false,
59
- "suppress_tokens": [
60
- 1,
61
- 2,
62
- 7,
63
- 8,
64
- 9,
65
- 10,
66
- 14,
67
- 25,
68
- 26,
69
- 27,
70
- 28,
71
- 29,
72
- 31,
73
- 58,
74
- 59,
75
- 60,
76
- 61,
77
- 62,
78
- 63,
79
- 90,
80
- 91,
81
- 92,
82
- 93,
83
- 359,
84
- 503,
85
- 522,
86
- 542,
87
- 873,
88
- 893,
89
- 902,
90
- 918,
91
- 922,
92
- 931,
93
- 1350,
94
- 1853,
95
- 1982,
96
- 2460,
97
- 2627,
98
- 3246,
99
- 3253,
100
- 3268,
101
- 3536,
102
- 3846,
103
- 3961,
104
- 4183,
105
- 4667,
106
- 6585,
107
- 6647,
108
- 7273,
109
- 9061,
110
- 9383,
111
- 10428,
112
- 10929,
113
- 11938,
114
- 12033,
115
- 12331,
116
- 12562,
117
- 13793,
118
- 14157,
119
- 14635,
120
- 15265,
121
- 15618,
122
- 16553,
123
- 16604,
124
- 18362,
125
- 18956,
126
- 20075,
127
- 21675,
128
- 22520,
129
- 26130,
130
- 26161,
131
- 26435,
132
- 28279,
133
- 29464,
134
- 31650,
135
- 32302,
136
- 32470,
137
- 36865,
138
- 42863,
139
- 47425,
140
- 49870,
141
- 50254,
142
- 50258,
143
- 50360,
144
- 50361,
145
- 50362
146
- ],
147
- "torch_dtype": "float32",
148
- "transformers_version": "4.37.0.dev0",
149
- "use_cache": true,
150
  "use_weighted_layer_sum": false,
151
  "vocab_size": 51865
152
  }
 
1
  {
 
2
  "activation_dropout": 0.0,
3
  "activation_function": "gelu",
4
  "apply_spec_augment": false,
 
6
  "WhisperForConditionalGeneration"
7
  ],
8
  "attention_dropout": 0.0,
9
+ "begin_suppress_tokens": null,
 
 
 
10
  "bos_token_id": 50257,
11
  "classifier_proj_size": 256,
12
  "d_model": 768,
 
16
  "decoder_layers": 12,
17
  "decoder_start_token_id": 50258,
18
  "dropout": 0.0,
19
+ "dtype": "float16",
20
  "encoder_attention_heads": 12,
21
  "encoder_ffn_dim": 3072,
22
  "encoder_layerdrop": 0.0,
 
44
  "mask_time_length": 10,
45
  "mask_time_min_masks": 2,
46
  "mask_time_prob": 0.05,
47
+ "max_length": null,
48
  "max_source_positions": 1500,
49
  "max_target_positions": 448,
50
  "median_filter_width": 7,
 
53
  "num_mel_bins": 80,
54
  "pad_token_id": 50257,
55
  "scale_embedding": false,
56
+ "transformers_version": "4.57.2",
57
+ "use_cache": false,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  "use_weighted_layer_sum": false,
59
  "vocab_size": 51865
60
  }
generation_config.json CHANGED
@@ -48,16 +48,7 @@
48
  "bos_token_id": 50257,
49
  "decoder_start_token_id": 50258,
50
  "eos_token_id": 50257,
51
- "forced_decoder_ids": [
52
- [
53
- 1,
54
- null
55
- ],
56
- [
57
- 2,
58
- 50359
59
- ]
60
- ],
61
  "is_multilingual": true,
62
  "lang_to_id": {
63
  "<|af|>": 50327,
@@ -160,10 +151,11 @@
160
  "<|yo|>": 50325,
161
  "<|zh|>": 50260
162
  },
163
- "max_initial_timestamp_index": 1,
164
  "max_length": 448,
165
  "no_timestamps_token_id": 50363,
166
  "pad_token_id": 50257,
 
167
  "return_timestamps": false,
168
  "suppress_tokens": [
169
  1,
@@ -249,8 +241,6 @@
249
  49870,
250
  50254,
251
  50258,
252
- 50358,
253
- 50359,
254
  50360,
255
  50361,
256
  50362
@@ -259,5 +249,5 @@
259
  "transcribe": 50359,
260
  "translate": 50358
261
  },
262
- "transformers_version": "4.37.0.dev0"
263
  }
 
48
  "bos_token_id": 50257,
49
  "decoder_start_token_id": 50258,
50
  "eos_token_id": 50257,
51
+ "forced_decoder_ids": null,
 
 
 
 
 
 
 
 
 
52
  "is_multilingual": true,
53
  "lang_to_id": {
54
  "<|af|>": 50327,
 
151
  "<|yo|>": 50325,
152
  "<|zh|>": 50260
153
  },
154
+ "max_initial_timestamp_index": 50,
155
  "max_length": 448,
156
  "no_timestamps_token_id": 50363,
157
  "pad_token_id": 50257,
158
+ "prev_sot_token_id": 50361,
159
  "return_timestamps": false,
160
  "suppress_tokens": [
161
  1,
 
241
  49870,
242
  50254,
243
  50258,
 
 
244
  50360,
245
  50361,
246
  50362
 
249
  "transcribe": 50359,
250
  "translate": 50358
251
  },
252
+ "transformers_version": "4.57.2"
253
  }
merges.txt CHANGED
@@ -1,4 +1,5 @@
1
  #version: 0.2
 
2
  Ġ a
3
  Ġt h
4
  i n
 
1
  #version: 0.2
2
+ Ġ t
3
  Ġ a
4
  Ġt h
5
  i n
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f7adc3357fc00a2f66b4bc34b85c301d3366da5a2be1e008ea1d1fc872e39b8f
3
- size 966995080
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3684c3e1f2fe9d95334852e512906ae1121b3c569c04267250e55f1362342be7
3
+ size 483525200
preprocessor_config.json CHANGED
@@ -1,5 +1,6 @@
1
  {
2
  "chunk_length": 30,
 
3
  "feature_extractor_type": "WhisperFeatureExtractor",
4
  "feature_size": 80,
5
  "hop_length": 160,
 
1
  {
2
  "chunk_length": 30,
3
+ "dither": 0.0,
4
  "feature_extractor_type": "WhisperFeatureExtractor",
5
  "feature_size": 80,
6
  "hop_length": 160,
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -12980,6 +12980,7 @@
12980
  "clean_up_tokenization_spaces": true,
12981
  "eos_token": "<|endoftext|>",
12982
  "errors": "replace",
 
12983
  "model_max_length": 1024,
12984
  "pad_token": "<|endoftext|>",
12985
  "processor_class": "WhisperProcessor",
 
12980
  "clean_up_tokenization_spaces": true,
12981
  "eos_token": "<|endoftext|>",
12982
  "errors": "replace",
12983
+ "extra_special_tokens": {},
12984
  "model_max_length": 1024,
12985
  "pad_token": "<|endoftext|>",
12986
  "processor_class": "WhisperProcessor",
vocab.json CHANGED
The diff for this file is too large to render. See raw diff