Commit
•
e21b78a
1
Parent(s):
4c5a5e4
no chat template
Browse files- processor_config.json +1 -2
processor_config.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
-
"chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n'}}{# Render all images first #}{% for content in message['content'] | selectattr('type', 'equalto', 'image') %}{{ '<image>\n' }}{% endfor %}{# Render all video then #}{% for content in message['content'] | selectattr('type', 'equalto', 'video') %}{{ '<video>\n' }}{% 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|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
3 |
"image_token": "<image>",
|
4 |
-
"
|
5 |
"processor_class": "LlavaOnevisionProcessor",
|
6 |
"video_token": "<video>",
|
7 |
"vision_feature_select_strategy": "full"
|
|
|
1 |
{
|
|
|
2 |
"image_token": "<image>",
|
3 |
+
"num_image_tokens": 729,
|
4 |
"processor_class": "LlavaOnevisionProcessor",
|
5 |
"video_token": "<video>",
|
6 |
"vision_feature_select_strategy": "full"
|