YanweiLi commited on
Commit
42f3d0e
1 Parent(s): 76d41fc

First model version

Browse files
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "model_zoo/LLM/Nous-Hermes-2-Yi-34B",
3
+ "architectures": [
4
+ "LlavaLlamaUniForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "aux_img_fold": false,
9
+ "aux_with_fpn": false,
10
+ "bos_token_id": 1,
11
+ "eos_token_id": 7,
12
+ "freeze_mm_mlp_adapter": false,
13
+ "hidden_act": "silu",
14
+ "hidden_size": 7168,
15
+ "image_aspect_ratio": "pad",
16
+ "image_global": true,
17
+ "image_grid": 2,
18
+ "image_grid_pinpoints": null,
19
+ "image_size_aux": 1536,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 20480,
22
+ "max_position_embeddings": 4096,
23
+ "mm_hidden_size": 1024,
24
+ "mm_hidden_size_aux": 2880,
25
+ "mm_projector_lr": null,
26
+ "mm_projector_type": "mlp2x_gelu",
27
+ "mm_use_im_patch_token": false,
28
+ "mm_use_im_start_end": false,
29
+ "mm_vision_select_feature": "patch",
30
+ "mm_vision_select_layer": -2,
31
+ "mm_vision_tower": "model_zoo/OpenAI/clip-vit-large-patch14-336",
32
+ "mm_vision_tower_aux": "model_zoo/OpenAI/openclip-convnext-large-d-320-laion2B-s29B-b131K-ft-soup",
33
+ "model_type": "llava_uni",
34
+ "num_attention_heads": 56,
35
+ "num_hidden_layers": 60,
36
+ "num_key_value_heads": 8,
37
+ "optimize_vision_tower": false,
38
+ "optimize_vision_tower_aux": false,
39
+ "pad_token_id": 0,
40
+ "pretraining_tp": 1,
41
+ "rms_norm_eps": 1e-05,
42
+ "rope_scaling": null,
43
+ "rope_theta": 5000000.0,
44
+ "tie_word_embeddings": false,
45
+ "tokenizer_model_max_length": 4096,
46
+ "tokenizer_padding_side": "right",
47
+ "torch_dtype": "bfloat16",
48
+ "transformers_version": "4.36.2",
49
+ "tune_mm_mlp_adapter": false,
50
+ "unified_resampler": "simple_sum",
51
+ "use_cache": true,
52
+ "use_mm_proj": true,
53
+ "use_same_im_pos": false,
54
+ "video_grid": -1,
55
+ "vocab_size": 64000
56
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.36.2"
7
+ }
model-00001-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef5b3b150c7d05226e9226011ad801958acc527c43414a6724d7615dc29e873b
3
+ size 4793130760
model-00002-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d207e6e0fd64b534ff1bc7265a5655a61bca5ee9b57b24507b485277b76eba7
3
+ size 4756459720
model-00003-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bc47107b009f1cf8a989c9f582251f70427804e898d832962c076f4e23f6b85
3
+ size 4991370136
model-00004-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de25008057ea76c78c3fdcd40d19bdf32d6ad9d31695622b507b13cfa4e663e8
3
+ size 4756459760
model-00005-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3aad62cd79ac2e422693fe75b82c3f34a209319a968221712c766bb262a1efb6
3
+ size 4756459760
model-00006-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd54a76bdc41e0b9444578cd6ae01afbec4e4e1e4a630dd8be80686a7b2020c9
3
+ size 4991370160
model-00007-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53b24b9c9169fcab5941431f11c83fdcc3bc48aa0c197f56d2387627e743999f
3
+ size 4756459760
model-00008-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9807e155c02450d3d0d05a12cf14fd67aba9060b6e20c830a1e6ade7b7d28b93
3
+ size 4756459760
model-00009-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd77af9abc0b7b7609488e89d844b83a4710ab77e2c1b15dfc31d5f3db3c8074
3
+ size 4991370160
model-00010-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e30ccc99e8c14ffc82e446cd6860a8dafb1346375a824babef326f13ca16b92d
3
+ size 4756459760
model-00011-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7422c208e163ddfff4978e6d3939983af27b210a82861f2ea228dcdd86e39bea
3
+ size 4756459760
model-00012-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0e94b900303deeb10bc3d3a57b292879c6e1e1f342089da6a95257b6d9557fb
3
+ size 4991370160
model-00013-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36170ac0ab66c668de6f926fb3c83cf62ac378f029f62c29dd440a0bbe4ae369
3
+ size 4756459760
model-00014-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b4fcbf8fff6ce628fb3336559982c42c5757234d377d904144d03ac9cd0d220
3
+ size 4756459760
model-00015-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d46ade0902e55d47e6cdc82eb7badab9986f21fb832a8459bbcbc74f0c4c9764
3
+ size 2342123256
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": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|im_end|>",
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:386c49cf943d71aa110361135338c50e38beeff0a66593480421f37b319e1a39
3
+ size 1033105
tokenizer_config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
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": "<|startoftext|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "<|endoftext|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "6": {
30
+ "content": "<|im_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": false
36
+ },
37
+ "7": {
38
+ "content": "<|im_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ }
45
+ },
46
+ "bos_token": "<|startoftext|>",
47
+ "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
48
+ "clean_up_tokenization_spaces": false,
49
+ "eos_token": "<|im_end|>",
50
+ "legacy": true,
51
+ "model_max_length": 4096,
52
+ "pad_token": "<unk>",
53
+ "padding_side": "right",
54
+ "sp_model_kwargs": {},
55
+ "spaces_between_special_tokens": false,
56
+ "tokenizer_class": "LlamaTokenizer",
57
+ "trust_remote_code": false,
58
+ "unk_token": "<unk>",
59
+ "use_default_system_prompt": false,
60
+ "use_fast": true
61
+ }
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:769ffb4e046dbf70b22b54d6dc547cdb8f9031c18aac3d0f5dedce02afe7862f
3
+ size 6459