Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
zhaoyu6
sglang
Commits
ba67101f
"git@developer.sourcefind.cn:hehl2/torchaudio.git" did not exist on "9cf59e751a3762225b87859fdaea014b89eb2292"
Unverified
Commit
ba67101f
authored
Apr 30, 2024
by
Lianmin Zheng
Committed by
GitHub
Apr 30, 2024
Browse files
Fix chatml template (#406)
parent
95c4e0df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/conversation.py
python/sglang/srt/conversation.py
+1
-1
No files found.
python/sglang/srt/conversation.py
View file @
ba67101f
...
@@ -400,7 +400,7 @@ register_conv_template(
...
@@ -400,7 +400,7 @@ register_conv_template(
Conversation
(
Conversation
(
name
=
"chatml"
,
name
=
"chatml"
,
system_template
=
"<|im_start|>system
\n
{system_message}"
,
system_template
=
"<|im_start|>system
\n
{system_message}"
,
system_message
=
"You are a
n AI
assistant."
,
system_message
=
"You are a
helpful
assistant."
,
roles
=
(
"<|im_start|>user"
,
"<|im_start|>assistant"
),
roles
=
(
"<|im_start|>user"
,
"<|im_start|>assistant"
),
sep_style
=
SeparatorStyle
.
CHATML
,
sep_style
=
SeparatorStyle
.
CHATML
,
sep
=
"<|im_end|>"
,
sep
=
"<|im_end|>"
,
...
...
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