fanyang commited on
Commit
9cd43a1
2 Parent(s): 217d8ad 3e89ff8

Update tips to en.

Browse files
Files changed (1) hide show
  1. app.py +5 -7
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>猎户星空-Yi-34B-Chat对话模型演示</h1></center>")
68
  gr.Markdown("""
69
- * Yi系列模型是由零一万物团队开源的大模型,在多个权威的中文、英文及通用领域 benchmark 上取得不错的效果。
70
- * [猎户星空](https://www.orionstar.com/)推出的Orionstar-Yi-34B-Chat更进一步挖掘了Yi-34B的潜力。通过对大量高质量微调语料库的深度训练,我们致力于将其打造成为ChatGPT领域中的杰出开源替代品。
71
- * Orionstar-Yi-34B-Chat,在C-EvalMMLUCMMLU等主流测评集上表现出色,显著领先于国内其他开源对话模型(截止2023年11月)。与其他开源模型的详细对比请查看[这里](https://github.com/OrionStarAI/OrionStar-Yi-34B-Chat)
72
- * 请在[Gihub](https://github.com/OrionStarAI/OrionStar-Yi-34B-Chat)点击Star支持我们。
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')