初始化项目,由ModelHub XC社区提供模型

Model: OpenGVLab/InternVL3-2B-hf
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-06 08:50:13 +08:00
commit e48a8c4f13
15 changed files with 152315 additions and 0 deletions

6
chat_template.jinja Normal file
View File

@@ -0,0 +1,6 @@
{% for message in messages %}{{'<|im_start|>' + message['role'] + '
'}}{% if message['content'] is string %}{{ message['content'] }}{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' %}{{ '<IMG_CONTEXT>
' }}{% elif content['type'] == 'video' %}{{ '<video>
' }}{% elif content['type'] == 'text' %}{{ content['text'] }}{% endif %}{% endfor %}{% endif %}{{'<|im_end|>
'}}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant
' }}{% endif %}