Update config.json
Browse files- config.json +25 -185
config.json
CHANGED
@@ -1,192 +1,32 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
-
"model_type": "mplug_owl2",
|
4 |
"architectures": [
|
5 |
-
"
|
6 |
],
|
7 |
-
"
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
11 |
},
|
12 |
-
"
|
13 |
-
"bos_token_id": 1,
|
14 |
-
"eos_token_id": 2,
|
15 |
-
"freeze_vision_model": false,
|
16 |
-
"hidden_act": "silu",
|
17 |
-
"hidden_size": 4096,
|
18 |
-
"image_aspect_ratio": "pad",
|
19 |
-
"image_grid_pinpoints": null,
|
20 |
"initializer_range": 0.02,
|
21 |
-
"intermediate_size":
|
22 |
-
"
|
23 |
-
|
24 |
-
|
25 |
-
"num_hidden_layers": 32,
|
26 |
-
"num_key_value_heads": 32,
|
27 |
-
"pretraining_tp": 1,
|
28 |
-
"rms_norm_eps": 1e-06,
|
29 |
-
"rope_scaling": null,
|
30 |
-
"rope_theta": 10000.0,
|
31 |
-
"tie_word_embeddings": false,
|
32 |
-
"torch_dtype": "bfloat16",
|
33 |
-
"transformers_version": "4.31.0",
|
34 |
-
"tune_visual_abstractor": true,
|
35 |
-
"use_cache": true,
|
36 |
-
"visual_abstractor_lr": null,
|
37 |
-
"visual_config": {
|
38 |
-
"visual_abstractor": {
|
39 |
-
"_name_or_path": "",
|
40 |
-
"add_cross_attention": false,
|
41 |
-
"architectures": null,
|
42 |
-
"attention_probs_dropout_prob": 0.0,
|
43 |
-
"bad_words_ids": null,
|
44 |
-
"begin_suppress_tokens": null,
|
45 |
-
"bos_token_id": null,
|
46 |
-
"chunk_size_feed_forward": 0,
|
47 |
-
"cross_attention_hidden_size": null,
|
48 |
-
"decoder_start_token_id": null,
|
49 |
-
"diversity_penalty": 0.0,
|
50 |
-
"do_sample": false,
|
51 |
-
"early_stopping": false,
|
52 |
-
"encoder_hidden_size": 1024,
|
53 |
-
"encoder_no_repeat_ngram_size": 0,
|
54 |
-
"eos_token_id": null,
|
55 |
-
"exponential_decay_length_penalty": null,
|
56 |
-
"finetuning_task": null,
|
57 |
-
"forced_bos_token_id": null,
|
58 |
-
"forced_eos_token_id": null,
|
59 |
-
"grid_size": 32,
|
60 |
-
"hidden_size": 1024,
|
61 |
-
"id2label": {
|
62 |
-
"0": "LABEL_0",
|
63 |
-
"1": "LABEL_1"
|
64 |
-
},
|
65 |
-
"initializer_range": 0.02,
|
66 |
-
"intermediate_size": 2816,
|
67 |
-
"is_decoder": false,
|
68 |
-
"is_encoder_decoder": false,
|
69 |
-
"label2id": {
|
70 |
-
"LABEL_0": 0,
|
71 |
-
"LABEL_1": 1
|
72 |
-
},
|
73 |
-
"layer_norm_eps": 1e-06,
|
74 |
-
"length_penalty": 1.0,
|
75 |
-
"max_length": 20,
|
76 |
-
"min_length": 0,
|
77 |
-
"model_type": "mplug_owl_visual_abstract",
|
78 |
-
"no_repeat_ngram_size": 0,
|
79 |
-
"num_attention_heads": 16,
|
80 |
-
"num_beam_groups": 1,
|
81 |
-
"num_beams": 1,
|
82 |
-
"num_hidden_layers": 6,
|
83 |
-
"num_learnable_queries": 64,
|
84 |
-
"num_return_sequences": 1,
|
85 |
-
"output_attentions": false,
|
86 |
-
"output_hidden_states": false,
|
87 |
-
"output_scores": false,
|
88 |
-
"pad_token_id": null,
|
89 |
-
"prefix": null,
|
90 |
-
"problem_type": null,
|
91 |
-
"pruned_heads": {},
|
92 |
-
"remove_invalid_values": false,
|
93 |
-
"repetition_penalty": 1.0,
|
94 |
-
"return_dict": true,
|
95 |
-
"return_dict_in_generate": false,
|
96 |
-
"sep_token_id": null,
|
97 |
-
"suppress_tokens": null,
|
98 |
-
"task_specific_params": null,
|
99 |
-
"temperature": 1.0,
|
100 |
-
"tf_legacy_loss": false,
|
101 |
-
"tie_encoder_decoder": false,
|
102 |
-
"tie_word_embeddings": true,
|
103 |
-
"tokenizer_class": null,
|
104 |
-
"top_k": 50,
|
105 |
-
"top_p": 1.0,
|
106 |
-
"torch_dtype": null,
|
107 |
-
"torchscript": false,
|
108 |
-
"transformers_version": "4.28.1",
|
109 |
-
"typical_p": 1.0,
|
110 |
-
"use_bfloat16": false
|
111 |
-
},
|
112 |
-
"visual_model": {
|
113 |
-
"_name_or_path": "",
|
114 |
-
"add_cross_attention": false,
|
115 |
-
"architectures": null,
|
116 |
-
"attention_dropout": 0.0,
|
117 |
-
"bad_words_ids": null,
|
118 |
-
"begin_suppress_tokens": null,
|
119 |
-
"bos_token_id": null,
|
120 |
-
"chunk_size_feed_forward": 0,
|
121 |
-
"cross_attention_hidden_size": null,
|
122 |
-
"decoder_start_token_id": null,
|
123 |
-
"diversity_penalty": 0.0,
|
124 |
-
"do_sample": false,
|
125 |
-
"early_stopping": false,
|
126 |
-
"encoder_no_repeat_ngram_size": 0,
|
127 |
-
"eos_token_id": null,
|
128 |
-
"exponential_decay_length_penalty": null,
|
129 |
-
"finetuning_task": null,
|
130 |
-
"forced_bos_token_id": null,
|
131 |
-
"forced_eos_token_id": null,
|
132 |
-
"hidden_act": "quick_gelu",
|
133 |
-
"hidden_size": 1024,
|
134 |
-
"id2label": {
|
135 |
-
"0": "LABEL_0",
|
136 |
-
"1": "LABEL_1"
|
137 |
-
},
|
138 |
-
"image_size": 448,
|
139 |
-
"initializer_factor": 1.0,
|
140 |
-
"initializer_range": 0.02,
|
141 |
-
"intermediate_size": 4096,
|
142 |
-
"is_decoder": false,
|
143 |
-
"is_encoder_decoder": false,
|
144 |
-
"label2id": {
|
145 |
-
"LABEL_0": 0,
|
146 |
-
"LABEL_1": 1
|
147 |
-
},
|
148 |
-
"layer_norm_eps": 1e-06,
|
149 |
-
"length_penalty": 1.0,
|
150 |
-
"max_length": 20,
|
151 |
-
"min_length": 0,
|
152 |
-
"model_type": "mplug_owl_vision_model",
|
153 |
-
"no_repeat_ngram_size": 0,
|
154 |
-
"num_attention_heads": 16,
|
155 |
-
"num_beam_groups": 1,
|
156 |
-
"num_beams": 1,
|
157 |
-
"num_channels": 3,
|
158 |
-
"num_hidden_layers": 24,
|
159 |
-
"num_return_sequences": 1,
|
160 |
-
"output_attentions": false,
|
161 |
-
"output_hidden_states": false,
|
162 |
-
"output_scores": false,
|
163 |
-
"pad_token_id": null,
|
164 |
-
"patch_size": 14,
|
165 |
-
"prefix": null,
|
166 |
-
"problem_type": null,
|
167 |
-
"projection_dim": 768,
|
168 |
-
"pruned_heads": {},
|
169 |
-
"remove_invalid_values": false,
|
170 |
-
"repetition_penalty": 1.0,
|
171 |
-
"return_dict": true,
|
172 |
-
"return_dict_in_generate": false,
|
173 |
-
"sep_token_id": null,
|
174 |
-
"suppress_tokens": null,
|
175 |
-
"task_specific_params": null,
|
176 |
-
"temperature": 1.0,
|
177 |
-
"tf_legacy_loss": false,
|
178 |
-
"tie_encoder_decoder": false,
|
179 |
-
"tie_word_embeddings": true,
|
180 |
-
"tokenizer_class": null,
|
181 |
-
"top_k": 50,
|
182 |
-
"top_p": 1.0,
|
183 |
-
"torch_dtype": null,
|
184 |
-
"torchscript": false,
|
185 |
-
"transformers_version": "4.28.1",
|
186 |
-
"typical_p": 1.0,
|
187 |
-
"use_bfloat16": false,
|
188 |
-
"use_flash_attn": false
|
189 |
-
}
|
190 |
},
|
191 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "Addax-Data-Science/Namib-Desert-v1",
|
|
|
3 |
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 1536,
|
11 |
+
"id2label": {
|
12 |
+
"0": "hq",
|
13 |
+
"1": "lq"
|
14 |
},
|
15 |
+
"image_size": 1024,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 4192,
|
18 |
+
"label2id": {
|
19 |
+
"hq": "0",
|
20 |
+
"lq": "1"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
},
|
22 |
+
"layer_norm_eps": 1e-12,
|
23 |
+
"model_type": "vit",
|
24 |
+
"num_attention_heads": 16,
|
25 |
+
"num_channels": 3,
|
26 |
+
"num_hidden_layers": 48,
|
27 |
+
"patch_size": 64,
|
28 |
+
"problem_type": "single_label_classification",
|
29 |
+
"qkv_bias": true,
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.33.2"
|
32 |
}
|