Spaces:
Runtime error
Runtime error
Update tips to en.
Browse files
app.py
CHANGED
@@ -47,7 +47,6 @@ def generate_chat(input_text: str, history=None):
|
|
47 |
"model": MODEL_NAME,
|
48 |
"stream": True,
|
49 |
"messages": [
|
50 |
-
{"role": "system", "content": "你是一个AI助手,请用专业的知识解答我的问题"},
|
51 |
{"role": "user", "content": input_text}
|
52 |
]
|
53 |
}
|
@@ -64,13 +63,12 @@ def generate_chat(input_text: str, history=None):
|
|
64 |
block = gr.Blocks()
|
65 |
|
66 |
with block as demo:
|
67 |
-
gr.Markdown("<center><h1
|
68 |
gr.Markdown("""
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
* 加入[官方微信交流群](https://cdn.jsdelivr.net/gh/OrionStarAI/OrionStar-Yi-34B-Chat@main/pics/wechat_group.jpg)""")
|
74 |
|
75 |
chatbot = gr.Chatbot(label='OrionStar-Yi-34B-Chat', elem_classes="control-height")
|
76 |
message = gr.Textbox(label='Input')
|
|
|
47 |
"model": MODEL_NAME,
|
48 |
"stream": True,
|
49 |
"messages": [
|
|
|
50 |
{"role": "user", "content": input_text}
|
51 |
]
|
52 |
}
|
|
|
63 |
block = gr.Blocks()
|
64 |
|
65 |
with block as demo:
|
66 |
+
gr.Markdown("<center><h1>OrionStar-Yi-34B-Chat Demo</h1></center>")
|
67 |
gr.Markdown("""
|
68 |
+
* The Yi series LLM models are large-scale models open-sourced by the 01.AI team, achieving commendable results on various authoritative Chinese, English, and general domain benchmarks.
|
69 |
+
* [Orionstar](https://www.orionstar.com/) has further tapped into the potential of the Orionstar-Yi-34B-Chat with the Yi-34B model. By deeply training on a large corpus of high-quality fine-tuning data, we are dedicated to making it an outstanding open-source alternative in the ChatGPT field.
|
70 |
+
* Orionstar-Yi-34B-Chat performs impressively on mainstream evaluation sets such as C-Eval, MMLU, and CMMLU, significantly outperforming other open-source conversational models around the world(as of November 2023). For a detailed comparison with other open-source models, see [here](https://github.com/OrionStarAI/OrionStar-Yi-34B-Chat).
|
71 |
+
* Please click Star to support us on [Github](https://github.com/OrionStarAI/OrionStar-Yi-34B-Chat).""")
|
|
|
72 |
|
73 |
chatbot = gr.Chatbot(label='OrionStar-Yi-34B-Chat', elem_classes="control-height")
|
74 |
message = gr.Textbox(label='Input')
|