apepkuss79 commited on
Commit
cf0f11d
1 Parent(s): e9d399d

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-Llama3-V-2_5",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "auto_map": {
9
+ "AutoConfig": "configuration_minicpm.MiniCPMVConfig",
10
+ "AutoModel": "modeling_minicpm.MiniCPMModel",
11
+ "AutoModelForCausalLM": "modeling_minicpm.MiniCPMForCausalLM",
12
+ "AutoModelForSeq2SeqLM": "modeling_minicpm.MiniCPMForCausalLM",
13
+ "AutoModelForSequenceClassification": "modeling_minicpm.MiniCPMForSequenceClassification"
14
+ },
15
+ "batch_vision_input": true,
16
+ "bos_token_id": 128000,
17
+ "drop_vision_last_layer": false,
18
+ "eos_token_id": 128001,
19
+ "hidden_act": "silu",
20
+ "hidden_size": 4096,
21
+ "image_size": 448,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 14336,
24
+ "max_position_embeddings": 8192,
25
+ "mlp_bias": false,
26
+ "mm_use_im_start_end": true,
27
+ "model_type": "minicpmv",
28
+ "num_attention_heads": 32,
29
+ "num_hidden_layers": 32,
30
+ "num_key_value_heads": 8,
31
+ "patch_size": 14,
32
+ "pretraining_tp": 1,
33
+ "query_num": 96,
34
+ "rms_norm_eps": 1e-05,
35
+ "rope_scaling": null,
36
+ "rope_theta": 500000.0,
37
+ "slice_config": {
38
+ "max_slice_nums": 9,
39
+ "model_type": "minicpmv"
40
+ },
41
+ "slice_mode": true,
42
+ "tie_word_embeddings": false,
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.44.0",
45
+ "use_cache": true,
46
+ "version": "2.5",
47
+ "vision_config": {
48
+ "hidden_size": 1152,
49
+ "image_size": 980,
50
+ "intermediate_size": 4304,
51
+ "model_type": "idefics2",
52
+ "num_attention_heads": 16,
53
+ "num_hidden_layers": 27,
54
+ "patch_size": 14
55
+ },
56
+ "vocab_size": 128256
57
+ }