lewtun HF staff commited on
Commit
9035d53
1 Parent(s): 9e679c4

Upload model

Browse files
Files changed (2) hide show
  1. config.json +150 -4
  2. pytorch_model.bin +1 -1
config.json CHANGED
@@ -1,6 +1,5 @@
1
  {
2
- "_commit_hash": "f4881ba48ee4d21b7ed5602603b9e3e92eb1b346",
3
- "_name_or_path": "hf-internal-testing/tiny-random-clip",
4
  "architectures": [
5
  "CLIPModel"
6
  ],
@@ -82,7 +81,80 @@
82
  "use_bfloat16": false,
83
  "vocab_size": 49408
84
  },
85
- "text_config_dict": null,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
  "torch_dtype": "float32",
87
  "transformers_version": null,
88
  "vision_config": {
@@ -160,5 +232,79 @@
160
  "typical_p": 1.0,
161
  "use_bfloat16": false
162
  },
163
- "vision_config_dict": null
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
164
  }
 
1
  {
2
+ "_commit_hash": null,
 
3
  "architectures": [
4
  "CLIPModel"
5
  ],
 
81
  "use_bfloat16": false,
82
  "vocab_size": 49408
83
  },
84
+ "text_config_dict": {
85
+ "_name_or_path": "",
86
+ "add_cross_attention": false,
87
+ "architectures": null,
88
+ "attention_dropout": 0.0,
89
+ "bad_words_ids": null,
90
+ "bos_token_id": 0,
91
+ "chunk_size_feed_forward": 0,
92
+ "cross_attention_hidden_size": null,
93
+ "decoder_start_token_id": null,
94
+ "diversity_penalty": 0.0,
95
+ "do_sample": false,
96
+ "dropout": 0.0,
97
+ "early_stopping": false,
98
+ "encoder_no_repeat_ngram_size": 0,
99
+ "eos_token_id": 2,
100
+ "exponential_decay_length_penalty": null,
101
+ "finetuning_task": null,
102
+ "forced_bos_token_id": null,
103
+ "forced_eos_token_id": null,
104
+ "hidden_act": "quick_gelu",
105
+ "hidden_size": 32,
106
+ "id2label": {
107
+ "0": "LABEL_0",
108
+ "1": "LABEL_1"
109
+ },
110
+ "initializer_factor": 1.0,
111
+ "initializer_range": 0.02,
112
+ "intermediate_size": 37,
113
+ "is_decoder": false,
114
+ "is_encoder_decoder": false,
115
+ "label2id": {
116
+ "LABEL_0": 0,
117
+ "LABEL_1": 1
118
+ },
119
+ "layer_norm_eps": 1e-05,
120
+ "length_penalty": 1.0,
121
+ "max_length": 20,
122
+ "max_position_embeddings": 77,
123
+ "min_length": 0,
124
+ "model_type": "clip_text_model",
125
+ "no_repeat_ngram_size": 0,
126
+ "num_attention_heads": 4,
127
+ "num_beam_groups": 1,
128
+ "num_beams": 1,
129
+ "num_hidden_layers": 5,
130
+ "num_return_sequences": 1,
131
+ "output_attentions": false,
132
+ "output_hidden_states": false,
133
+ "output_scores": false,
134
+ "pad_token_id": 1,
135
+ "prefix": null,
136
+ "problem_type": null,
137
+ "pruned_heads": {},
138
+ "remove_invalid_values": false,
139
+ "repetition_penalty": 1.0,
140
+ "return_dict": true,
141
+ "return_dict_in_generate": false,
142
+ "sep_token_id": null,
143
+ "task_specific_params": null,
144
+ "temperature": 1.0,
145
+ "tf_legacy_loss": false,
146
+ "tie_encoder_decoder": false,
147
+ "tie_word_embeddings": true,
148
+ "tokenizer_class": null,
149
+ "top_k": 50,
150
+ "top_p": 1.0,
151
+ "torch_dtype": null,
152
+ "torchscript": false,
153
+ "transformers_version": "4.22.0.dev0",
154
+ "typical_p": 1.0,
155
+ "use_bfloat16": false,
156
+ "vocab_size": 49408
157
+ },
158
  "torch_dtype": "float32",
159
  "transformers_version": null,
160
  "vision_config": {
 
232
  "typical_p": 1.0,
233
  "use_bfloat16": false
234
  },
235
+ "vision_config_dict": {
236
+ "_name_or_path": "",
237
+ "add_cross_attention": false,
238
+ "architectures": null,
239
+ "attention_dropout": 0.0,
240
+ "bad_words_ids": null,
241
+ "bos_token_id": null,
242
+ "chunk_size_feed_forward": 0,
243
+ "cross_attention_hidden_size": null,
244
+ "decoder_start_token_id": null,
245
+ "diversity_penalty": 0.0,
246
+ "do_sample": false,
247
+ "dropout": 0.0,
248
+ "early_stopping": false,
249
+ "encoder_no_repeat_ngram_size": 0,
250
+ "eos_token_id": null,
251
+ "exponential_decay_length_penalty": null,
252
+ "finetuning_task": null,
253
+ "forced_bos_token_id": null,
254
+ "forced_eos_token_id": null,
255
+ "hidden_act": "quick_gelu",
256
+ "hidden_size": 32,
257
+ "id2label": {
258
+ "0": "LABEL_0",
259
+ "1": "LABEL_1"
260
+ },
261
+ "image_size": 30,
262
+ "initializer_factor": 1.0,
263
+ "initializer_range": 0.02,
264
+ "intermediate_size": 37,
265
+ "is_decoder": false,
266
+ "is_encoder_decoder": false,
267
+ "label2id": {
268
+ "LABEL_0": 0,
269
+ "LABEL_1": 1
270
+ },
271
+ "layer_norm_eps": 1e-05,
272
+ "length_penalty": 1.0,
273
+ "max_length": 20,
274
+ "min_length": 0,
275
+ "model_type": "clip_vision_model",
276
+ "no_repeat_ngram_size": 0,
277
+ "num_attention_heads": 4,
278
+ "num_beam_groups": 1,
279
+ "num_beams": 1,
280
+ "num_channels": 3,
281
+ "num_hidden_layers": 5,
282
+ "num_return_sequences": 1,
283
+ "output_attentions": false,
284
+ "output_hidden_states": false,
285
+ "output_scores": false,
286
+ "pad_token_id": null,
287
+ "patch_size": 2,
288
+ "prefix": null,
289
+ "problem_type": null,
290
+ "pruned_heads": {},
291
+ "remove_invalid_values": false,
292
+ "repetition_penalty": 1.0,
293
+ "return_dict": true,
294
+ "return_dict_in_generate": false,
295
+ "sep_token_id": null,
296
+ "task_specific_params": null,
297
+ "temperature": 1.0,
298
+ "tf_legacy_loss": false,
299
+ "tie_encoder_decoder": false,
300
+ "tie_word_embeddings": true,
301
+ "tokenizer_class": null,
302
+ "top_k": 50,
303
+ "top_p": 1.0,
304
+ "torch_dtype": null,
305
+ "torchscript": false,
306
+ "transformers_version": "4.22.0.dev0",
307
+ "typical_p": 1.0,
308
+ "use_bfloat16": false
309
+ }
310
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5f387c934f6673d543e880703aed70be4953839887d154286a1d12721edf4569
3
  size 6711073
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2cd430b5485c1609f4502b8d803019acd6a2d849cf838b86a6583281a0f5d7bb
3
  size 6711073