NSTiwari commited on
Commit
d5e6183
·
verified ·
1 Parent(s): de94992

Quantized Llava-1_5-7b model for Android.

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "<image>": 32000,
3
+ "<pad>": 32001
4
+ }
llava-1.5-7b-hf-q4f16_1-android.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af7b1f39e91b4dae2ae7782a99c108696df780afca6725a006ab1f317e2a425d
3
+ size 567841
mlc-chat-config.json ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "llava",
3
+ "quantization": "q4f16_1",
4
+ "model_config": {
5
+ "image_token_index": 32000,
6
+ "text_config": {
7
+ "hidden_size": 4096,
8
+ "intermediate_size": 11008,
9
+ "num_attention_heads": 32,
10
+ "num_hidden_layers": 32,
11
+ "rms_norm_eps": 1e-05,
12
+ "vocab_size": 32000,
13
+ "position_embedding_base": 10000.0,
14
+ "context_window_size": 4096,
15
+ "prefill_chunk_size": 2048,
16
+ "num_key_value_heads": 32,
17
+ "head_dim": 128,
18
+ "tensor_parallel_shards": 1,
19
+ "max_batch_size": 1,
20
+ "kwargs": {
21
+ "_name_or_path": "lmsys/vicuna-7b-v1.5",
22
+ "architectures": [
23
+ "LlamaForCausalLM"
24
+ ],
25
+ "model_type": "llama",
26
+ "torch_dtype": "float16",
27
+ "hidden_act": "silu",
28
+ "initializer_range": 0.02,
29
+ "pretraining_tp": 1,
30
+ "use_cache": true,
31
+ "rope_scaling": null,
32
+ "attention_bias": false,
33
+ "attention_dropout": 0.0,
34
+ "mlp_bias": false,
35
+ "return_dict": true,
36
+ "output_hidden_states": false,
37
+ "output_attentions": false,
38
+ "torchscript": false,
39
+ "use_bfloat16": false,
40
+ "tf_legacy_loss": false,
41
+ "pruned_heads": {},
42
+ "tie_word_embeddings": false,
43
+ "chunk_size_feed_forward": 0,
44
+ "is_encoder_decoder": false,
45
+ "is_decoder": false,
46
+ "cross_attention_hidden_size": null,
47
+ "add_cross_attention": false,
48
+ "tie_encoder_decoder": false,
49
+ "max_length": 20,
50
+ "min_length": 0,
51
+ "do_sample": false,
52
+ "early_stopping": false,
53
+ "num_beams": 1,
54
+ "num_beam_groups": 1,
55
+ "diversity_penalty": 0.0,
56
+ "temperature": 1.0,
57
+ "top_k": 50,
58
+ "top_p": 1.0,
59
+ "typical_p": 1.0,
60
+ "repetition_penalty": 1.0,
61
+ "length_penalty": 1.0,
62
+ "no_repeat_ngram_size": 0,
63
+ "encoder_no_repeat_ngram_size": 0,
64
+ "bad_words_ids": null,
65
+ "num_return_sequences": 1,
66
+ "output_scores": false,
67
+ "return_dict_in_generate": false,
68
+ "forced_bos_token_id": null,
69
+ "forced_eos_token_id": null,
70
+ "remove_invalid_values": false,
71
+ "exponential_decay_length_penalty": null,
72
+ "suppress_tokens": null,
73
+ "begin_suppress_tokens": null,
74
+ "finetuning_task": null,
75
+ "id2label": {
76
+ "0": "LABEL_0",
77
+ "1": "LABEL_1"
78
+ },
79
+ "label2id": {
80
+ "LABEL_0": 0,
81
+ "LABEL_1": 1
82
+ },
83
+ "tokenizer_class": null,
84
+ "prefix": null,
85
+ "bos_token_id": 1,
86
+ "pad_token_id": 0,
87
+ "eos_token_id": 2,
88
+ "sep_token_id": null,
89
+ "decoder_start_token_id": null,
90
+ "task_specific_params": null,
91
+ "problem_type": null,
92
+ "transformers_version": "4.41.0"
93
+ }
94
+ },
95
+ "vision_config": {
96
+ "hidden_size": 1024,
97
+ "image_size": 336,
98
+ "intermediate_size": 4096,
99
+ "num_attention_heads": 16,
100
+ "num_hidden_layers": 24,
101
+ "patch_size": 14,
102
+ "projection_dim": 768,
103
+ "vocab_size": 32000,
104
+ "num_channels": 3,
105
+ "layer_norm_eps": 1e-06,
106
+ "kwargs": {
107
+ "model_type": "clip_vision_model"
108
+ }
109
+ },
110
+ "vocab_size": 32064,
111
+ "context_window_size": 8192,
112
+ "sliding_window_size": -1,
113
+ "prefill_chunk_size": 1024,
114
+ "tensor_parallel_shards": 1,
115
+ "max_batch_size": 80,
116
+ "text_architecture": "LlamaForCausalLM"
117
+ },
118
+ "vocab_size": 32064,
119
+ "context_window_size": 8192,
120
+ "sliding_window_size": -1,
121
+ "prefill_chunk_size": 1024,
122
+ "attention_sink_size": -1,
123
+ "tensor_parallel_shards": 1,
124
+ "mean_gen_len": 128,
125
+ "max_gen_len": 512,
126
+ "shift_fill_factor": 0.3,
127
+ "temperature": 0.7,
128
+ "presence_penalty": 0.0,
129
+ "frequency_penalty": 0.0,
130
+ "repetition_penalty": 1.0,
131
+ "top_p": 0.95,
132
+ "conv_template": {
133
+ "name": "llava",
134
+ "system_template": "{system_message}",
135
+ "system_message": "\n",
136
+ "system_prefix_token_ids": [
137
+ 1
138
+ ],
139
+ "add_role_after_system_message": false,
140
+ "roles": {
141
+ "user": "USER",
142
+ "assistant": "ASSISTANT"
143
+ },
144
+ "role_templates": {
145
+ "user": "{user_message}",
146
+ "assistant": "{assistant_message}",
147
+ "tool": "{tool_message}"
148
+ },
149
+ "messages": [],
150
+ "seps": [
151
+ " "
152
+ ],
153
+ "role_content_sep": ": ",
154
+ "role_empty_sep": ":",
155
+ "stop_str": [
156
+ "</s>"
157
+ ],
158
+ "stop_token_ids": [
159
+ 2
160
+ ],
161
+ "function_string": "",
162
+ "use_function_calling": false
163
+ },
164
+ "pad_token_id": 32001,
165
+ "bos_token_id": 1,
166
+ "eos_token_id": 2,
167
+ "tokenizer_files": [
168
+ "tokenizer.model",
169
+ "tokenizer.json",
170
+ "added_tokens.json",
171
+ "tokenizer_config.json"
172
+ ],
173
+ "token_table_postproc_method": "byte_fallback",
174
+ "version": "0.1.0"
175
+ }
ndarray-cache.json ADDED
The diff for this file is too large to render. See raw diff
 
params_shard_0.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5bc0f60e28c2902dfe9fd8a0b1f3c60e938e99015d6103e7594219e99352738
3
+ size 65667072
params_shard_1.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0da5fe5b463dced82db023366039ef7e42f5a8ddb4f2e99d219230a8942510b4
3
+ size 30760960
params_shard_10.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11ac0ef4942c2708f28cdf5aabbdc6342e6d6190af188664f5ff3889e38c416f
3
+ size 31989760
params_shard_100.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0284f2ac77a9dc459693db7a37a930d138fc11b73774c6e486051cef071d9d3
3
+ size 32661504
params_shard_101.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36e0307b794a7daadae2e0c11338536f89cd7c3968e1303c0f8764c4202b117a
3
+ size 31989760
params_shard_102.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a381a9df992aa4b6ac8a4cfd68400e66298a156ed57a18018a8fbcc2a3d0594d
3
+ size 45088768
params_shard_103.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:549c84ce087c04d2499abda2a087938a349a7766ed1f82b7d490c4a1b52ccdef
3
+ size 25165824
params_shard_104.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:616b723ed94c933562a70d6b2133a1a82d326eb772372dc8b45bf186bf5b8275
3
+ size 22544384
params_shard_105.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94cda8f297062e03c356c98d68999dae19c537809f66da253dcbc9e577b69ff0
3
+ size 45088768
params_shard_106.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee5c65d9369a72a54062925bf3a76fa4f5b63dea99b593275abea2590e6d6cb4
3
+ size 25165824
params_shard_107.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cf011f3630d150b48f85c1d1a9cec085402be39c837cc62bf57a82989c6ec21
3
+ size 32661504
params_shard_108.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f37e39a7e0cfc6539046c2c533d17b40d423cc17ebc04d06116ae89158aac7a4
3
+ size 31989760
params_shard_109.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14955a8897e8d22042a5ed75bc7ddee3465df9be44c6b08d0bcb0a51016fe25f
3
+ size 45088768
params_shard_11.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:227a49f792b5b2d5145d670b217152808d0508e85fed07b8eb92edbafa6fef53
3
+ size 45088768
params_shard_110.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04316f6e1bb3d396d21f56185153bb7d26df78d342bd399a372638ca254920b3
3
+ size 25165824
params_shard_111.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a8d667bce5ca2b572a467f692d0936db6a5433f43a3232f7f37366236e7c44c
3
+ size 22544384
params_shard_112.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d85615bd29b151d8aa07da152725e7983ea5baa38ae8f8accaeff08edbf5e62f
3
+ size 45088768
params_shard_113.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0788ee7793347a795246aacc60b7403a345723dd50b39862abd7f78d1b08c35f
3
+ size 25165824
params_shard_114.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d002b25f83c0ea26931a38931a028fd5ce306d96cbff6bcb055fdd26a7f666e
3
+ size 32661504
params_shard_115.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5346ca70881d2c87cfd2cce607dbdd612e91015a800e1183db51767ca24c5863
3
+ size 31989760
params_shard_116.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ce5adb1024db005cb0f09e627e7176492a3fffb66f51bc3581b7b1bbcfbee9e
3
+ size 45088768
params_shard_117.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fa4182c0e7d76bb6ba9288930bbfb1694e334addfc91e102877401d9157afe3
3
+ size 25165824
params_shard_118.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0efb262ed6e3bf4e7b414f7bba158d528a75c28f2886b3f494d75a8f483ac392
3
+ size 25165824
params_shard_119.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:470c8b254fc79df190880ea93917d8b5c18de4e976b6b742f7959f26160ed7ff
3
+ size 32579584
params_shard_12.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe611a08d421d66eb1d29200661222f5afc82f5e6bf24c433f2e7a9474930818
3
+ size 25165824
params_shard_120.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfe3a6750c631c4b4c8d1c11a68ed60f1374452844228535d842c45f4d8aec4d
3
+ size 1048576
params_shard_13.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e7bd49aa97077a396504d34bba81d8357d978554d179c92d4812165e54b5b88
3
+ size 22544384
params_shard_14.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5f22edd6bc61c2d8571a9f38029f7f290aade27c933572fcae59d285ebdf055
3
+ size 45088768
params_shard_15.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34fad1efa86f30290d6ebcdb08260164c33b0229b64d2918a7c087d72eefc695
3
+ size 25165824
params_shard_16.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a82875e36e0db8cee0a5872a14a67037efe1e2aac514699a12283eb1e7de324
3
+ size 32661504
params_shard_17.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1e6ee966ea63f92b172834777efadcd25cfefb92198538e989dab8e5feb1a65
3
+ size 31989760
params_shard_18.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65de01b8307fa0a7a3f178b56e8a0c220ee0c52b9ee3751b038c314f9f256e04
3
+ size 45088768
params_shard_19.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d19d906ce5218d6208aec0a6dde1c1d09f34c6a17a460a246081283aace2006b
3
+ size 25165824
params_shard_2.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d3f7141daca700b3ec94064a428512c7866624d6d2b0e7a16a88842196cb331
3
+ size 45088768
params_shard_20.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da266e86c9f3945226e87b30cd31d40806b94f7d35934e8800e0dd69791d1b33
3
+ size 22544384
params_shard_21.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32f226dd7a0bc5dc9e0cf62fce7fa522880a3d8cd1658da926e3a69835f6f882
3
+ size 45088768
params_shard_22.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f825fea946718967bb2eefe1101ba53aaf3df1ea3de55ff01503bdfd0db2394
3
+ size 25165824
params_shard_23.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cef92b07865804d5804374e10d568223eb3700140b1700f2d6ce150fbd580544
3
+ size 32661504
params_shard_24.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2013eb687f2cc9a5a8ab02e604f79168e874e6ca9b1e5b74d07525fbcf1dd6c8
3
+ size 31989760
params_shard_25.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0890b281e70183ac58c9d46e8e6056dd3e3ee18065bace4a1a0207f5f07af765
3
+ size 45088768
params_shard_26.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5793f762050b2f4c3c3fe7d8e7f06246b8b1866d855bbd76b5626b1366c9a08
3
+ size 25165824
params_shard_27.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:243828394b28c0dba4acb8514979e98fd92f1b714c445cf3e11e4d0337568e11
3
+ size 22544384
params_shard_28.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18783a7b02cb474bb9d783a7c0c63689577d50a40416bdec01ce7ac57bc5e631
3
+ size 45088768
params_shard_29.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60e369f90e8efede29cb014b863fa26749aabc522d0190689b174f4089167aee
3
+ size 25165824
params_shard_3.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20bab7e66e39553a4028a23be7dccddc447eefa3f174dd60bef7a23448c083a0
3
+ size 31014912
params_shard_30.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83b0602316ecc7d5506ebabcdbb2d97c673a6e67a1ee3fd2b0a441aa9636e50c
3
+ size 32661504