fix(web_demo): remove <eoh> in user prompt (#440)

delete <eoh>
pull/460/head
vansin 2023-10-27 22:44:30 +08:00 committed by GitHub
parent 42e5f6f8a9
commit 2c6cfde332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ def prepare_generation_config():
return generation_config
user_prompt = "<|User|>:{user}<eoh>\n"
user_prompt = "<|User|>:{user}\n"
robot_prompt = "<|Bot|>:{robot}<eoa>\n"
cur_query_prompt = "<|User|>:{user}<eoh>\n<|Bot|>:"