Narsil HF staff commited on
Commit
541d169
1 Parent(s): 4be554b

Revert "Making the vocab_size match the tokenizer vocab_size."

Browse files

This reverts commit 4be554b688adafe9150c78e37eea31d0bdf6c8ed.

Files changed (1) hide show
  1. config.json +287 -287
config.json CHANGED
@@ -1,294 +1,294 @@
1
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  "initializer_factor": 1.0,
3
- "logit_scale_init_value": 2.6592,
4
- "model_type": "clip",
5
- "projection_dim": 64,
6
- "text_config": {
7
- "_name_or_path": "",
8
- "add_cross_attention": false,
9
- "architectures": null,
10
- "attention_dropout": 0.1,
11
- "bad_words_ids": null,
12
- "bos_token_id": 0,
13
- "chunk_size_feed_forward": 0,
14
- "decoder_start_token_id": null,
15
- "diversity_penalty": 0.0,
16
- "do_sample": false,
17
- "dropout": 0.1,
18
- "early_stopping": false,
19
- "encoder_no_repeat_ngram_size": 0,
20
- "eos_token_id": 2,
21
- "finetuning_task": null,
22
- "forced_bos_token_id": null,
23
- "forced_eos_token_id": null,
24
- "gradient_checkpointing": false,
25
- "hidden_act": "quick_gelu",
26
- "hidden_size": 32,
27
- "id2label": {
28
- "0": "LABEL_0",
29
- "1": "LABEL_1"
30
- },
31
- "initializer_factor": 1.0,
32
- "initializer_range": 0.02,
33
- "intermediate_size": 37,
34
- "is_decoder": false,
35
- "is_encoder_decoder": false,
36
- "label2id": {
37
- "LABEL_0": 0,
38
- "LABEL_1": 1
39
- },
40
- "layer_norm_eps": 1e-5,
41
- "length_penalty": 1.0,
42
- "max_length": 20,
43
- "max_position_embeddings": 512,
44
- "min_length": 0,
45
- "model_type": "clip_text_model",
46
- "no_repeat_ngram_size": 0,
47
- "num_attention_heads": 4,
48
- "num_beam_groups": 1,
49
- "num_beams": 1,
50
- "num_hidden_layers": 5,
51
- "num_return_sequences": 1,
52
- "output_attentions": false,
53
- "output_hidden_states": false,
54
- "output_scores": false,
55
- "pad_token_id": 1,
56
- "prefix": null,
57
- "problem_type": null,
58
- "pruned_heads": {},
59
- "remove_invalid_values": false,
60
- "repetition_penalty": 1.0,
61
- "return_dict": true,
62
- "return_dict_in_generate": false,
63
- "sep_token_id": null,
64
- "task_specific_params": null,
65
- "temperature": 1.0,
66
- "tie_encoder_decoder": false,
67
- "tie_word_embeddings": true,
68
- "tokenizer_class": null,
69
- "top_k": 50,
70
- "top_p": 1.0,
71
- "torch_dtype": null,
72
- "torchscript": false,
73
- "transformers_version": "4.11.0.dev0",
74
- "use_bfloat16": false,
75
- "vocab_size": 1000
76
  },
77
- "text_config_dict": {
78
- "_name_or_path": "",
79
- "add_cross_attention": false,
80
- "architectures": null,
81
- "attention_dropout": 0.1,
82
- "bad_words_ids": null,
83
- "bos_token_id": 0,
84
- "chunk_size_feed_forward": 0,
85
- "decoder_start_token_id": null,
86
- "diversity_penalty": 0.0,
87
- "do_sample": false,
88
- "dropout": 0.1,
89
- "early_stopping": false,
90
- "encoder_no_repeat_ngram_size": 0,
91
- "eos_token_id": 2,
92
- "finetuning_task": null,
93
- "forced_bos_token_id": null,
94
- "forced_eos_token_id": null,
95
- "gradient_checkpointing": false,
96
- "hidden_act": "quick_gelu",
97
- "hidden_size": 32,
98
- "id2label": {
99
- "0": "LABEL_0",
100
- "1": "LABEL_1"
101
- },
102
- "initializer_factor": 1.0,
103
- "initializer_range": 0.02,
104
- "intermediate_size": 37,
105
- "is_decoder": false,
106
- "is_encoder_decoder": false,
107
- "label2id": {
108
- "LABEL_0": 0,
109
- "LABEL_1": 1
110
- },
111
- "layer_norm_eps": 1e-5,
112
- "length_penalty": 1.0,
113
- "max_length": 20,
114
- "max_position_embeddings": 512,
115
- "min_length": 0,
116
- "model_type": "clip_text_model",
117
- "no_repeat_ngram_size": 0,
118
- "num_attention_heads": 4,
119
- "num_beam_groups": 1,
120
- "num_beams": 1,
121
- "num_hidden_layers": 5,
122
- "num_return_sequences": 1,
123
- "output_attentions": false,
124
- "output_hidden_states": false,
125
- "output_scores": false,
126
- "pad_token_id": 1,
127
- "prefix": null,
128
- "problem_type": null,
129
- "pruned_heads": {},
130
- "remove_invalid_values": false,
131
- "repetition_penalty": 1.0,
132
- "return_dict": true,
133
- "return_dict_in_generate": false,
134
- "sep_token_id": null,
135
- "task_specific_params": null,
136
- "temperature": 1.0,
137
- "tie_encoder_decoder": false,
138
- "tie_word_embeddings": true,
139
- "tokenizer_class": null,
140
- "top_k": 50,
141
- "top_p": 1.0,
142
- "torch_dtype": null,
143
- "torchscript": false,
144
- "transformers_version": "4.11.0.dev0",
145
- "use_bfloat16": false,
146
- "vocab_size": 1000
147
  },
148
- "transformers_version": null,
149
- "vision_config": {
150
- "_name_or_path": "",
151
- "add_cross_attention": false,
152
- "architectures": null,
153
- "attention_dropout": 0.1,
154
- "bad_words_ids": null,
155
- "bos_token_id": null,
156
- "chunk_size_feed_forward": 0,
157
- "decoder_start_token_id": null,
158
- "diversity_penalty": 0.0,
159
- "do_sample": false,
160
- "dropout": 0.1,
161
- "early_stopping": false,
162
- "encoder_no_repeat_ngram_size": 0,
163
- "eos_token_id": null,
164
- "finetuning_task": null,
165
- "forced_bos_token_id": null,
166
- "forced_eos_token_id": null,
167
- "gradient_checkpointing": false,
168
- "hidden_act": "quick_gelu",
169
- "hidden_size": 32,
170
- "id2label": {
171
- "0": "LABEL_0",
172
- "1": "LABEL_1"
173
- },
174
- "image_size": 30,
175
- "initializer_factor": 1.0,
176
- "initializer_range": 0.02,
177
- "intermediate_size": 37,
178
- "is_decoder": false,
179
- "is_encoder_decoder": false,
180
- "label2id": {
181
- "LABEL_0": 0,
182
- "LABEL_1": 1
183
- },
184
- "layer_norm_eps": 1e-5,
185
- "length_penalty": 1.0,
186
- "max_length": 20,
187
- "min_length": 0,
188
- "model_type": "clip_vision_model",
189
- "no_repeat_ngram_size": 0,
190
- "num_attention_heads": 4,
191
- "num_beam_groups": 1,
192
- "num_beams": 1,
193
- "num_channels": 3,
194
- "num_hidden_layers": 5,
195
- "num_return_sequences": 1,
196
- "output_attentions": false,
197
- "output_hidden_states": false,
198
- "output_scores": false,
199
- "pad_token_id": null,
200
- "patch_size": 2,
201
- "prefix": null,
202
- "problem_type": null,
203
- "pruned_heads": {},
204
- "remove_invalid_values": false,
205
- "repetition_penalty": 1.0,
206
- "return_dict": true,
207
- "return_dict_in_generate": false,
208
- "sep_token_id": null,
209
- "task_specific_params": null,
210
- "temperature": 1.0,
211
- "tie_encoder_decoder": false,
212
- "tie_word_embeddings": true,
213
- "tokenizer_class": null,
214
- "top_k": 50,
215
- "top_p": 1.0,
216
- "torch_dtype": null,
217
- "torchscript": false,
218
- "transformers_version": "4.11.0.dev0",
219
- "use_bfloat16": false
220
  },
221
- "vision_config_dict": {
222
- "_name_or_path": "",
223
- "add_cross_attention": false,
224
- "architectures": null,
225
- "attention_dropout": 0.1,
226
- "bad_words_ids": null,
227
- "bos_token_id": null,
228
- "chunk_size_feed_forward": 0,
229
- "decoder_start_token_id": null,
230
- "diversity_penalty": 0.0,
231
- "do_sample": false,
232
- "dropout": 0.1,
233
- "early_stopping": false,
234
- "encoder_no_repeat_ngram_size": 0,
235
- "eos_token_id": null,
236
- "finetuning_task": null,
237
- "forced_bos_token_id": null,
238
- "forced_eos_token_id": null,
239
- "gradient_checkpointing": false,
240
- "hidden_act": "quick_gelu",
241
- "hidden_size": 32,
242
- "id2label": {
243
- "0": "LABEL_0",
244
- "1": "LABEL_1"
245
- },
246
- "image_size": 30,
247
- "initializer_factor": 1.0,
248
- "initializer_range": 0.02,
249
- "intermediate_size": 37,
250
- "is_decoder": false,
251
- "is_encoder_decoder": false,
252
- "label2id": {
253
- "LABEL_0": 0,
254
- "LABEL_1": 1
255
- },
256
- "layer_norm_eps": 1e-5,
257
- "length_penalty": 1.0,
258
- "max_length": 20,
259
- "min_length": 0,
260
- "model_type": "clip_vision_model",
261
- "no_repeat_ngram_size": 0,
262
- "num_attention_heads": 4,
263
- "num_beam_groups": 1,
264
- "num_beams": 1,
265
- "num_channels": 3,
266
- "num_hidden_layers": 5,
267
- "num_return_sequences": 1,
268
- "output_attentions": false,
269
- "output_hidden_states": false,
270
- "output_scores": false,
271
- "pad_token_id": null,
272
- "patch_size": 2,
273
- "prefix": null,
274
- "problem_type": null,
275
- "pruned_heads": {},
276
- "remove_invalid_values": false,
277
- "repetition_penalty": 1.0,
278
- "return_dict": true,
279
- "return_dict_in_generate": false,
280
- "sep_token_id": null,
281
- "task_specific_params": null,
282
- "temperature": 1.0,
283
- "tie_encoder_decoder": false,
284
- "tie_word_embeddings": true,
285
- "tokenizer_class": null,
286
- "top_k": 50,
287
- "top_p": 1.0,
288
- "torch_dtype": null,
289
- "torchscript": false,
290
- "transformers_version": "4.11.0.dev0",
291
- "use_bfloat16": false
 
 
 
 
 
 
 
 
 
 
292
  },
293
- "vocab_size": 1000
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
294
  }
 
1
  {
2
+ "initializer_factor": 1.0,
3
+ "logit_scale_init_value": 2.6592,
4
+ "model_type": "clip",
5
+ "projection_dim": 64,
6
+ "text_config": {
7
+ "_name_or_path": "",
8
+ "add_cross_attention": false,
9
+ "architectures": null,
10
+ "attention_dropout": 0.1,
11
+ "bad_words_ids": null,
12
+ "bos_token_id": 0,
13
+ "chunk_size_feed_forward": 0,
14
+ "decoder_start_token_id": null,
15
+ "diversity_penalty": 0.0,
16
+ "do_sample": false,
17
+ "dropout": 0.1,
18
+ "early_stopping": false,
19
+ "encoder_no_repeat_ngram_size": 0,
20
+ "eos_token_id": 2,
21
+ "finetuning_task": null,
22
+ "forced_bos_token_id": null,
23
+ "forced_eos_token_id": null,
24
+ "gradient_checkpointing": false,
25
+ "hidden_act": "quick_gelu",
26
+ "hidden_size": 32,
27
+ "id2label": {
28
+ "0": "LABEL_0",
29
+ "1": "LABEL_1"
30
+ },
31
  "initializer_factor": 1.0,
32
+ "initializer_range": 0.02,
33
+ "intermediate_size": 37,
34
+ "is_decoder": false,
35
+ "is_encoder_decoder": false,
36
+ "label2id": {
37
+ "LABEL_0": 0,
38
+ "LABEL_1": 1
39
+ },
40
+ "layer_norm_eps": 1e-05,
41
+ "length_penalty": 1.0,
42
+ "max_length": 20,
43
+ "max_position_embeddings": 512,
44
+ "min_length": 0,
45
+ "model_type": "clip_text_model",
46
+ "no_repeat_ngram_size": 0,
47
+ "num_attention_heads": 4,
48
+ "num_beam_groups": 1,
49
+ "num_beams": 1,
50
+ "num_hidden_layers": 5,
51
+ "num_return_sequences": 1,
52
+ "output_attentions": false,
53
+ "output_hidden_states": false,
54
+ "output_scores": false,
55
+ "pad_token_id": 1,
56
+ "prefix": null,
57
+ "problem_type": null,
58
+ "pruned_heads": {},
59
+ "remove_invalid_values": false,
60
+ "repetition_penalty": 1.0,
61
+ "return_dict": true,
62
+ "return_dict_in_generate": false,
63
+ "sep_token_id": null,
64
+ "task_specific_params": null,
65
+ "temperature": 1.0,
66
+ "tie_encoder_decoder": false,
67
+ "tie_word_embeddings": true,
68
+ "tokenizer_class": null,
69
+ "top_k": 50,
70
+ "top_p": 1.0,
71
+ "torch_dtype": null,
72
+ "torchscript": false,
73
+ "transformers_version": "4.11.0.dev0",
74
+ "use_bfloat16": false,
75
+ "vocab_size": 99
76
+ },
77
+ "text_config_dict": {
78
+ "_name_or_path": "",
79
+ "add_cross_attention": false,
80
+ "architectures": null,
81
+ "attention_dropout": 0.1,
82
+ "bad_words_ids": null,
83
+ "bos_token_id": 0,
84
+ "chunk_size_feed_forward": 0,
85
+ "decoder_start_token_id": null,
86
+ "diversity_penalty": 0.0,
87
+ "do_sample": false,
88
+ "dropout": 0.1,
89
+ "early_stopping": false,
90
+ "encoder_no_repeat_ngram_size": 0,
91
+ "eos_token_id": 2,
92
+ "finetuning_task": null,
93
+ "forced_bos_token_id": null,
94
+ "forced_eos_token_id": null,
95
+ "gradient_checkpointing": false,
96
+ "hidden_act": "quick_gelu",
97
+ "hidden_size": 32,
98
+ "id2label": {
99
+ "0": "LABEL_0",
100
+ "1": "LABEL_1"
 
 
 
 
101
  },
102
+ "initializer_factor": 1.0,
103
+ "initializer_range": 0.02,
104
+ "intermediate_size": 37,
105
+ "is_decoder": false,
106
+ "is_encoder_decoder": false,
107
+ "label2id": {
108
+ "LABEL_0": 0,
109
+ "LABEL_1": 1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  },
111
+ "layer_norm_eps": 1e-05,
112
+ "length_penalty": 1.0,
113
+ "max_length": 20,
114
+ "max_position_embeddings": 512,
115
+ "min_length": 0,
116
+ "model_type": "clip_text_model",
117
+ "no_repeat_ngram_size": 0,
118
+ "num_attention_heads": 4,
119
+ "num_beam_groups": 1,
120
+ "num_beams": 1,
121
+ "num_hidden_layers": 5,
122
+ "num_return_sequences": 1,
123
+ "output_attentions": false,
124
+ "output_hidden_states": false,
125
+ "output_scores": false,
126
+ "pad_token_id": 1,
127
+ "prefix": null,
128
+ "problem_type": null,
129
+ "pruned_heads": {},
130
+ "remove_invalid_values": false,
131
+ "repetition_penalty": 1.0,
132
+ "return_dict": true,
133
+ "return_dict_in_generate": false,
134
+ "sep_token_id": null,
135
+ "task_specific_params": null,
136
+ "temperature": 1.0,
137
+ "tie_encoder_decoder": false,
138
+ "tie_word_embeddings": true,
139
+ "tokenizer_class": null,
140
+ "top_k": 50,
141
+ "top_p": 1.0,
142
+ "torch_dtype": null,
143
+ "torchscript": false,
144
+ "transformers_version": "4.11.0.dev0",
145
+ "use_bfloat16": false,
146
+ "vocab_size": 99
147
+ },
148
+ "transformers_version": null,
149
+ "vision_config": {
150
+ "_name_or_path": "",
151
+ "add_cross_attention": false,
152
+ "architectures": null,
153
+ "attention_dropout": 0.1,
154
+ "bad_words_ids": null,
155
+ "bos_token_id": null,
156
+ "chunk_size_feed_forward": 0,
157
+ "decoder_start_token_id": null,
158
+ "diversity_penalty": 0.0,
159
+ "do_sample": false,
160
+ "dropout": 0.1,
161
+ "early_stopping": false,
162
+ "encoder_no_repeat_ngram_size": 0,
163
+ "eos_token_id": null,
164
+ "finetuning_task": null,
165
+ "forced_bos_token_id": null,
166
+ "forced_eos_token_id": null,
167
+ "gradient_checkpointing": false,
168
+ "hidden_act": "quick_gelu",
169
+ "hidden_size": 32,
170
+ "id2label": {
171
+ "0": "LABEL_0",
172
+ "1": "LABEL_1"
 
 
 
 
 
 
 
 
 
 
173
  },
174
+ "image_size": 30,
175
+ "initializer_factor": 1.0,
176
+ "initializer_range": 0.02,
177
+ "intermediate_size": 37,
178
+ "is_decoder": false,
179
+ "is_encoder_decoder": false,
180
+ "label2id": {
181
+ "LABEL_0": 0,
182
+ "LABEL_1": 1
183
+ },
184
+ "layer_norm_eps": 1e-05,
185
+ "length_penalty": 1.0,
186
+ "max_length": 20,
187
+ "min_length": 0,
188
+ "model_type": "clip_vision_model",
189
+ "no_repeat_ngram_size": 0,
190
+ "num_attention_heads": 4,
191
+ "num_beam_groups": 1,
192
+ "num_beams": 1,
193
+ "num_channels": 3,
194
+ "num_hidden_layers": 5,
195
+ "num_return_sequences": 1,
196
+ "output_attentions": false,
197
+ "output_hidden_states": false,
198
+ "output_scores": false,
199
+ "pad_token_id": null,
200
+ "patch_size": 2,
201
+ "prefix": null,
202
+ "problem_type": null,
203
+ "pruned_heads": {},
204
+ "remove_invalid_values": false,
205
+ "repetition_penalty": 1.0,
206
+ "return_dict": true,
207
+ "return_dict_in_generate": false,
208
+ "sep_token_id": null,
209
+ "task_specific_params": null,
210
+ "temperature": 1.0,
211
+ "tie_encoder_decoder": false,
212
+ "tie_word_embeddings": true,
213
+ "tokenizer_class": null,
214
+ "top_k": 50,
215
+ "top_p": 1.0,
216
+ "torch_dtype": null,
217
+ "torchscript": false,
218
+ "transformers_version": "4.11.0.dev0",
219
+ "use_bfloat16": false
220
+ },
221
+ "vision_config_dict": {
222
+ "_name_or_path": "",
223
+ "add_cross_attention": false,
224
+ "architectures": null,
225
+ "attention_dropout": 0.1,
226
+ "bad_words_ids": null,
227
+ "bos_token_id": null,
228
+ "chunk_size_feed_forward": 0,
229
+ "decoder_start_token_id": null,
230
+ "diversity_penalty": 0.0,
231
+ "do_sample": false,
232
+ "dropout": 0.1,
233
+ "early_stopping": false,
234
+ "encoder_no_repeat_ngram_size": 0,
235
+ "eos_token_id": null,
236
+ "finetuning_task": null,
237
+ "forced_bos_token_id": null,
238
+ "forced_eos_token_id": null,
239
+ "gradient_checkpointing": false,
240
+ "hidden_act": "quick_gelu",
241
+ "hidden_size": 32,
242
+ "id2label": {
243
+ "0": "LABEL_0",
244
+ "1": "LABEL_1"
245
+ },
246
+ "image_size": 30,
247
+ "initializer_factor": 1.0,
248
+ "initializer_range": 0.02,
249
+ "intermediate_size": 37,
250
+ "is_decoder": false,
251
+ "is_encoder_decoder": false,
252
+ "label2id": {
253
+ "LABEL_0": 0,
254
+ "LABEL_1": 1
255
  },
256
+ "layer_norm_eps": 1e-05,
257
+ "length_penalty": 1.0,
258
+ "max_length": 20,
259
+ "min_length": 0,
260
+ "model_type": "clip_vision_model",
261
+ "no_repeat_ngram_size": 0,
262
+ "num_attention_heads": 4,
263
+ "num_beam_groups": 1,
264
+ "num_beams": 1,
265
+ "num_channels": 3,
266
+ "num_hidden_layers": 5,
267
+ "num_return_sequences": 1,
268
+ "output_attentions": false,
269
+ "output_hidden_states": false,
270
+ "output_scores": false,
271
+ "pad_token_id": null,
272
+ "patch_size": 2,
273
+ "prefix": null,
274
+ "problem_type": null,
275
+ "pruned_heads": {},
276
+ "remove_invalid_values": false,
277
+ "repetition_penalty": 1.0,
278
+ "return_dict": true,
279
+ "return_dict_in_generate": false,
280
+ "sep_token_id": null,
281
+ "task_specific_params": null,
282
+ "temperature": 1.0,
283
+ "tie_encoder_decoder": false,
284
+ "tie_word_embeddings": true,
285
+ "tokenizer_class": null,
286
+ "top_k": 50,
287
+ "top_p": 1.0,
288
+ "torch_dtype": null,
289
+ "torchscript": false,
290
+ "transformers_version": "4.11.0.dev0",
291
+ "use_bfloat16": false
292
+ },
293
+ "vocab_size": 1000
294
  }