Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
63d635d1
Unverified
Commit
63d635d1
authored
Mar 11, 2025
by
Isotr0py
Committed by
GitHub
Mar 11, 2025
Browse files
[Misc] Correct deepseek-vl2 chat template (#14558)
Signed-off-by:
Isotr0py
<
2037008807@qq.com
>
parent
1fc973c0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
examples/template_deepseek_vl2.jinja
examples/template_deepseek_vl2.jinja
+3
-3
No files found.
examples/template_deepseek_vl2.jinja
View file @
63d635d1
...
@@ -12,12 +12,12 @@
...
@@ -12,12 +12,12 @@
{%- endif -%}
{%- endif -%}
{%- if message['role'] == 'user' -%}
{%- if message['role'] == 'user' -%}
{{ '<|User|>: ' + message['content'] + '\n' }}
{{ '<|User|>: ' + message['content'] + '\n
\n
' }}
{%- elif message['role'] == 'assistant' -%}
{%- elif message['role'] == 'assistant' -%}
{{ '<|Assistant|>: ' + message['content'] + eos_token + '\n' }}
{{ '<|Assistant|>: ' + message['content'] + eos_token + '\n
\n
' }}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{%- endfor -%}
{%- if add_generation_prompt -%}
{%- if add_generation_prompt -%}
{{ '<|Assistant|>: ' }}
{{ '<|Assistant|>: ' }}
{% endif %}
{%
-
endif
-
%}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment