ermu2001 commited on
Commit
e51c327
1 Parent(s): ea337ac

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ model.safetensors-deprecated filter=lfs diff=lfs merge=lfs -text
added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<image>": 64002,
3
+ "<|endoftext|>": 64001,
4
+ "<|startoftext|>": 64000
5
+ }
config.json ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "MODELS/llava-v1.6-34b-hf",
3
+ "architectures": [
4
+ "MagicForConditionalGeneration"
5
+ ],
6
+ "causal_conv_ks": [
7
+ 3,
8
+ 3,
9
+ 3
10
+ ],
11
+ "causal_conv_pad_mod": "constant",
12
+ "dilation": 1,
13
+ "frame_shape": [
14
+ 24,
15
+ 24
16
+ ],
17
+ "highres": null,
18
+ "ignore_index": -100,
19
+ "image_grid_pinpoints": [
20
+ [
21
+ 336,
22
+ 672
23
+ ],
24
+ [
25
+ 672,
26
+ 336
27
+ ],
28
+ [
29
+ 672,
30
+ 672
31
+ ],
32
+ [
33
+ 1008,
34
+ 336
35
+ ],
36
+ [
37
+ 336,
38
+ 1008
39
+ ]
40
+ ],
41
+ "image_token_index": 64002,
42
+ "model_type": "llava",
43
+ "num_frames": 16,
44
+ "pooling_method": "avg",
45
+ "pooling_shape": [
46
+ 16,
47
+ 12,
48
+ 12
49
+ ],
50
+ "projector_hidden_act": "gelu",
51
+ "register": false,
52
+ "slide_pooling_shape": [
53
+ 16,
54
+ 2,
55
+ 2
56
+ ],
57
+ "stride": 1,
58
+ "text_config": {
59
+ "_name_or_path": "NousResearch/Nous-Hermes-2-Yi-34B",
60
+ "architectures": [
61
+ "LlamaForCausalLM"
62
+ ],
63
+ "eos_token_id": 7,
64
+ "gradient_checkpointing": false,
65
+ "hidden_size": 7168,
66
+ "intermediate_size": 20480,
67
+ "max_position_embeddings": 4096,
68
+ "model_type": "llama",
69
+ "num_attention_heads": 56,
70
+ "num_hidden_layers": 60,
71
+ "num_key_value_heads": 8,
72
+ "pad_token_id": 0,
73
+ "rms_norm_eps": 1e-05,
74
+ "rope_theta": 5000000.0,
75
+ "torch_dtype": "bfloat16",
76
+ "use_cache": true,
77
+ "vocab_size": 64064
78
+ },
79
+ "torch_dtype": "bfloat16",
80
+ "transformers_version": "4.37.1",
81
+ "use_cc": false,
82
+ "use_image_newline_parameter": true,
83
+ "use_pooling": true,
84
+ "use_yi": false,
85
+ "vision_config": {
86
+ "hidden_size": 1024,
87
+ "image_size": 336,
88
+ "intermediate_size": 4096,
89
+ "model_type": "clip_vision_model",
90
+ "num_attention_heads": 16,
91
+ "num_hidden_layers": 24,
92
+ "patch_size": 14,
93
+ "projection_dim": 768,
94
+ "vocab_size": 32000
95
+ },
96
+ "vision_feature_layer": -2,
97
+ "vision_feature_select_strategy": "default",
98
+ "vocab_size": 64064
99
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 7,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.37.1",
7
+ "use_cache": false
8
+ }
model-00001-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb5984a52a1f0ba666a0bcde49f2e616903987e0ee6087e48e4318b9360bce88
3
+ size 4713777904
model-00002-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:057c5f34030620ce17a4435b4bd42fb0c288fa212d0b871538f8a10a6d33795d
3
+ size 4917450104
model-00003-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efa83eae4b10e026329825b647d467f59a556de1f47a9ed5778beb2cf6f77f3e
3
+ size 4882292888
model-00004-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4941d3cdc160f395733e2f6095dbecfae9ec9f21e2593d38603164e328935900
3
+ size 4779532328
model-00005-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e484a8d26fb778d0f31e5973c82ef770b17ab62f13ab802fb6ff37cf37cf1d46
3
+ size 4917450168
model-00006-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c5b848719cea638cc67b9de55983b910467b1d933e75acda84f8817b4d682e9
3
+ size 4882292920
model-00007-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd9482fb59a916b280b5fbdbfe5665c4909970460a587f9d1a57380c94aafe5d
3
+ size 4779532328
model-00008-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53cf10aed2db791cb4737efaf079c62681b5f28c172ca4d6afb5767eebfbd329
3
+ size 4917450168
model-00009-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea9e1607b1afc30907f82d5e2c772c11d37d35c557462449df8be49fd59b10db
3
+ size 4882292920
model-00010-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d65cfe302834b90fb10ed90eb08a4186a077a6c8fe12c58ccae1bbd4877ba7c9
3
+ size 4779532328
model-00011-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a491f2338e6404564a7dea4e8bff167fc8df4b2cee35e5fd354f1e76b2f7fc6e
3
+ size 4917450168
model-00012-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cab9a7831dc11e7e0c41b3cf6cb7438056362b21364ec06b0239ca13bed4968
3
+ size 4882292920
model-00013-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:452da7c5f2619ac19cffcf30a2121bd56fcea9f43a56e5a031f2e4dc0dc9c040
3
+ size 4779532328
model-00014-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7f57097ed5d3ec2540f4b0878c4525b785859535047e73ab1cd0ca11ef224c1
3
+ size 4917450168
model-00015-of-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:149724923406fa20d9c3488d9b746c9f869bf30e65fab2ccbc8b6c144e6d0b3c
3
+ size 1902029968
model.safetensors-deprecated ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ff236d202deb53c3066e95bccfa256e617b658baca835298d20ded3186cfea0
3
+ size 2461584
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
preprocessor_config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "aspect_ratio_setting": "anyres",
3
+ "crop_size": {
4
+ "height": 336,
5
+ "width": 336
6
+ },
7
+ "do_center_crop": true,
8
+ "do_convert_rgb": true,
9
+ "do_normalize": true,
10
+ "do_rescale": true,
11
+ "do_resize": true,
12
+ "image_grid_pinpoints": [
13
+ [
14
+ 336,
15
+ 672
16
+ ],
17
+ [
18
+ 672,
19
+ 336
20
+ ],
21
+ [
22
+ 672,
23
+ 672
24
+ ],
25
+ [
26
+ 1008,
27
+ 336
28
+ ],
29
+ [
30
+ 336,
31
+ 1008
32
+ ]
33
+ ],
34
+ "image_mean": [
35
+ 0.48145466,
36
+ 0.4578275,
37
+ 0.40821073
38
+ ],
39
+ "image_processor_type": "CLIPImageProcessor",
40
+ "image_std": [
41
+ 0.26862954,
42
+ 0.26130258,
43
+ 0.27577711
44
+ ],
45
+ "processor_class": "MagicProcessor",
46
+ "resample": 3,
47
+ "rescale_factor": 0.00392156862745098,
48
+ "size": {
49
+ "shortest_edge": 336
50
+ }
51
+ }
processor_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "center_pad": false,
3
+ "longest_edge": 762,
4
+ "processor_class": "MagicProcessor",
5
+ "shortest_edge": 336
6
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<image>"
4
+ ],
5
+ "bos_token": {
6
+ "content": "<|startoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "eos_token": {
13
+ "content": "<|im_end|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false
18
+ },
19
+ "pad_token": {
20
+ "content": "<unk>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "unk_token": {
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
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,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": true,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "6": {
31
+ "content": "<|im_start|>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": false
37
+ },
38
+ "7": {
39
+ "content": "<|im_end|>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": true
45
+ },
46
+ "64000": {
47
+ "content": "<|startoftext|>",
48
+ "lstrip": false,
49
+ "normalized": false,
50
+ "rstrip": false,
51
+ "single_word": false,
52
+ "special": true
53
+ },
54
+ "64001": {
55
+ "content": "<|endoftext|>",
56
+ "lstrip": false,
57
+ "normalized": false,
58
+ "rstrip": false,
59
+ "single_word": false,
60
+ "special": true
61
+ },
62
+ "64002": {
63
+ "content": "<image>",
64
+ "lstrip": false,
65
+ "normalized": false,
66
+ "rstrip": false,
67
+ "single_word": false,
68
+ "special": true
69
+ }
70
+ },
71
+ "additional_special_tokens": [
72
+ "<image>"
73
+ ],
74
+ "bos_token": "<|startoftext|>",
75
+ "center_pad": false,
76
+ "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 %}",
77
+ "clean_up_tokenization_spaces": false,
78
+ "eos_token": "<|im_end|>",
79
+ "legacy": true,
80
+ "model_max_length": 4096,
81
+ "pad_token": "<unk>",
82
+ "padding_side": "right",
83
+ "processor_class": "MagicProcessor",
84
+ "sp_model_kwargs": {},
85
+ "spaces_between_special_tokens": false,
86
+ "tokenizer_class": "LlamaTokenizer",
87
+ "trust_remote_code": false,
88
+ "unk_token": "<unk>",
89
+ "use_default_system_prompt": false,
90
+ "use_fast": true
91
+ }