CMLL commited on
Commit
74f56e5
1 Parent(s): 968b320

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -5
app.py CHANGED
@@ -12,15 +12,21 @@ DEFAULT_MAX_NEW_TOKENS = 1024
12
  MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
13
 
14
  DESCRIPTION = """\
15
- # ZhongJing-2-1_8b-merge
16
- This Space demonstrates model [ZhongJing-2-1_8b-merge](https://huggingface.co/CMLL/ZhongJing-2-1_8b-merge) by CMLL, a powerful model for TCM-related applications. Feel free to play with it, or duplicate to run generations without a queue!
 
 
 
 
 
 
17
  """
18
 
19
  LICENSE = """
20
  <p/>
21
  ---
22
- As a derivate work of [ZhongJing-2-1_8b-merge](https://huggingface.co/CMLL/ZhongJing-2-1_8b-merge) by CMLL,
23
- this demo is governed by the original [license](https://huggingface.co/CMLL/ZhongJing-2-1_8b-merge/blob/main/LICENSE.txt) and [acceptable use policy](https://huggingface.co/CMLL/ZhongJing-2-1_8b-merge/blob/main/USE_POLICY.md).
24
  """
25
 
26
  if not torch.cuda.is_available():
@@ -116,11 +122,12 @@ chat_interface = gr.ChatInterface(
116
  ],
117
  stop_btn=None,
118
  examples=[
119
- ["你是谁?"],
120
  ["你能简要解释一下什么是中医吗?"],
121
  ["简述《黄帝内经》的主要内容。"],
122
  ["中医如何治疗失眠?"],
 
123
  ["写一篇关于‘AI在中医研究中的应用’的100字文章。"],
 
124
  ],
125
  )
126
 
 
12
  MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
13
 
14
  DESCRIPTION = """\
15
+ # 医哲未来 FulPhil-仲景中医大语言模型 ZhongJingGPT-V2-1_8b
16
+ # FulPhil-ZhongJing Traditional Chinese Medicine Large Language Model ZhongJingGPT-V2-1_8b
17
+
18
+ 致敬仲景先师,融汇古典与智能。本模型由医哲未来(FulPhil)研发,是专注于中医药领域的强大语言模型。它能够运用传统中医理论,结合现代人工智能技术,为中医研究和应用提供卓越助力。欢迎关注我们的 [GitHub主页](https://github.com/pariskang/CMLM-ZhongJing) 及模型 [ZhongJing-2-1_8b](https://huggingface.co/CMLM/ZhongJing-2-1_8b) 下载体验!
19
+ Paying tribute to the ancient master Zhang Zhongjing, this model integrates classical knowledge with modern intelligence. Developed by FulPhil (Future Philosophy), it is a powerful language model focused on the field of Traditional Chinese Medicine (TCM). It employs traditional TCM theories combined with contemporary artificial intelligence technology to provide excellent support for TCM research and applications. Welcome to visit our [GitHub homepage](https://github.com/pariskang/CMLM-ZhongJing) and download the model [ZhongJing-2-1_8b-merge](https://huggingface.co/CMLM/ZhongJing-2-1_8b) for a trial experience!
20
+
21
+ 请注意!!!本模型不得用于任何医疗或潜在具有医疗或康养建议的任何场景,目前仍为科研测试阶段,敬请帮我们提出宝贵意见,谢谢。
22
+ Please note!!! This model should not be used for any medical purposes or scenarios potentially involving medical or health advice. It is currently still in the research and testing stage. We sincerely request your valuable feedback. Thank you.
23
  """
24
 
25
  LICENSE = """
26
  <p/>
27
  ---
28
+ As a derivate work of [ZhongJing-2-1_8b](https://huggingface.co/CMLM/ZhongJing-2-1_8b) by FulPhil,
29
+ this demo is governed by the original [license](https://huggingface.co/CMLM/ZhongJing-2-1_8b/blob/main/LICENSE.txt) and [acceptable use policy](https://huggingface.co/CMLM/ZhongJing-2-1_8b/blob/main/USE_POLICY.md).
30
  """
31
 
32
  if not torch.cuda.is_available():
 
122
  ],
123
  stop_btn=None,
124
  examples=[
 
125
  ["你能简要解释一下什么是中医吗?"],
126
  ["简述《黄帝内经》的主要内容。"],
127
  ["中医如何治疗失眠?"],
128
+ ["我发热,咳嗽,咽痛,舌苔黄腻,脉滑数,请给出中医诊断及处方?"],
129
  ["写一篇关于‘AI在中医研究中的应用’的100字文章。"],
130
+ ["写一篇关于‘秋季女性月经期中医调养方案‘的1000字科普文章。"],
131
  ],
132
  )
133