Hemachandiran commited on
Commit
ef80860
1 Parent(s): 72767d5

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "liuhaotian/LLaVA-Lightning-MPT-7B-preview",
3
+ "architectures": [
4
+ "LlavaMPTForCausalLM"
5
+ ],
6
+ "attn_config": {
7
+ "model_type": ""
8
+ },
9
+ "d_model": 4096,
10
+ "emb_pdrop": 0,
11
+ "embedding_fraction": 1.0,
12
+ "expansion_ratio": 4,
13
+ "freeze_mm_mlp_adapter": false,
14
+ "init_config": {
15
+ "emb_init_std": null,
16
+ "emb_init_uniform_lim": null,
17
+ "fan_mode": "fan_in",
18
+ "init_div_is_residual": true,
19
+ "init_gain": 0,
20
+ "init_nonlinearity": "relu",
21
+ "init_std": 0.02,
22
+ "name": "kaiming_normal_",
23
+ "verbose": 0
24
+ },
25
+ "init_device": "cpu",
26
+ "initializer_range": 0.02,
27
+ "layer_norm_epsilon": 1e-05,
28
+ "learned_pos_emb": true,
29
+ "logit_scale": null,
30
+ "max_seq_len": 2048,
31
+ "mm_hidden_size": 1024,
32
+ "mm_use_im_start_end": true,
33
+ "mm_vision_select_layer": -2,
34
+ "mm_vision_tower": "openai/clip-vit-large-patch14",
35
+ "model_type": "llava_mpt",
36
+ "n_heads": 32,
37
+ "n_layers": 32,
38
+ "no_bias": true,
39
+ "norm_type": "low_precision_layernorm",
40
+ "resid_pdrop": 0,
41
+ "sep_image_conv_front": false,
42
+ "tokenizer_name": "sam-mosaic/gpt-neox-20b-chatml",
43
+ "torch_dtype": "float16",
44
+ "transformers_version": "4.36.0",
45
+ "tune_mm_mlp_adapter": false,
46
+ "use_cache": true,
47
+ "use_mm_proj": true,
48
+ "verbose": 0,
49
+ "vocab_size": 50282
50
+ }
image_encoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fbc37dbc3a363e6eb73013f1e4be0935fd708d1d90aa71f9f039461c7f6523b
3
+ size 296606870
image_encoder.xml ADDED
The diff for this file is too large to render. See raw diff
 
llava_input_embed.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb7cbae5fafcf590c96ff3a425b66090928f23a5b433b8eb6d783349ffc3a92a
3
+ size 4199534176
llava_input_embed.xml ADDED
The diff for this file is too large to render. See raw diff
 
llava_with_past.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a3a42870d7209e037ae2e94970bbc7589fedcb3fc16d358b02aa5112a9fa6c6
3
+ size 4199534166
llava_with_past.xml ADDED
The diff for this file is too large to render. See raw diff
 
token_embed.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1203d0339c74402b0554f67768e20b5ec8274f647ff158cdca9083041907ad2
3
+ size 411910148
token_embed.xml ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <net name="Model3" version="11">
3
+ <layers>
4
+ <layer id="0" name="x" type="Parameter" version="opset1">
5
+ <data shape="?,?" element_type="i64" />
6
+ <output>
7
+ <port id="0" precision="I64" names="x">
8
+ <dim>-1</dim>
9
+ <dim>-1</dim>
10
+ </port>
11
+ </output>
12
+ </layer>
13
+ <layer id="1" name="Constant_82031_compressed" type="Const" version="opset1">
14
+ <data element_type="f16" shape="50282, 4096" offset="0" size="411910144" />
15
+ <output>
16
+ <port id="0" precision="FP16" names="7,weight">
17
+ <dim>50282</dim>
18
+ <dim>4096</dim>
19
+ </port>
20
+ </output>
21
+ </layer>
22
+ <layer id="2" name="Constant_82031" type="Convert" version="opset1">
23
+ <data destination_type="f32" />
24
+ <rt_info>
25
+ <attribute name="decompression" version="0" />
26
+ </rt_info>
27
+ <input>
28
+ <port id="0" precision="FP16">
29
+ <dim>50282</dim>
30
+ <dim>4096</dim>
31
+ </port>
32
+ </input>
33
+ <output>
34
+ <port id="1" precision="FP32">
35
+ <dim>50282</dim>
36
+ <dim>4096</dim>
37
+ </port>
38
+ </output>
39
+ </layer>
40
+ <layer id="3" name="__module.transformer.wte/aten::embedding/Convert" type="Convert" version="opset1">
41
+ <data destination_type="i32" />
42
+ <input>
43
+ <port id="0" precision="I64">
44
+ <dim>-1</dim>
45
+ <dim>-1</dim>
46
+ </port>
47
+ </input>
48
+ <output>
49
+ <port id="1" precision="I32">
50
+ <dim>-1</dim>
51
+ <dim>-1</dim>
52
+ </port>
53
+ </output>
54
+ </layer>
55
+ <layer id="4" name="__module.transformer.wte/aten::embedding/Constant" type="Const" version="opset1">
56
+ <data element_type="i32" shape="" offset="411910144" size="4" />
57
+ <output>
58
+ <port id="0" precision="I32" />
59
+ </output>
60
+ </layer>
61
+ <layer id="5" name="__module.transformer.wte/aten::embedding/Gather" type="Gather" version="opset8">
62
+ <data batch_dims="0" />
63
+ <input>
64
+ <port id="0" precision="FP32">
65
+ <dim>50282</dim>
66
+ <dim>4096</dim>
67
+ </port>
68
+ <port id="1" precision="I32">
69
+ <dim>-1</dim>
70
+ <dim>-1</dim>
71
+ </port>
72
+ <port id="2" precision="I32" />
73
+ </input>
74
+ <output>
75
+ <port id="3" precision="FP32">
76
+ <dim>-1</dim>
77
+ <dim>-1</dim>
78
+ <dim>4096</dim>
79
+ </port>
80
+ </output>
81
+ </layer>
82
+ <layer id="6" name="Result_82035" type="Result" version="opset1">
83
+ <input>
84
+ <port id="0" precision="FP32">
85
+ <dim>-1</dim>
86
+ <dim>-1</dim>
87
+ <dim>4096</dim>
88
+ </port>
89
+ </input>
90
+ </layer>
91
+ </layers>
92
+ <edges>
93
+ <edge from-layer="0" from-port="0" to-layer="3" to-port="0" />
94
+ <edge from-layer="1" from-port="0" to-layer="2" to-port="0" />
95
+ <edge from-layer="2" from-port="1" to-layer="5" to-port="0" />
96
+ <edge from-layer="3" from-port="1" to-layer="5" to-port="1" />
97
+ <edge from-layer="4" from-port="0" to-layer="5" to-port="2" />
98
+ <edge from-layer="5" from-port="3" to-layer="6" to-port="0" />
99
+ </edges>
100
+ <rt_info>
101
+ <Runtime_version value="2023.3.0-13775-ceeafaf64f3-releases/2023/3" />
102
+ <conversion_parameters>
103
+ <framework value="pytorch" />
104
+ <is_python_object value="True" />
105
+ </conversion_parameters>
106
+ </rt_info>
107
+ </net>