Upload 23 files
Browse files- .gitattributes +1 -0
- added_tokens.json +6 -0
- config.json +79 -0
- generation_config.json +7 -0
- merges.txt +0 -0
- model-00001-of-00013.safetensors +3 -0
- model-00002-of-00013.safetensors +3 -0
- model-00003-of-00013.safetensors +3 -0
- model-00004-of-00013.safetensors +3 -0
- model-00005-of-00013.safetensors +3 -0
- model-00006-of-00013.safetensors +3 -0
- model-00007-of-00013.safetensors +3 -0
- model-00008-of-00013.safetensors +3 -0
- model-00009-of-00013.safetensors +3 -0
- model-00010-of-00013.safetensors +3 -0
- model-00011-of-00013.safetensors +3 -0
- model-00012-of-00013.safetensors +3 -0
- model-00013-of-00013.safetensors +3 -0
- model.safetensors.index.json +0 -0
- preprocessor_config.json +51 -0
- special_tokens_map.json +20 -0
- tokenizer.json +3 -0
- tokenizer_config.json +52 -0
- vocab.json +0 -0
.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 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
added_tokens.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<image>": 151646,
|
3 |
+
"<|endoftext|>": 151643,
|
4 |
+
"<|im_end|>": 151645,
|
5 |
+
"<|im_start|>": 151644
|
6 |
+
}
|
config.json
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/mnt/nvme01/huggingface/models/Llava-HF/llava-next-110b-hf",
|
3 |
+
"architectures": [
|
4 |
+
"LlavaNextForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"ignore_index": -100,
|
7 |
+
"image_grid_pinpoints": [
|
8 |
+
[
|
9 |
+
336,
|
10 |
+
672
|
11 |
+
],
|
12 |
+
[
|
13 |
+
672,
|
14 |
+
336
|
15 |
+
],
|
16 |
+
[
|
17 |
+
672,
|
18 |
+
672
|
19 |
+
],
|
20 |
+
[
|
21 |
+
1008,
|
22 |
+
336
|
23 |
+
],
|
24 |
+
[
|
25 |
+
336,
|
26 |
+
1008
|
27 |
+
]
|
28 |
+
],
|
29 |
+
"image_seq_length": 576,
|
30 |
+
"image_token_index": 151646,
|
31 |
+
"model_type": "llava_next",
|
32 |
+
"projector_hidden_act": "gelu",
|
33 |
+
"quantization_config": {
|
34 |
+
"bits": 4,
|
35 |
+
"group_size": 128,
|
36 |
+
"modules_to_not_convert": null,
|
37 |
+
"quant_method": "awq",
|
38 |
+
"version": "gemm",
|
39 |
+
"zero_point": true
|
40 |
+
},
|
41 |
+
"text_config": {
|
42 |
+
"_name_or_path": "Qwen/Qwen1.5-110B-Chat",
|
43 |
+
"architectures": [
|
44 |
+
"Qwen2ForCausalLM"
|
45 |
+
],
|
46 |
+
"bos_token_id": 151643,
|
47 |
+
"eos_token_id": 151645,
|
48 |
+
"hidden_size": 8192,
|
49 |
+
"intermediate_size": 49152,
|
50 |
+
"max_position_embeddings": 32768,
|
51 |
+
"max_window_layers": 70,
|
52 |
+
"model_type": "qwen2",
|
53 |
+
"num_attention_heads": 64,
|
54 |
+
"num_hidden_layers": 80,
|
55 |
+
"num_key_value_heads": 8,
|
56 |
+
"rope_theta": 1000000.0,
|
57 |
+
"sliding_window": null,
|
58 |
+
"torch_dtype": "bfloat16",
|
59 |
+
"use_sliding_window": false,
|
60 |
+
"vocab_size": 152064
|
61 |
+
},
|
62 |
+
"tie_word_embeddings": false,
|
63 |
+
"torch_dtype": "float16",
|
64 |
+
"transformers_version": "4.46.0.dev0",
|
65 |
+
"use_image_newline_parameter": true,
|
66 |
+
"vision_config": {
|
67 |
+
"hidden_size": 1024,
|
68 |
+
"image_size": 336,
|
69 |
+
"intermediate_size": 4096,
|
70 |
+
"model_type": "clip_vision_model",
|
71 |
+
"num_attention_heads": 16,
|
72 |
+
"num_hidden_layers": 24,
|
73 |
+
"patch_size": 14,
|
74 |
+
"projection_dim": 768,
|
75 |
+
"vocab_size": 32000
|
76 |
+
},
|
77 |
+
"vision_feature_layer": -2,
|
78 |
+
"vision_feature_select_strategy": "default"
|
79 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 151643,
|
4 |
+
"do_sample": true,
|
5 |
+
"eos_token_id": 151645,
|
6 |
+
"transformers_version": "4.46.0.dev0"
|
7 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model-00001-of-00013.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:34716f2814516f48a22dd8cca2138c56e4a396f9590cb36e92ae0e4ff92440b9
|
3 |
+
size 4949341904
|
model-00002-of-00013.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b7414555e5a01acd8b52e951ad34157cf63ce7b382505b7245a5df397f692ee
|
3 |
+
size 4942531352
|
model-00003-of-00013.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:606166c5f499952719242c0f1ea0a5b106ca17b500b2fbe9125e50b3f9fc9d6f
|
3 |
+
size 4942531512
|
model-00004-of-00013.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d4525b5a4337e4740a35d95c452603db42ddeda6ba93c380c22e8acefa1d710e
|
3 |
+
size 4942531536
|
model-00005-of-00013.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de1ce75d82641e534ef979f8365faa2855fa385c409fb2143cce80a0fcc96020
|
3 |
+
size 4942531536
|
model-00006-of-00013.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab9709f0ae23bcb9c3935147d862cee69230a7266d9e6985ecaa5aa510347c5f
|
3 |
+
size 4942531536
|
model-00007-of-00013.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1b37f6c9144e3f45472f12a4bf5cd899523eab5319a4f632e5444b09c52e1001
|
3 |
+
size 4942531536
|
model-00008-of-00013.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e3101769319d0d45d86dcf05f1d1ea4bcbdc32cba685da3e5b649f5762e76c60
|
3 |
+
size 4942531536
|
model-00009-of-00013.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27c90772e00bf22f77f139e33ca5e86b44be3523bd2db673b4ae30f30e932839
|
3 |
+
size 4942531536
|
model-00010-of-00013.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b07cd229b7e0e2f6831042d4cad2c78888bcc1f867eb2df71360501ddcf688f4
|
3 |
+
size 4942531536
|
model-00011-of-00013.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90232c696936e4ea6af9dc88a8c50c8a41d7ade85f25f60cc77f35e9346502cf
|
3 |
+
size 4942531536
|
model-00012-of-00013.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e3e6441bbb94f6839d2853b039754138a05016f1c4e6a5219d716b385db2e278
|
3 |
+
size 4942531536
|
model-00013-of-00013.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:39b87b2c9338ef0fe210b7d26dcab28102bea814eae3ef8b94b62a7afa4fa129
|
3 |
+
size 2909848816
|
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 |
+
"crop_size": {
|
3 |
+
"height": 336,
|
4 |
+
"width": 336
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_convert_rgb": true,
|
8 |
+
"do_normalize": true,
|
9 |
+
"do_pad": 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": "LlavaNextImageProcessor",
|
40 |
+
"image_std": [
|
41 |
+
0.26862954,
|
42 |
+
0.26130258,
|
43 |
+
0.27577711
|
44 |
+
],
|
45 |
+
"processor_class": "LlavaNextProcessor",
|
46 |
+
"resample": 3,
|
47 |
+
"rescale_factor": 0.00392156862745098,
|
48 |
+
"size": {
|
49 |
+
"shortest_edge": 336
|
50 |
+
}
|
51 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_start|>",
|
4 |
+
"<|im_end|>"
|
5 |
+
],
|
6 |
+
"eos_token": {
|
7 |
+
"content": "<|im_end|>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"pad_token": {
|
14 |
+
"content": "<|endoftext|>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
}
|
20 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:32e8f623d8dce60b5a93496ec810434ef744287ac041cf2c6032743a3578baa5
|
3 |
+
size 11418450
|
tokenizer_config.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"151643": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"151644": {
|
13 |
+
"content": "<|im_start|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"151645": {
|
21 |
+
"content": "<|im_end|>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"151646": {
|
29 |
+
"content": "<image>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
}
|
36 |
+
},
|
37 |
+
"additional_special_tokens": [
|
38 |
+
"<|im_start|>",
|
39 |
+
"<|im_end|>"
|
40 |
+
],
|
41 |
+
"bos_token": null,
|
42 |
+
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
43 |
+
"clean_up_tokenization_spaces": false,
|
44 |
+
"eos_token": "<|im_end|>",
|
45 |
+
"errors": "replace",
|
46 |
+
"model_max_length": 32768,
|
47 |
+
"pad_token": "<|endoftext|>",
|
48 |
+
"processor_class": "LlavaNextProcessor",
|
49 |
+
"split_special_tokens": false,
|
50 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
51 |
+
"unk_token": null
|
52 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|