qingshan777
commited on
Commit
•
537d2c0
1
Parent(s):
bdf4f88
Update config.json
Browse files- config.json +84 -3
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"QH360_VL_LlamaForCausalLM"
|
5 |
],
|
@@ -21,7 +21,7 @@
|
|
21 |
"max_position_embeddings": 8192,
|
22 |
"mm_hidden_size": 1024,
|
23 |
"mm_num_tokens": 577,
|
24 |
-
"mm_projector_config": "qihoo360/360VL-8B
|
25 |
"mm_projector_lr": null,
|
26 |
"mm_projector_type": "c-abs",
|
27 |
"mm_use_im_patch_token": false,
|
@@ -44,5 +44,86 @@
|
|
44 |
"tune_mm_mlp_adapter": false,
|
45 |
"use_cache": true,
|
46 |
"use_mm_proj": true,
|
47 |
-
"vocab_size": 128256
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "qh360vl-8B",
|
3 |
"architectures": [
|
4 |
"QH360_VL_LlamaForCausalLM"
|
5 |
],
|
|
|
21 |
"max_position_embeddings": 8192,
|
22 |
"mm_hidden_size": 1024,
|
23 |
"mm_num_tokens": 577,
|
24 |
+
"mm_projector_config": "qihoo360/360VL-8B",
|
25 |
"mm_projector_lr": null,
|
26 |
"mm_projector_type": "c-abs",
|
27 |
"mm_use_im_patch_token": false,
|
|
|
44 |
"tune_mm_mlp_adapter": false,
|
45 |
"use_cache": true,
|
46 |
"use_mm_proj": true,
|
47 |
+
"vocab_size": 128256,
|
48 |
+
"visual_projector_config": {
|
49 |
+
"_name_or_path": "",
|
50 |
+
"add_cross_attention": false,
|
51 |
+
"architectures": null,
|
52 |
+
"attention_probs_dropout_prob": 0.1,
|
53 |
+
"bad_words_ids": null,
|
54 |
+
"begin_suppress_tokens": null,
|
55 |
+
"bos_token_id": null,
|
56 |
+
"chunk_size_feed_forward": 0,
|
57 |
+
"cross_attention_hidden_size": null,
|
58 |
+
"decoder_start_token_id": null,
|
59 |
+
"depth": 3,
|
60 |
+
"diversity_penalty": 0.0,
|
61 |
+
"do_sample": false,
|
62 |
+
"early_stopping": false,
|
63 |
+
"encoder_hidden_size": 1024,
|
64 |
+
"encoder_no_repeat_ngram_size": 0,
|
65 |
+
"eos_token_id": null,
|
66 |
+
"exponential_decay_length_penalty": null,
|
67 |
+
"feature_layer_index": -2,
|
68 |
+
"finetuning_task": null,
|
69 |
+
"forced_bos_token_id": null,
|
70 |
+
"forced_eos_token_id": null,
|
71 |
+
"hidden_size": 1024,
|
72 |
+
"id2label": {
|
73 |
+
"0": "LABEL_0",
|
74 |
+
"1": "LABEL_1"
|
75 |
+
},
|
76 |
+
"initializer_range": 0.02,
|
77 |
+
"intermediate_size": 4096,
|
78 |
+
"is_decoder": false,
|
79 |
+
"is_encoder_decoder": false,
|
80 |
+
"label2id": {
|
81 |
+
"LABEL_0": 0,
|
82 |
+
"LABEL_1": 1
|
83 |
+
},
|
84 |
+
"layer_norm_eps": 1e-06,
|
85 |
+
"length_penalty": 1.0,
|
86 |
+
"max_length": 20,
|
87 |
+
"min_length": 0,
|
88 |
+
"mlp_depth": 2,
|
89 |
+
"model_type": "mllm_visual_projector",
|
90 |
+
"no_repeat_ngram_size": 0,
|
91 |
+
"num_attention_heads": 16,
|
92 |
+
"num_beam_groups": 1,
|
93 |
+
"num_beams": 1,
|
94 |
+
"num_eos_tokens": 0,
|
95 |
+
"num_hidden_layers": 6,
|
96 |
+
"num_queries": 576,
|
97 |
+
"num_return_sequences": 1,
|
98 |
+
"output_attentions": false,
|
99 |
+
"output_hidden_states": false,
|
100 |
+
"output_scores": false,
|
101 |
+
"pad_token_id": null,
|
102 |
+
"pos_emb": true,
|
103 |
+
"prefix": null,
|
104 |
+
"prenorm": false,
|
105 |
+
"problem_type": null,
|
106 |
+
"projector_type": "c-abs",
|
107 |
+
"pruned_heads": {},
|
108 |
+
"remove_invalid_values": false,
|
109 |
+
"repetition_penalty": 1.0,
|
110 |
+
"return_dict": true,
|
111 |
+
"return_dict_in_generate": false,
|
112 |
+
"sep_token_id": null,
|
113 |
+
"suppress_tokens": null,
|
114 |
+
"task_specific_params": null,
|
115 |
+
"temperature": 1.0,
|
116 |
+
"tf_legacy_loss": false,
|
117 |
+
"tie_encoder_decoder": false,
|
118 |
+
"tie_word_embeddings": true,
|
119 |
+
"tokenizer_class": null,
|
120 |
+
"top_k": 50,
|
121 |
+
"top_p": 1.0,
|
122 |
+
"torch_dtype": null,
|
123 |
+
"torchscript": false,
|
124 |
+
"transformers_version": "4.30.2",
|
125 |
+
"typical_p": 1.0,
|
126 |
+
"use_bfloat16": false,
|
127 |
+
"use_cls": true
|
128 |
+
}
|
129 |
}
|