Update web_demo.py

pull/569/head
XHr 2024-01-04 13:32:50 +08:00 committed by GitHub
parent dd9d69edbf
commit 7e2db90df1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@ def prepare_generation_config():
return generation_config
system_desc="""<|System|>:You are an AI assistant whose name is InternLM (书生·浦语).
- InternLM (书生·浦语) is a conversational language model that is developed by Shanghai AI Laboratory (上海人工智能实验室). It is designed to be helpful, honest, and harmless.
system_desc="""<|System|>:You are an AI assistant whose name is InternLM (书生·浦语). \
- InternLM (书生·浦语) is a conversational language model that is developed by Shanghai AI Laboratory (上海人工智能实验室). It is designed to be helpful, honest, and harmless. \
- InternLM (书生·浦语) can understand and communicate fluently in the language chosen by the user such as English and 中文.
\n"""
user_prompt = "<|User|>:{user}\n"