yanchuqiao commited on
Commit
c2815b1
·
verified ·
1 Parent(s): 066b177

Upload 4 files

Browse files
Files changed (4) hide show
  1. added_tokens.json +40 -0
  2. config.json +54 -0
  3. generation_config.json +6 -0
  4. merges.txt +0 -0
added_tokens.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "\t\t": 50294,
3
+ "\t\t\t": 50293,
4
+ "\t\t\t\t": 50292,
5
+ "\t\t\t\t\t": 50291,
6
+ "\t\t\t\t\t\t": 50290,
7
+ "\t\t\t\t\t\t\t": 50289,
8
+ "\t\t\t\t\t\t\t\t": 50288,
9
+ "\t\t\t\t\t\t\t\t\t": 50287,
10
+ " ": 50286,
11
+ " ": 50285,
12
+ " ": 50284,
13
+ " ": 50283,
14
+ " ": 50282,
15
+ " ": 50281,
16
+ " ": 50280,
17
+ " ": 50279,
18
+ " ": 50278,
19
+ " ": 50277,
20
+ " ": 50276,
21
+ " ": 50275,
22
+ " ": 50274,
23
+ " ": 50273,
24
+ " ": 50272,
25
+ " ": 50271,
26
+ " ": 50270,
27
+ " ": 50269,
28
+ " ": 50268,
29
+ " ": 50267,
30
+ " ": 50266,
31
+ " ": 50265,
32
+ " ": 50264,
33
+ " ": 50263,
34
+ " ": 50262,
35
+ " ": 50261,
36
+ " ": 50260,
37
+ " ": 50259,
38
+ " ": 50258,
39
+ " ": 50257
40
+ }
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/cluster/home/yanc/mPLUG-DocOwl/TinyChart-3B/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": "/cluster/home/yanc/mPLUG-DocOwl/TinyChart-3B/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": "bfloat16",
46
+ "transformers_version": "4.37.2",
47
+ "tune_embed_tokens": false,
48
+ "tune_entire_model": false,
49
+ "tune_mm_mlp_adapter": false,
50
+ "tune_vision_tower": true,
51
+ "use_cache": false,
52
+ "use_mm_proj": true,
53
+ "vocab_size": 51200
54
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.37.2"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff