RaushanTurganbay HF staff commited on
Commit
b555d05
1 Parent(s): 0edbcd8

no need, chat template should be loaded from its own file (upgrade transformers)

Browse files
Files changed (1) hide show
  1. processor_config.json +0 -4
processor_config.json DELETED
@@ -1,4 +0,0 @@
1
- {
2
- "chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{{ message['content'][0]['text'] }}{% else %}{{ message['role'].upper() + ': '}}{% endif %}{# Render all images first #}{% for content in message['content'] | selectattr('type', 'equalto', 'image') %}{{ '<image>\n' }}{% endfor %}{# Render all images first #}{% for content in message['content'] | selectattr('type', 'equalto', 'video') %}{{ '<video>\n' }}{% endfor %}{# Render all text next #}{% for content in message['content'] | selectattr('type', 'equalto', 'text') %}{{ content['text'] + ' '}}{% endfor %}{% endfor %}{% if add_generation_prompt %}{{ 'ASSISTANT:' }}{% endif %}",
3
- "processor_class": "LlavaNextVideoProcessor"
4
- }