Update chat_templates.py
This commit is contained in:
parent
a93e3dea2a
commit
1c64e2645f
1 changed files with 1 additions and 1 deletions
|
|
@ -472,8 +472,8 @@ pass
|
|||
|
||||
|
||||
# =========================================== Phi-3
|
||||
# "{{ bos_token }}"\ # Phi-3.5 removes BOS?
|
||||
phi3_template = \
|
||||
# "{{ bos_token }}"\ # Phi-3.5 removes BOS?
|
||||
"{% for message in messages %}"\
|
||||
"{% if message['role'] == 'user' %}"\
|
||||
"{{'<|user|>\n' + message['content'] + '<|end|>\n'}}"\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue