Skip to content

Commit

Permalink
Fix Mistral template (#2529)
Browse files Browse the repository at this point in the history
  • Loading branch information
normster authored Oct 12, 2023
1 parent 7b0ca39 commit 9f7afed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fastchat/conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -846,10 +846,10 @@ def get_conv_template(name: str) -> Conversation:
Conversation(
name="mistral",
system_template="",
roles=("[INST] ", " [/INST]"),
roles=("[INST]", "[/INST]"),
sep_style=SeparatorStyle.LLAMA2,
sep="",
sep2=" </s>",
sep=" ",
sep2="</s>",
)
)

Expand Down

0 comments on commit 9f7afed

Please sign in to comment.