apepkuss79 commited on
Commit
aeda0c6
·
verified ·
1 Parent(s): d94eee2

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +57 -0
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/data1/sam/models/MiniCPM-V-2_6",
3
+ "architectures": [
4
+ "Qwen2ForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "auto_map": {
8
+ "AutoConfig": "configuration_minicpm.MiniCPMVConfig",
9
+ "AutoModel": "modeling_minicpm.MiniCPMModel",
10
+ "AutoModelForCausalLM": "modeling_minicpm.MiniCPMForCausalLM",
11
+ "AutoModelForSeq2SeqLM": "modeling_minicpm.MiniCPMForCausalLM",
12
+ "AutoModelForSequenceClassification": "modeling_minicpm.MiniCPMForSequenceClassification"
13
+ },
14
+ "batch_vision_input": true,
15
+ "bos_token_id": 151643,
16
+ "drop_vision_last_layer": false,
17
+ "eos_token_id": 151645,
18
+ "hidden_act": "silu",
19
+ "hidden_size": 3584,
20
+ "image_size": 448,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 18944,
23
+ "max_position_embeddings": 32768,
24
+ "max_window_layers": 28,
25
+ "model_type": "minicpmv",
26
+ "num_attention_heads": 28,
27
+ "num_hidden_layers": 28,
28
+ "num_key_value_heads": 4,
29
+ "patch_size": 14,
30
+ "query_num": 64,
31
+ "rms_norm_eps": 1e-06,
32
+ "rope_theta": 1000000.0,
33
+ "slice_config": {
34
+ "max_slice_nums": 9,
35
+ "model_type": "minicpmv"
36
+ },
37
+ "slice_mode": true,
38
+ "sliding_window": null,
39
+ "tie_word_embeddings": false,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.44.0",
42
+ "use_cache": true,
43
+ "use_image_id": true,
44
+ "use_sliding_window": false,
45
+ "version": 2.6,
46
+ "vision_batch_size": 16,
47
+ "vision_config": {
48
+ "hidden_size": 1152,
49
+ "image_size": 980,
50
+ "intermediate_size": 4304,
51
+ "model_type": "siglip_vision_model",
52
+ "num_attention_heads": 16,
53
+ "num_hidden_layers": 27,
54
+ "patch_size": 14
55
+ },
56
+ "vocab_size": 151666
57
+ }