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

Model: Qwen/Qwen2-VL-2B
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-05-23 10:18:13 +08:00
commit 9603994d5e
15 changed files with 455855 additions and 0 deletions

3
chat_template.json Normal file
View File

@@ -0,0 +1,3 @@
{
"chat_template": "{% if messages is string %}{{ messages }}{% else %}{% for content in messages %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}{% endif %}"
}