Skip to content

Commit

Permalink
Merge pull request #546 from Anhforth/master
Browse files Browse the repository at this point in the history
Update conversation.py
  • Loading branch information
BAAI-OpenPlatform authored Oct 12, 2023
2 parents 4bb6c74 + 61e0648 commit 6548e09
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions flagai/model/aquila2/conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,20 +227,6 @@ def get_conversation_template(model_path: str) -> Conversation:
)
)

register_conv_template(
Conversation(
name="aquila-legacy",
system_message="A chat between a curious human and an artificial intelligence assistant. "
"The assistant gives helpful, detailed, and polite answers to the human's questions.\n\n",
roles=("### Human: ", "### Assistant: ", "System"),
messages=(),
offset=0,
sep_style=SeparatorStyle.NO_COLON_TWO,
sep="\n",
sep2="",
stop_str=["</s>", "[UNK]"],
)
)

if __name__ == "__main__":
print("aquila template:")
Expand Down

0 comments on commit 6548e09

Please sign in to comment.