mirror of https://github.com/InternLM/InternLM
Update web_demo.py
parent
dd9d69edbf
commit
7e2db90df1
|
@ -46,8 +46,8 @@ def prepare_generation_config():
|
||||||
return generation_config
|
return generation_config
|
||||||
|
|
||||||
|
|
||||||
system_desc="""<|System|>:You are an AI assistant whose name is InternLM (书生·浦语).
|
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 (书生·浦语) 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 中文.
|
- InternLM (书生·浦语) can understand and communicate fluently in the language chosen by the user such as English and 中文.
|
||||||
\n"""
|
\n"""
|
||||||
user_prompt = "<|User|>:{user}\n"
|
user_prompt = "<|User|>:{user}\n"
|
||||||
|
|
Loading…
Reference in New Issue