Minor style change
This commit is contained in:
parent
5fcee696ea
commit
ab94f0d9bf
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ def generate_chat_prompt(user_input, state, **kwargs):
|
||||||
context_instruct = context_instruct.replace('<|system-message|>', state['custom_system_message'])
|
context_instruct = context_instruct.replace('<|system-message|>', state['custom_system_message'])
|
||||||
else:
|
else:
|
||||||
context_instruct = context_instruct.replace('<|system-message|>', state['system_message'])
|
context_instruct = context_instruct.replace('<|system-message|>', state['system_message'])
|
||||||
|
|
||||||
wrapper += context_instruct
|
wrapper += context_instruct
|
||||||
wrapper += all_substrings['instruct']['user_turn'].replace('<|user-message|>', command)
|
wrapper += all_substrings['instruct']['user_turn'].replace('<|user-message|>', command)
|
||||||
wrapper += all_substrings['instruct']['bot_turn_stripped']
|
wrapper += all_substrings['instruct']['bot_turn_stripped']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue