YanweiLi commited on
Commit
76e7608
1 Parent(s): 15ee11f

First model version

Browse files
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "model_zoo/LLM/mixtral/Mixtral-8x7B-Instruct-v0.1",
3
+ "architectures": [
4
+ "LlavaMixtralUniForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "aux_img_fold": false,
8
+ "aux_with_fpn": false,
9
+ "bos_token_id": 1,
10
+ "eos_token_id": 2,
11
+ "freeze_mm_mlp_adapter": false,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 4096,
14
+ "image_aspect_ratio": "pad",
15
+ "image_global": true,
16
+ "image_grid": 2,
17
+ "image_grid_pinpoints": null,
18
+ "image_size_aux": 1536,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 14336,
21
+ "max_position_embeddings": 32768,
22
+ "mm_hidden_size": 1024,
23
+ "mm_hidden_size_aux": 2880,
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": "model_zoo/OpenAI/clip-vit-large-patch14-336",
31
+ "mm_vision_tower_aux": "model_zoo/OpenAI/openclip-convnext-large-d-320-laion2B-s29B-b131K-ft-soup",
32
+ "model_type": "llava_uni_mixtral",
33
+ "num_attention_heads": 32,
34
+ "num_experts_per_tok": 2,
35
+ "num_hidden_layers": 32,
36
+ "num_key_value_heads": 8,
37
+ "num_local_experts": 8,
38
+ "optimize_vision_tower": false,
39
+ "optimize_vision_tower_aux": false,
40
+ "output_router_logits": false,
41
+ "rms_norm_eps": 1e-05,
42
+ "rope_theta": 1000000.0,
43
+ "router_aux_loss_coef": 0.02,
44
+ "sliding_window": null,
45
+ "tie_word_embeddings": false,
46
+ "tokenizer_model_max_length": 4096,
47
+ "tokenizer_padding_side": "right",
48
+ "torch_dtype": "bfloat16",
49
+ "transformers_version": "4.36.2",
50
+ "tune_mm_mlp_adapter": false,
51
+ "unified_resampler": "simple_sum",
52
+ "use_cache": true,
53
+ "use_mm_proj": true,
54
+ "use_same_im_pos": false,
55
+ "video_grid": -1,
56
+ "vocab_size": 32000
57
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.36.2"
6
+ }
model-00001-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5beeadee10c7844c6468fa09e37d2992ec88e89e1d25de98457e22d5024d908
3
+ size 4892809584
model-00002-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79dca1b1a78343915384c75418c316e5654a0d23273d8ef05a00d09edbed6d33
3
+ size 4983004016
model-00003-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc56bf21ecbc7cb56dff180e239d915401ca1095a24b045bc5cf59d9fe65a7f8
3
+ size 4983004016
model-00004-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81e8317780a043f7557bf00f119b4e6493f33073fc6d88ba363bb13acc86739a
3
+ size 4899035200
model-00005-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:977c82103d1dc3f76b770f39c188d8011e825d72386c7e2acb25a9fe7f5c57a0
3
+ size 4983004016
model-00006-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:954e31d4d8bf4ce634bd5cb73d16d62573ee8036f31f91ff4ac9ef7f9b39ef68
3
+ size 4983004016
model-00007-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8038edbfa28a95c7abf6750fe81f9b337f5527a55fd2dd9977292ad45fa960a
3
+ size 4899035248
model-00008-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8df4c1913beb41512e038b46d2c1703288eaebb6ab2ff952cfcb6b3bcad2329e
3
+ size 4983004072
model-00009-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fcf455167fabac92f24adc75608a5201ffc029a632747e138437b822d765f77
3
+ size 4983004072
model-00010-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a006807baac131627d0cbacb66f69fd92cbcc1d2aa5cdafaf66aed8c647de440
3
+ size 4899035248
model-00011-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:796ba363568dc2204dc04b09049667f6801fe21bb2d3a57ec4198972d0aaec3d
3
+ size 4983004072
model-00012-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a33be9d0881ec9ff575ab9b3a1214f79814ba7cd06da8419ebf7014cd990c435
3
+ size 4983004072
model-00013-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de67f5175497a257f936ce3610dd663e88fc21c0c27bc750eeb3f5568352cf59
3
+ size 4983004072
model-00014-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2e735203c952ced739b53e21eea051f4878ba34ead75067eaec64f14869b41b
3
+ size 4899035248
model-00015-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:571b3c848f06fa7381753b2fd4215ef6274ee7e0099e63a09d9f8096e1cbe3c3
3
+ size 4983004072
model-00016-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e680627e87175d540f3bcd1e7aacb1605bc8b03b5c4c143ba1365fec9af966d1
3
+ size 4983004072
model-00017-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed19a3840ca79973f387820b1827c5b271248a43da8c9d699c73abfad6fadd10
3
+ size 4899035248
model-00018-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff7cfe9d5f38151366c3f4ab1c214307ae61af098d2d7363f73807ab8230343c
3
+ size 4983004072
model-00019-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8326a97ef88288f7345a645613611fa8a16177f6c7b6fddbde14d6ed5c789f3
3
+ size 4967508568
model-00020-of-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70d5a53d6f6353861fc627b607388e906742bb37dbaa4535688bb013c067aa5c
3
+ size 309635168
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<unk>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
tokenizer_config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ }
29
+ },
30
+ "additional_special_tokens": [],
31
+ "bos_token": "<s>",
32
+ "chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}",
33
+ "clean_up_tokenization_spaces": false,
34
+ "eos_token": "</s>",
35
+ "legacy": true,
36
+ "model_max_length": 4096,
37
+ "pad_token": "<unk>",
38
+ "padding_side": "right",
39
+ "sp_model_kwargs": {},
40
+ "spaces_between_special_tokens": false,
41
+ "tokenizer_class": "LlamaTokenizer",
42
+ "unk_token": "<unk>",
43
+ "use_default_system_prompt": false
44
+ }
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0098b6577323ee202a679eb110b70d4f32726992d7dbb6178af1b2a6de5d963
3
+ size 6459