Skip to content

Commit

Permalink
fix(web_demo): remove <eoh> in user prompt (InternLM#440)
Browse files Browse the repository at this point in the history
delete <eoh>
  • Loading branch information
vansin authored Oct 27, 2023
1 parent 42e5f6f commit 2c6cfde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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|>:"

Expand Down

0 comments on commit 2c6cfde

Please sign in to comment.