Upload folder using huggingface_hub
Browse files- added_tokens.json +40 -0
- chat_template.jinja +10 -1
- generation_config.json +1 -2
- merges.txt +0 -0
- model-00001-of-00007.safetensors +2 -2
- model-00002-of-00007.safetensors +2 -2
- model-00003-of-00007.safetensors +2 -2
- model-00004-of-00007.safetensors +2 -2
- model-00005-of-00007.safetensors +2 -2
- model-00006-of-00007.safetensors +2 -2
- model-00007-of-00007.safetensors +2 -2
- model.safetensors.index.json +0 -0
- tokenizer_config.json +18 -1
- vocab.json +0 -0
added_tokens.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</bbox>": 151677,
|
| 3 |
+
"</char>": 151673,
|
| 4 |
+
"</obj>": 151675,
|
| 5 |
+
"</think>": 151668,
|
| 6 |
+
"</tool_call>": 151658,
|
| 7 |
+
"</tool_response>": 151666,
|
| 8 |
+
"<bbox>": 151676,
|
| 9 |
+
"<char>": 151672,
|
| 10 |
+
"<delim>": 151678,
|
| 11 |
+
"<gro>": 151670,
|
| 12 |
+
"<image>": 151679,
|
| 13 |
+
"<obj>": 151674,
|
| 14 |
+
"<ocr>": 151671,
|
| 15 |
+
"<think>": 151667,
|
| 16 |
+
"<tool_call>": 151657,
|
| 17 |
+
"<tool_response>": 151665,
|
| 18 |
+
"<video>": 151680,
|
| 19 |
+
"<|box_end|>": 151649,
|
| 20 |
+
"<|box_start|>": 151648,
|
| 21 |
+
"<|endoftext|>": 151643,
|
| 22 |
+
"<|file_sep|>": 151664,
|
| 23 |
+
"<|fim_middle|>": 151660,
|
| 24 |
+
"<|fim_pad|>": 151662,
|
| 25 |
+
"<|fim_prefix|>": 151659,
|
| 26 |
+
"<|fim_suffix|>": 151661,
|
| 27 |
+
"<|im_end|>": 151645,
|
| 28 |
+
"<|im_start|>": 151644,
|
| 29 |
+
"<|image_pad|>": 151655,
|
| 30 |
+
"<|object_ref_end|>": 151647,
|
| 31 |
+
"<|object_ref_start|>": 151646,
|
| 32 |
+
"<|quad_end|>": 151651,
|
| 33 |
+
"<|quad_start|>": 151650,
|
| 34 |
+
"<|repo_name|>": 151663,
|
| 35 |
+
"<|video_pad|>": 151656,
|
| 36 |
+
"<|vision_end|>": 151653,
|
| 37 |
+
"<|vision_pad|>": 151654,
|
| 38 |
+
"<|vision_start|>": 151652,
|
| 39 |
+
"[UNK]": 151669
|
| 40 |
+
}
|
chat_template.jinja
CHANGED
|
@@ -1 +1,10 @@
|
|
| 1 |
-
{% if messages[0]['role'] == 'system' %}{{'<|im_start|>system
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% if messages[0]['role'] == 'system' %}{{'<|im_start|>system
|
| 2 |
+
' + messages[0]['content'] + '<|im_end|>
|
| 3 |
+
'}}{% else %}{{'<|im_start|>system
|
| 4 |
+
You are VARCO-VISION, created by NC AI. You are a helpful assistant.<|im_end|>
|
| 5 |
+
'}}{% endif %}{% for message in messages %}{% if message['role'] == 'user' or message['role'] == 'system' and not loop.first or message['role'] == 'assistant' %}{{'<|im_start|>' + message['role'] + '
|
| 6 |
+
'}}{# Render all images first #}{% for content in message['content'] | selectattr('type', 'equalto', 'image') %}{{ '<image>
|
| 7 |
+
' }}{% endfor %}{# Render all video then #}{% for content in message['content'] | selectattr('type', 'equalto', 'video') %}{{ '<video>
|
| 8 |
+
' }}{% endfor %}{# Render all text next #}{% if message['role'] != 'assistant' %}{% for content in message['content'] | selectattr('type', 'equalto', 'text') %}{{ content['text'] }}{% endfor %}{% else %}{% for content in message['content'] | selectattr('type', 'equalto', 'text') %}{% generation %}{{ content['text'] }}{% endgeneration %}{% endfor %}{% endif %}{{'<|im_end|>' + '
|
| 9 |
+
'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
|
| 10 |
+
' }}{% endif %}
|
generation_config.json
CHANGED
|
@@ -2,6 +2,5 @@
|
|
| 2 |
"_from_model_config": true,
|
| 3 |
"bos_token_id": 151643,
|
| 4 |
"eos_token_id": 151645,
|
| 5 |
-
"transformers_version": "4.
|
| 6 |
-
"use_cache": false
|
| 7 |
}
|
|
|
|
| 2 |
"_from_model_config": true,
|
| 3 |
"bos_token_id": 151643,
|
| 4 |
"eos_token_id": 151645,
|
| 5 |
+
"transformers_version": "4.53.1"
|
|
|
|
| 6 |
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model-00001-of-00007.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce55d54e06c4c745b6ca7b48a13ce1af630e8303e11ef1fe25befe94db7b2a1a
|
| 3 |
+
size 4877307920
|
model-00002-of-00007.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:005b8436d9b7c57fef79eefbac03e945d9afd2ca4a7b8c63fff4ba33ab52dd8d
|
| 3 |
+
size 4928486224
|
model-00003-of-00007.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9ea2dc9fe8f114859e1aac3f2b1478df97bc8199e3001f9c2d564859ea78951
|
| 3 |
+
size 4980893216
|
model-00004-of-00007.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9873132aed98e8846be9eeef755ab0e37d09ce4f9d941f1145da66450f696427
|
| 3 |
+
size 4928486304
|
model-00005-of-00007.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7dd09186aa7a17806409117686f804e8b99a20ff5eb00f95c536259446de937c
|
| 3 |
+
size 4980893216
|
model-00006-of-00007.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13ff9bae2e0c4db6167461eb9bd46c8b409c5d11f61eac3be284c0267be59aae
|
| 3 |
+
size 4142040936
|
model-00007-of-00007.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1faa9c4b807b278b13c14ea8202bc0d248dcb0cc7df2f7f00664170867088bab
|
| 3 |
+
size 1553213584
|
model.safetensors.index.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
CHANGED
|
@@ -289,6 +289,22 @@
|
|
| 289 |
"rstrip": false,
|
| 290 |
"single_word": false,
|
| 291 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 292 |
}
|
| 293 |
},
|
| 294 |
"additional_special_tokens": [
|
|
@@ -307,9 +323,10 @@
|
|
| 307 |
"eos_token": "<|im_end|>",
|
| 308 |
"errors": "replace",
|
| 309 |
"extra_special_tokens": {},
|
| 310 |
-
"model_max_length":
|
| 311 |
"pad_token": "[UNK]",
|
| 312 |
"padding_side": "right",
|
|
|
|
| 313 |
"split_special_tokens": false,
|
| 314 |
"tokenizer_class": "Qwen2Tokenizer",
|
| 315 |
"unk_token": "[UNK]"
|
|
|
|
| 289 |
"rstrip": false,
|
| 290 |
"single_word": false,
|
| 291 |
"special": true
|
| 292 |
+
},
|
| 293 |
+
"151679": {
|
| 294 |
+
"content": "<image>",
|
| 295 |
+
"lstrip": false,
|
| 296 |
+
"normalized": false,
|
| 297 |
+
"rstrip": false,
|
| 298 |
+
"single_word": false,
|
| 299 |
+
"special": true
|
| 300 |
+
},
|
| 301 |
+
"151680": {
|
| 302 |
+
"content": "<video>",
|
| 303 |
+
"lstrip": false,
|
| 304 |
+
"normalized": false,
|
| 305 |
+
"rstrip": false,
|
| 306 |
+
"single_word": false,
|
| 307 |
+
"special": true
|
| 308 |
}
|
| 309 |
},
|
| 310 |
"additional_special_tokens": [
|
|
|
|
| 323 |
"eos_token": "<|im_end|>",
|
| 324 |
"errors": "replace",
|
| 325 |
"extra_special_tokens": {},
|
| 326 |
+
"model_max_length": 16384,
|
| 327 |
"pad_token": "[UNK]",
|
| 328 |
"padding_side": "right",
|
| 329 |
+
"processor_class": "LlavaOnevisionProcessor",
|
| 330 |
"split_special_tokens": false,
|
| 331 |
"tokenizer_class": "Qwen2Tokenizer",
|
| 332 |
"unk_token": "[UNK]"
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|