innocent-charles
commited on
Commit
•
6d3bf71
1
Parent(s):
1cf4395
Update config.json
Browse files- config.json +32 -57
config.json
CHANGED
@@ -1,79 +1,64 @@
|
|
1 |
{
|
2 |
"_name_or_path": "sartifyllc/AViLaMa",
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"initializer_factor":
|
7 |
-
"logit_scale_init_value":
|
8 |
"model_type": "clip",
|
9 |
-
"projection_dim":
|
10 |
"text_config": {
|
11 |
"_name_or_path": "",
|
12 |
"add_cross_attention": false,
|
13 |
-
"architectures":
|
14 |
-
"BertModel"
|
15 |
-
],
|
16 |
"attention_dropout": 0.0,
|
17 |
"bad_words_ids": null,
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"chunk_size_feed_forward": null,
|
21 |
"cross_attention_hidden_size": null,
|
22 |
"decoder_start_token_id": null,
|
23 |
-
"diversity_penalty":
|
24 |
"do_sample": false,
|
25 |
-
"dropout": 0.
|
26 |
"early_stopping": false,
|
27 |
"encoder_no_repeat_ngram_size": 0,
|
28 |
-
"eos_token_id":
|
29 |
-
"exponential_decay_length_penalty": null,
|
30 |
"finetuning_task": null,
|
31 |
-
"attention_probs_dropout_prob": 0.1,
|
32 |
-
"directionality": "bidi",
|
33 |
-
"gradient_checkpointing": false,
|
34 |
-
"hidden_dropout_prob": 0.1,
|
35 |
-
"hidden_size": 256,
|
36 |
-
"pooler_fc_size": 1024,
|
37 |
-
"pooler_num_attention_heads": 12,
|
38 |
-
"pooler_num_fc_layers": 3,
|
39 |
-
"pooler_size_per_head": 128,
|
40 |
-
"pooler_type": "first_token_transform",
|
41 |
-
"position_embedding_type": "absolute",
|
42 |
-
"type_vocab_size": 2,
|
43 |
-
"use_cache": true,
|
44 |
"forced_bos_token_id": null,
|
45 |
"forced_eos_token_id": null,
|
46 |
-
"hidden_act": "
|
|
|
47 |
"id2label": {
|
48 |
"0": "LABEL_0",
|
49 |
"1": "LABEL_1"
|
50 |
},
|
51 |
-
"initializer_factor":
|
52 |
"initializer_range": 0.02,
|
53 |
-
"intermediate_size":
|
54 |
"is_decoder": false,
|
55 |
"is_encoder_decoder": false,
|
56 |
"label2id": {
|
57 |
"LABEL_0": 0,
|
58 |
"LABEL_1": 1
|
59 |
},
|
60 |
-
"layer_norm_eps": 1e-
|
61 |
"length_penalty": 1.0,
|
62 |
-
"max_length":
|
63 |
-
"max_position_embeddings":
|
64 |
"min_length": 0,
|
65 |
-
"model_type": "
|
66 |
-
"no_repeat_ngram_size":
|
67 |
-
"num_attention_heads":
|
68 |
-
"num_beam_groups":
|
69 |
-
"num_beams":
|
70 |
"num_hidden_layers": 12,
|
71 |
-
"num_return_sequences":
|
72 |
"output_attentions": false,
|
73 |
"output_hidden_states": false,
|
74 |
"output_scores": false,
|
75 |
-
"pad_token_id":
|
76 |
"prefix": null,
|
|
|
77 |
"problem_type": null,
|
78 |
"pruned_heads": {},
|
79 |
"remove_invalid_values": false,
|
@@ -81,10 +66,8 @@
|
|
81 |
"return_dict": true,
|
82 |
"return_dict_in_generate": false,
|
83 |
"sep_token_id": null,
|
84 |
-
"suppress_tokens": null,
|
85 |
"task_specific_params": null,
|
86 |
"temperature": 1.0,
|
87 |
-
"tf_legacy_loss": false,
|
88 |
"tie_encoder_decoder": false,
|
89 |
"tie_word_embeddings": true,
|
90 |
"tokenizer_class": null,
|
@@ -92,13 +75,11 @@
|
|
92 |
"top_p": 1.0,
|
93 |
"torch_dtype": null,
|
94 |
"torchscript": false,
|
95 |
-
"transformers_version": "4.
|
96 |
-
"typical_p": 1.0,
|
97 |
"use_bfloat16": false,
|
98 |
-
"vocab_size":
|
99 |
},
|
100 |
"text_config_dict": null,
|
101 |
-
"torch_dtype": "float32",
|
102 |
"transformers_version": null,
|
103 |
"vision_config": {
|
104 |
"_name_or_path": "",
|
@@ -106,7 +87,6 @@
|
|
106 |
"architectures": null,
|
107 |
"attention_dropout": 0.0,
|
108 |
"bad_words_ids": null,
|
109 |
-
"begin_suppress_tokens": null,
|
110 |
"bos_token_id": null,
|
111 |
"chunk_size_feed_forward": 0,
|
112 |
"cross_attention_hidden_size": null,
|
@@ -117,17 +97,16 @@
|
|
117 |
"early_stopping": false,
|
118 |
"encoder_no_repeat_ngram_size": 0,
|
119 |
"eos_token_id": null,
|
120 |
-
"exponential_decay_length_penalty": null,
|
121 |
"finetuning_task": null,
|
122 |
"forced_bos_token_id": null,
|
123 |
"forced_eos_token_id": null,
|
124 |
"hidden_act": "quick_gelu",
|
125 |
-
"hidden_size":
|
126 |
"id2label": {
|
127 |
"0": "LABEL_0",
|
128 |
"1": "LABEL_1"
|
129 |
},
|
130 |
-
"image_size":
|
131 |
"initializer_factor": 1.0,
|
132 |
"initializer_range": 0.02,
|
133 |
"intermediate_size": 3072,
|
@@ -146,7 +125,6 @@
|
|
146 |
"num_attention_heads": 12,
|
147 |
"num_beam_groups": 1,
|
148 |
"num_beams": 1,
|
149 |
-
"num_channels": 3,
|
150 |
"num_hidden_layers": 12,
|
151 |
"num_return_sequences": 1,
|
152 |
"output_attentions": false,
|
@@ -155,6 +133,7 @@
|
|
155 |
"pad_token_id": null,
|
156 |
"patch_size": 32,
|
157 |
"prefix": null,
|
|
|
158 |
"problem_type": null,
|
159 |
"pruned_heads": {},
|
160 |
"remove_invalid_values": false,
|
@@ -162,10 +141,8 @@
|
|
162 |
"return_dict": true,
|
163 |
"return_dict_in_generate": false,
|
164 |
"sep_token_id": null,
|
165 |
-
"suppress_tokens": null,
|
166 |
"task_specific_params": null,
|
167 |
"temperature": 1.0,
|
168 |
-
"tf_legacy_loss": false,
|
169 |
"tie_encoder_decoder": false,
|
170 |
"tie_word_embeddings": true,
|
171 |
"tokenizer_class": null,
|
@@ -173,10 +150,8 @@
|
|
173 |
"top_p": 1.0,
|
174 |
"torch_dtype": null,
|
175 |
"torchscript": false,
|
176 |
-
"transformers_version": "4.
|
177 |
-
"typical_p": 1.0,
|
178 |
"use_bfloat16": false
|
179 |
},
|
180 |
"vision_config_dict": null
|
181 |
-
}
|
182 |
-
|
|
|
1 |
{
|
2 |
"_name_or_path": "sartifyllc/AViLaMa",
|
3 |
"architectures": [
|
4 |
+
"AViLaMa"
|
5 |
],
|
6 |
+
"initializer_factor": 1.0,
|
7 |
+
"logit_scale_init_value": 2.6592,
|
8 |
"model_type": "clip",
|
9 |
+
"projection_dim": 512,
|
10 |
"text_config": {
|
11 |
"_name_or_path": "",
|
12 |
"add_cross_attention": false,
|
13 |
+
"architectures": null,
|
|
|
|
|
14 |
"attention_dropout": 0.0,
|
15 |
"bad_words_ids": null,
|
16 |
+
"bos_token_id": 0,
|
17 |
+
"chunk_size_feed_forward": 0,
|
|
|
18 |
"cross_attention_hidden_size": null,
|
19 |
"decoder_start_token_id": null,
|
20 |
+
"diversity_penalty": 0.0,
|
21 |
"do_sample": false,
|
22 |
+
"dropout": 0.0,
|
23 |
"early_stopping": false,
|
24 |
"encoder_no_repeat_ngram_size": 0,
|
25 |
+
"eos_token_id": 2,
|
|
|
26 |
"finetuning_task": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
"forced_bos_token_id": null,
|
28 |
"forced_eos_token_id": null,
|
29 |
+
"hidden_act": "quick_gelu",
|
30 |
+
"hidden_size": 512,
|
31 |
"id2label": {
|
32 |
"0": "LABEL_0",
|
33 |
"1": "LABEL_1"
|
34 |
},
|
35 |
+
"initializer_factor": 1.0,
|
36 |
"initializer_range": 0.02,
|
37 |
+
"intermediate_size": 2048,
|
38 |
"is_decoder": false,
|
39 |
"is_encoder_decoder": false,
|
40 |
"label2id": {
|
41 |
"LABEL_0": 0,
|
42 |
"LABEL_1": 1
|
43 |
},
|
44 |
+
"layer_norm_eps": 1e-05,
|
45 |
"length_penalty": 1.0,
|
46 |
+
"max_length": 20,
|
47 |
+
"max_position_embeddings": 77,
|
48 |
"min_length": 0,
|
49 |
+
"model_type": "clip_text_model",
|
50 |
+
"no_repeat_ngram_size": 0,
|
51 |
+
"num_attention_heads": 8,
|
52 |
+
"num_beam_groups": 1,
|
53 |
+
"num_beams": 1,
|
54 |
"num_hidden_layers": 12,
|
55 |
+
"num_return_sequences": 1,
|
56 |
"output_attentions": false,
|
57 |
"output_hidden_states": false,
|
58 |
"output_scores": false,
|
59 |
+
"pad_token_id": 1,
|
60 |
"prefix": null,
|
61 |
+
"projection_dim": 512,
|
62 |
"problem_type": null,
|
63 |
"pruned_heads": {},
|
64 |
"remove_invalid_values": false,
|
|
|
66 |
"return_dict": true,
|
67 |
"return_dict_in_generate": false,
|
68 |
"sep_token_id": null,
|
|
|
69 |
"task_specific_params": null,
|
70 |
"temperature": 1.0,
|
|
|
71 |
"tie_encoder_decoder": false,
|
72 |
"tie_word_embeddings": true,
|
73 |
"tokenizer_class": null,
|
|
|
75 |
"top_p": 1.0,
|
76 |
"torch_dtype": null,
|
77 |
"torchscript": false,
|
78 |
+
"transformers_version": "4.16.0.dev0",
|
|
|
79 |
"use_bfloat16": false,
|
80 |
+
"vocab_size": 49408
|
81 |
},
|
82 |
"text_config_dict": null,
|
|
|
83 |
"transformers_version": null,
|
84 |
"vision_config": {
|
85 |
"_name_or_path": "",
|
|
|
87 |
"architectures": null,
|
88 |
"attention_dropout": 0.0,
|
89 |
"bad_words_ids": null,
|
|
|
90 |
"bos_token_id": null,
|
91 |
"chunk_size_feed_forward": 0,
|
92 |
"cross_attention_hidden_size": null,
|
|
|
97 |
"early_stopping": false,
|
98 |
"encoder_no_repeat_ngram_size": 0,
|
99 |
"eos_token_id": null,
|
|
|
100 |
"finetuning_task": null,
|
101 |
"forced_bos_token_id": null,
|
102 |
"forced_eos_token_id": null,
|
103 |
"hidden_act": "quick_gelu",
|
104 |
+
"hidden_size": 768,
|
105 |
"id2label": {
|
106 |
"0": "LABEL_0",
|
107 |
"1": "LABEL_1"
|
108 |
},
|
109 |
+
"image_size": 224,
|
110 |
"initializer_factor": 1.0,
|
111 |
"initializer_range": 0.02,
|
112 |
"intermediate_size": 3072,
|
|
|
125 |
"num_attention_heads": 12,
|
126 |
"num_beam_groups": 1,
|
127 |
"num_beams": 1,
|
|
|
128 |
"num_hidden_layers": 12,
|
129 |
"num_return_sequences": 1,
|
130 |
"output_attentions": false,
|
|
|
133 |
"pad_token_id": null,
|
134 |
"patch_size": 32,
|
135 |
"prefix": null,
|
136 |
+
"projection_dim" : 512,
|
137 |
"problem_type": null,
|
138 |
"pruned_heads": {},
|
139 |
"remove_invalid_values": false,
|
|
|
141 |
"return_dict": true,
|
142 |
"return_dict_in_generate": false,
|
143 |
"sep_token_id": null,
|
|
|
144 |
"task_specific_params": null,
|
145 |
"temperature": 1.0,
|
|
|
146 |
"tie_encoder_decoder": false,
|
147 |
"tie_word_embeddings": true,
|
148 |
"tokenizer_class": null,
|
|
|
150 |
"top_p": 1.0,
|
151 |
"torch_dtype": null,
|
152 |
"torchscript": false,
|
153 |
+
"transformers_version": "4.16.0.dev0",
|
|
|
154 |
"use_bfloat16": false
|
155 |
},
|
156 |
"vision_config_dict": null
|
157 |
+
}
|
|