Skip to content

Commit b767497

Browse files
committed
chat: adjust fine-tuned prompt structure
1 parent 7f9ea12 commit b767497

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chat/fine_tuned.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434

3535
RE_COMMAND = re.compile(r"\<\|(?P<command>[^(]+)\((?P<params>[^)<{}]*)\)\|\>")
3636

37-
TEMPLATE = '''<user>{question}<hist>{chat_history}<task>{task_info}<bot>'''
37+
TEMPLATE = '''<hist>{chat_history}<user>{question}<task>{task_info}<bot>'''
3838

3939
HISTORY_TOKEN_LIMIT = 1800
4040

41-
MODEL_NAME = 'curie:ft-yield-inc-2023-05-27-21-10-09'
41+
MODEL_NAME = 'curie:ft-yield-inc-2023-05-28-03-06-35'
4242
STOP = "<eot>"
4343
MAX_TOKENS = 50
4444

0 commit comments

Comments
 (0)