Skip to content

Commit

Permalink
Fixing update to mistral chat template (#919)
Browse files Browse the repository at this point in the history
  • Loading branch information
Harsha-Nori authored Jun 21, 2024
1 parent d5d07dc commit ae8830f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guidance/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def get_role_start(self, role_name):
if role_name == "user":
return "[INST] "
elif role_name == "assistant":
return ""
return " "
else:
raise UnsupportedRoleException(role_name, self)

Expand Down

0 comments on commit ae8830f

Please sign in to comment.