wangzhang commited on
Commit
9d917e1
·
1 Parent(s): 921daaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -13,8 +13,11 @@ MAX_INPUT_TOKEN_LENGTH = 4096
13
  DESCRIPTION = """\
14
  # ChatSDB
15
 
16
- 这是SequioaDB旗下的AI智能大语言模型,训练超过上万条真实数据和7亿参数。<br>
17
- ChatSDB是SequoiaDB旗下的AI智能大语言模型,训练超过上万条真实数据和7亿参数</h3><strong>模型🔗: <a>https://huggingface.co/wangzhang/ChatSDB </a></strong><br><strong>Dataset🔗: <a>https://huggingface.co/datasets/wangzhang/sdb </a></strong><br><strong> API Doc🔗: <a>https://zgg3nzdpswxy4a-80.proxy.runpod.net/docs/ <a> </strong>
 
 
 
18
  """
19
 
20
  LICENSE = """ """
@@ -38,8 +41,8 @@ def generate(
38
  max_new_tokens: int = 1024,
39
  temperature: float = 0.2,
40
  top_p: float = 0.9,
41
- top_k: int = 5,
42
- repetition_penalty: float = 1.2,
43
  ) -> Iterator[str]:
44
  conversation = []
45
  if system_prompt:
 
13
  DESCRIPTION = """\
14
  # ChatSDB
15
 
16
+ 这是SequioaDB旗下的AI智能大语言模型,训练超过上万条真实数据和7亿参数。
17
+ ChatSDB是SequoiaDB旗下的AI智能大语言模型,训练超过上万条真实数据和7亿参数</h3>
18
+ <br><strong>模型🔗: <a>https://huggingface.co/wangzhang/ChatSDB </a></strong>
19
+ <br><strong>Dataset🔗: <a>https://huggingface.co/datasets/wangzhang/sdb </a></strong>
20
+ <br><strong> API Doc🔗: <a>https://zgg3nzdpswxy4a-80.proxy.runpod.net/docs/ <a> </strong>
21
  """
22
 
23
  LICENSE = """ """
 
41
  max_new_tokens: int = 1024,
42
  temperature: float = 0.2,
43
  top_p: float = 0.9,
44
+ top_k: int = 1,
45
+ repetition_penalty: float = 1.0,
46
  ) -> Iterator[str]:
47
  conversation = []
48
  if system_prompt: