GreenTeaLatte commited on
Commit
1da48e6
·
1 Parent(s): f7021cd

update max token and update question

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ BOT_NAME = "Falcon"
13
  STOP_SEQUENCES = ["\nUser:", "<|endoftext|>", " User:", "###"]
14
 
15
  EXAMPLES = [
16
- ["圖書館與家相距864 m。爸爸以0.7 m/s的平均速率從圖書館沿一直路步行回家。同一時間,子琪以0.5 m/s的平均速率從家步向圖書館。兩人會在多少分鐘後相遇?"],
17
  ["What's the Everett interpretation of quantum mechanics?"],
18
  ["Give me a list of the top 10 dive sites you would recommend around the world."],
19
  ["Can you tell me more about deep-water soloing?"],
@@ -88,7 +88,7 @@ additional_inputs=[
88
  label="Max new tokens",
89
  value=256,
90
  minimum=0,
91
- maximum=8192,
92
  step=64,
93
  interactive=True,
94
  info="The maximum numbers of new tokens",
 
13
  STOP_SEQUENCES = ["\nUser:", "<|endoftext|>", " User:", "###"]
14
 
15
  EXAMPLES = [
16
+ ["圖書館與家相距864 m。爸爸以0.7 m/s的平均速率從圖書館沿一直路步行回家。同一時間,子琪以0.5 m/s的平均速率從家步向圖書館。兩人會在多少分鐘後相遇?請用詳細的步驟方式回覆。"],
17
  ["What's the Everett interpretation of quantum mechanics?"],
18
  ["Give me a list of the top 10 dive sites you would recommend around the world."],
19
  ["Can you tell me more about deep-water soloing?"],
 
88
  label="Max new tokens",
89
  value=256,
90
  minimum=0,
91
+ maximum=12192,
92
  step=64,
93
  interactive=True,
94
  info="The maximum numbers of new tokens",