lewtun HF Staff commited on
Commit
56c9b69
·
1 Parent(s): a63dc40

Upload model

Browse files
Files changed (2) hide show
  1. config.json +171 -4
  2. pytorch_model.bin +1 -1
config.json CHANGED
@@ -1,6 +1,5 @@
1
  {
2
- "_commit_hash": "fd613a6633497e83b16be6ddba17644151c44218",
3
- "_name_or_path": "hf-internal-testing/tiny-random-groupvit",
4
  "architectures": [
5
  "GroupViTModel"
6
  ],
@@ -85,7 +84,80 @@
85
  "use_bfloat16": false,
86
  "vocab_size": 99
87
  },
88
- "text_config_dict": null,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  "torch_dtype": "float32",
90
  "transformers_version": null,
91
  "vision_config": {
@@ -184,5 +256,100 @@
184
  "typical_p": 1.0,
185
  "use_bfloat16": false
186
  },
187
- "vision_config_dict": null
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
188
  }
 
1
  {
2
+ "_commit_hash": null,
 
3
  "architectures": [
4
  "GroupViTModel"
5
  ],
 
84
  "use_bfloat16": false,
85
  "vocab_size": 99
86
  },
87
+ "text_config_dict": {
88
+ "_name_or_path": "",
89
+ "add_cross_attention": false,
90
+ "architectures": null,
91
+ "attention_dropout": 0.0,
92
+ "bad_words_ids": null,
93
+ "bos_token_id": 0,
94
+ "chunk_size_feed_forward": 0,
95
+ "cross_attention_hidden_size": null,
96
+ "decoder_start_token_id": null,
97
+ "diversity_penalty": 0.0,
98
+ "do_sample": false,
99
+ "dropout": 0.0,
100
+ "early_stopping": false,
101
+ "encoder_no_repeat_ngram_size": 0,
102
+ "eos_token_id": 2,
103
+ "exponential_decay_length_penalty": null,
104
+ "finetuning_task": null,
105
+ "forced_bos_token_id": null,
106
+ "forced_eos_token_id": null,
107
+ "hidden_act": "quick_gelu",
108
+ "hidden_size": 32,
109
+ "id2label": {
110
+ "0": "LABEL_0",
111
+ "1": "LABEL_1"
112
+ },
113
+ "initializer_factor": 1.0,
114
+ "initializer_range": 0.02,
115
+ "intermediate_size": 37,
116
+ "is_decoder": false,
117
+ "is_encoder_decoder": false,
118
+ "label2id": {
119
+ "LABEL_0": 0,
120
+ "LABEL_1": 1
121
+ },
122
+ "layer_norm_eps": 1e-05,
123
+ "length_penalty": 1.0,
124
+ "max_length": 20,
125
+ "max_position_embeddings": 512,
126
+ "min_length": 0,
127
+ "model_type": "groupvit_text_model",
128
+ "no_repeat_ngram_size": 0,
129
+ "num_attention_heads": 4,
130
+ "num_beam_groups": 1,
131
+ "num_beams": 1,
132
+ "num_hidden_layers": 5,
133
+ "num_return_sequences": 1,
134
+ "output_attentions": false,
135
+ "output_hidden_states": false,
136
+ "output_scores": false,
137
+ "pad_token_id": 1,
138
+ "prefix": null,
139
+ "problem_type": null,
140
+ "pruned_heads": {},
141
+ "remove_invalid_values": false,
142
+ "repetition_penalty": 1.0,
143
+ "return_dict": true,
144
+ "return_dict_in_generate": false,
145
+ "sep_token_id": null,
146
+ "task_specific_params": null,
147
+ "temperature": 1.0,
148
+ "tf_legacy_loss": false,
149
+ "tie_encoder_decoder": false,
150
+ "tie_word_embeddings": true,
151
+ "tokenizer_class": null,
152
+ "top_k": 50,
153
+ "top_p": 1.0,
154
+ "torch_dtype": null,
155
+ "torchscript": false,
156
+ "transformers_version": "4.22.0.dev0",
157
+ "typical_p": 1.0,
158
+ "use_bfloat16": false,
159
+ "vocab_size": 99
160
+ },
161
  "torch_dtype": "float32",
162
  "transformers_version": null,
163
  "vision_config": {
 
256
  "typical_p": 1.0,
257
  "use_bfloat16": false
258
  },
259
+ "vision_config_dict": {
260
+ "_name_or_path": "",
261
+ "add_cross_attention": false,
262
+ "architectures": null,
263
+ "assign_eps": 1.0,
264
+ "assign_mlp_ratio": [
265
+ 0.5,
266
+ 4
267
+ ],
268
+ "attention_dropout": 0.0,
269
+ "bad_words_ids": null,
270
+ "bos_token_id": null,
271
+ "chunk_size_feed_forward": 0,
272
+ "cross_attention_hidden_size": null,
273
+ "decoder_start_token_id": null,
274
+ "depths": [
275
+ 6,
276
+ 3,
277
+ 3
278
+ ],
279
+ "diversity_penalty": 0.0,
280
+ "do_sample": false,
281
+ "dropout": 0.0,
282
+ "early_stopping": false,
283
+ "encoder_no_repeat_ngram_size": 0,
284
+ "eos_token_id": null,
285
+ "exponential_decay_length_penalty": null,
286
+ "finetuning_task": null,
287
+ "forced_bos_token_id": null,
288
+ "forced_eos_token_id": null,
289
+ "hidden_act": "gelu",
290
+ "hidden_size": 32,
291
+ "id2label": {
292
+ "0": "LABEL_0",
293
+ "1": "LABEL_1"
294
+ },
295
+ "image_size": 224,
296
+ "initializer_factor": 1.0,
297
+ "initializer_range": 0.02,
298
+ "intermediate_size": 37,
299
+ "is_decoder": false,
300
+ "is_encoder_decoder": false,
301
+ "label2id": {
302
+ "LABEL_0": 0,
303
+ "LABEL_1": 1
304
+ },
305
+ "layer_norm_eps": 1e-05,
306
+ "length_penalty": 1.0,
307
+ "max_length": 20,
308
+ "min_length": 0,
309
+ "model_type": "groupvit_vision_model",
310
+ "no_repeat_ngram_size": 0,
311
+ "num_attention_heads": 4,
312
+ "num_beam_groups": 1,
313
+ "num_beams": 1,
314
+ "num_channels": 3,
315
+ "num_group_tokens": [
316
+ 64,
317
+ 8,
318
+ 0
319
+ ],
320
+ "num_hidden_layers": 12,
321
+ "num_output_groups": [
322
+ 64,
323
+ 8,
324
+ 8
325
+ ],
326
+ "num_return_sequences": 1,
327
+ "output_attentions": false,
328
+ "output_hidden_states": false,
329
+ "output_scores": false,
330
+ "pad_token_id": null,
331
+ "patch_size": 2,
332
+ "prefix": null,
333
+ "problem_type": null,
334
+ "pruned_heads": {},
335
+ "qkv_bias": true,
336
+ "remove_invalid_values": false,
337
+ "repetition_penalty": 1.0,
338
+ "return_dict": true,
339
+ "return_dict_in_generate": false,
340
+ "sep_token_id": null,
341
+ "task_specific_params": null,
342
+ "temperature": 1.0,
343
+ "tf_legacy_loss": false,
344
+ "tie_encoder_decoder": false,
345
+ "tie_word_embeddings": true,
346
+ "tokenizer_class": null,
347
+ "top_k": 50,
348
+ "top_p": 1.0,
349
+ "torch_dtype": null,
350
+ "torchscript": false,
351
+ "transformers_version": "4.22.0.dev0",
352
+ "typical_p": 1.0,
353
+ "use_bfloat16": false
354
+ }
355
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a25617c44bccd28450fc05e6cb26d64a22b0ca28fb71d454944be50916a87df5
3
  size 5770035
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ba63f0fe98079a319046e978d60a097f451460e035f3c935be80e1259c93650
3
  size 5770035