Upload processor
Browse files- added_tokens.json +3 -0
- chat_template.json +3 -0
- preprocessor_config.json +3 -3
- tokenizer.json +2 -2
- tokenizer.model +3 -0
- tokenizer_config.json +0 -4
added_tokens.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<image>": 257152
|
| 3 |
+
}
|
chat_template.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chat_template": "{{ bos_token }}{% if messages[0]['role'] == 'system' %}{{ raise_exception('System role not supported') }}{% endif %}{% 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'] == 'assistant') %}{% set role = 'model' %}{% else %}{% set role = message['role'] %}{% endif %}{{ '<start_of_turn>' + role + '\n' }}{% for content in message['content'] %}{% if content['type'] == 'text' %}{{ content['text'] | trim }}{% endif %}{% endfor %}{{ '<end_of_turn>\n' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model'}}{% endif %}"
|
| 3 |
+
}
|
preprocessor_config.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
| 9 |
0.5
|
| 10 |
],
|
| 11 |
"image_processor_type": "SiglipImageProcessor",
|
| 12 |
-
"image_seq_length":
|
| 13 |
"image_std": [
|
| 14 |
0.5,
|
| 15 |
0.5,
|
|
@@ -19,7 +19,7 @@
|
|
| 19 |
"resample": 3,
|
| 20 |
"rescale_factor": 0.00392156862745098,
|
| 21 |
"size": {
|
| 22 |
-
"height":
|
| 23 |
-
"width":
|
| 24 |
}
|
| 25 |
}
|
|
|
|
| 9 |
0.5
|
| 10 |
],
|
| 11 |
"image_processor_type": "SiglipImageProcessor",
|
| 12 |
+
"image_seq_length": 256,
|
| 13 |
"image_std": [
|
| 14 |
0.5,
|
| 15 |
0.5,
|
|
|
|
| 19 |
"resample": 3,
|
| 20 |
"rescale_factor": 0.00392156862745098,
|
| 21 |
"size": {
|
| 22 |
+
"height": 224,
|
| 23 |
+
"width": 224
|
| 24 |
}
|
| 25 |
}
|
tokenizer.json
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:172fab587d68c56b63eb3620057c62dfd15e503079ff7fce584692e3fd5bf4da
|
| 3 |
+
size 34600820
|
tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8986bb4f423f07f8c7f70d0dbe3526fb2316056c17bae71b1ea975e77a168fc6
|
| 3 |
+
size 4264023
|
tokenizer_config.json
CHANGED
|
@@ -10969,12 +10969,8 @@
|
|
| 10969 |
"bos_token": "<bos>",
|
| 10970 |
"clean_up_tokenization_spaces": false,
|
| 10971 |
"eos_token": "<eos>",
|
| 10972 |
-
"max_length": 50,
|
| 10973 |
"model_max_length": 1000000000000000019884624838656,
|
| 10974 |
-
"pad_to_multiple_of": null,
|
| 10975 |
"pad_token": "<pad>",
|
| 10976 |
-
"pad_token_type_id": 0,
|
| 10977 |
-
"padding_side": "right",
|
| 10978 |
"processor_class": "ColPaliProcessor",
|
| 10979 |
"sp_model_kwargs": {},
|
| 10980 |
"spaces_between_special_tokens": false,
|
|
|
|
| 10969 |
"bos_token": "<bos>",
|
| 10970 |
"clean_up_tokenization_spaces": false,
|
| 10971 |
"eos_token": "<eos>",
|
|
|
|
| 10972 |
"model_max_length": 1000000000000000019884624838656,
|
|
|
|
| 10973 |
"pad_token": "<pad>",
|
|
|
|
|
|
|
| 10974 |
"processor_class": "ColPaliProcessor",
|
| 10975 |
"sp_model_kwargs": {},
|
| 10976 |
"spaces_between_special_tokens": false,
|