xzl12306 commited on
Commit
b5cac9e
1 Parent(s): bf40490

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +54 -0
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mPLUG/TinyChart-3B-768",
3
+ "architectures": [
4
+ "TinyChartPhiForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "auto_map": {
8
+ "AutoConfig": "microsoft/phi-2--configuration_phi.PhiConfig",
9
+ "AutoModelForCausalLM": "microsoft/phi-2--modeling_phi.PhiForCausalLM"
10
+ },
11
+ "bos_token_id": 50256,
12
+ "embd_pdrop": 0.0,
13
+ "eos_token_id": 50256,
14
+ "freeze_mm_mlp_adapter": false,
15
+ "hidden_act": "gelu_new",
16
+ "hidden_size": 2560,
17
+ "image_aspect_ratio": "pad",
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 10240,
20
+ "layer_norm_eps": 1e-05,
21
+ "max_position_embeddings": 2048,
22
+ "mm_hidden_size": 1152,
23
+ "mm_patch_merge_type": "flat",
24
+ "mm_projector_lr": null,
25
+ "mm_projector_type": "mlp2x_gelu",
26
+ "mm_use_im_patch_token": false,
27
+ "mm_use_im_start_end": false,
28
+ "mm_vision_select_feature": "patch",
29
+ "mm_vision_select_layer": -2,
30
+ "mm_vision_tower": "mPLUG/TinyChart-3B-768/siglip",
31
+ "model_type": "tiny_chart_phi",
32
+ "num_attention_heads": 32,
33
+ "num_hidden_layers": 32,
34
+ "num_key_value_heads": 32,
35
+ "pad_token": "<|endoftext|>",
36
+ "pad_token_id": 50256,
37
+ "partial_rotary_factor": 0.4,
38
+ "qk_layernorm": false,
39
+ "resid_pdrop": 0.1,
40
+ "rope_scaling": null,
41
+ "rope_theta": 10000.0,
42
+ "tie_word_embeddings": false,
43
+ "tokenizer_model_max_length": 1024,
44
+ "tokenizer_padding_side": "right",
45
+ "torch_dtype": "float16",
46
+ "transformers_version": "4.37.2",
47
+ "tune_embed_tokens": false,
48
+ "tune_entire_model": true,
49
+ "tune_mm_mlp_adapter": false,
50
+ "tune_vision_tower": true,
51
+ "use_cache": true,
52
+ "use_mm_proj": true,
53
+ "vocab_size": 51200
54
+ }