vilarin commited on
Commit
e6046b8
Β·
verified Β·
1 Parent(s): 5697181

Update model/config.json

Browse files
Files changed (1) hide show
  1. model/config.json +129 -129
model/config.json CHANGED
@@ -1,129 +1,129 @@
1
- {
2
- "_name_or_path": "qh360vl-8B",
3
- "architectures": [
4
- "QH360_VL_LlamaForCausalLM"
5
- ],
6
- "auto_map": {
7
- "AutoConfig": "modeling_360vl.QH360_VLConfig",
8
- "AutoModelForCausalLM": "modeling_360vl.QH360_VL_LlamaForCausalLM"
9
- },
10
- "attention_bias": false,
11
- "attention_dropout": 0.0,
12
- "bos_token_id": 128000,
13
- "eos_token_id": 128001,
14
- "freeze_mm_mlp_adapter": false,
15
- "hidden_act": "silu",
16
- "hidden_size": 4096,
17
- "image_aspect_ratio": "pad",
18
- "image_grid_pinpoints": null,
19
- "initializer_range": 0.02,
20
- "intermediate_size": 14336,
21
- "max_position_embeddings": 8192,
22
- "mm_hidden_size": 1024,
23
- "mm_num_tokens": 577,
24
- "mm_projector_config": "config.json",
25
- "mm_projector_lr": null,
26
- "mm_projector_type": "c-abs",
27
- "mm_use_im_patch_token": false,
28
- "mm_use_im_start_end": false,
29
- "mm_vision_select_feature": "patch",
30
- "mm_vision_select_layer": -2,
31
- "mm_vision_tower": "openai/clip-vit-large-patch14-336",
32
- "model_type": "QH_360VL",
33
- "num_attention_heads": 32,
34
- "num_hidden_layers": 32,
35
- "num_key_value_heads": 8,
36
- "pretraining_tp": 1,
37
- "proj_2": true,
38
- "rms_norm_eps": 1e-05,
39
- "rope_scaling": null,
40
- "rope_theta": 500000.0,
41
- "tie_word_embeddings": false,
42
- "torch_dtype": "bfloat16",
43
- "transformers_version": "4.37.2",
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
- }
 
1
+ {
2
+ "_name_or_path": "qh360vl-8B",
3
+ "architectures": [
4
+ "QH360_VL_LlamaForCausalLM"
5
+ ],
6
+ "auto_map": {
7
+ "AutoConfig": "modeling_360vl.QH360_VLConfig",
8
+ "AutoModelForCausalLM": "modeling_360vl.QH360_VL_LlamaForCausalLM"
9
+ },
10
+ "attention_bias": false,
11
+ "attention_dropout": 0.0,
12
+ "bos_token_id": 128000,
13
+ "eos_token_id": 128001,
14
+ "freeze_mm_mlp_adapter": false,
15
+ "hidden_act": "silu",
16
+ "hidden_size": 4096,
17
+ "image_aspect_ratio": "pad",
18
+ "image_grid_pinpoints": null,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 14336,
21
+ "max_position_embeddings": 8192,
22
+ "mm_hidden_size": 1024,
23
+ "mm_num_tokens": 577,
24
+ "mm_projector_config": "./config.json",
25
+ "mm_projector_lr": null,
26
+ "mm_projector_type": "c-abs",
27
+ "mm_use_im_patch_token": false,
28
+ "mm_use_im_start_end": false,
29
+ "mm_vision_select_feature": "patch",
30
+ "mm_vision_select_layer": -2,
31
+ "mm_vision_tower": "openai/clip-vit-large-patch14-336",
32
+ "model_type": "QH_360VL",
33
+ "num_attention_heads": 32,
34
+ "num_hidden_layers": 32,
35
+ "num_key_value_heads": 8,
36
+ "pretraining_tp": 1,
37
+ "proj_2": true,
38
+ "rms_norm_eps": 1e-05,
39
+ "rope_scaling": null,
40
+ "rope_theta": 500000.0,
41
+ "tie_word_embeddings": false,
42
+ "torch_dtype": "bfloat16",
43
+ "transformers_version": "4.37.2",
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
+ }