Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into patch-1
  • Loading branch information
ZeyuTeng96 authored Nov 10, 2023
commit 84e885f13bf16f73112917ee0ff35d280c33d46e
11 changes: 11 additions & 0 deletions fastchat/conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,17 @@ def get_conv_template(name: str) -> Conversation:
)
)

# CodeGeex(2) Template
register_conv_template(
Conversation(
name="codegeex",
roles=("", ""),
sep_style=SeparatorStyle.NO_COLON_SINGLE,
sep="\n\n",
stop_token_ids=[0, 2],
)
)

# Dolly V2 default template
register_conv_template(
Conversation(
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.