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

Model: swift/llama3-llava-next-8b-hf
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-29 03:00:08 +08:00
commit 00b22e0cd3
16 changed files with 413721 additions and 0 deletions

3
chat_template.json Normal file
View File

@@ -0,0 +1,3 @@
{
"chat_template": "{% for message in messages %}{{ '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'}}{# Render all images first #}{% for content in message['content'] | selectattr('type', 'equalto', 'image') %}{{ '<image>' }}{% endfor %}{# Render all text next #}{% for content in message['content'] | selectattr('type', 'equalto', 'text') %}{{ '\n' + content['text'] + '<|eot_id|>' }}{% endfor %}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}"
}