hunyuan-t commited on
Commit
a5c1f2b
·
verified ·
1 Parent(s): 0d09d8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -75,36 +75,36 @@ def respond(
75
  example_prompts = [
76
  [
77
  "Write a short papragraph where the 1st letter of each sentence spells out the word 'CODE'. The message should appear natural and not obviously hide this pattern.",
78
- "你是一个电影推荐助手",
79
- 256, # 生成约 200 字
80
- 0.8, # 中等创意
81
  0.85
82
  ],
83
  [
84
  "Compose an engaging travel blog post about a recent trip to Hawaii, highlighting cultural experiences and must-see attractions.",
85
- "你是一个AI教授",
86
- 128, # 简短定义
87
- 0.3, # 高确定性
88
  0.9
89
  ],
90
  [
91
  "Why has online learning been able to spread rapidly in recent years?",
92
- "你是一个数学老师",
93
- 64,
94
  0.1,
95
  0.95
96
  ],
97
  [
98
  "How many 'e' in Deeplearning?",
99
- "你是一个科幻作家",
100
- 512,
101
  1.2,
102
  0.75
103
  ],
104
  [
105
  "Write a 3-line poem",
106
- "你是一个历史学者",
107
- 384,
108
  0.6,
109
  0.88
110
  ]
 
75
  example_prompts = [
76
  [
77
  "Write a short papragraph where the 1st letter of each sentence spells out the word 'CODE'. The message should appear natural and not obviously hide this pattern.",
78
+ "System",
79
+ 512,
80
+ 0.8,
81
  0.85
82
  ],
83
  [
84
  "Compose an engaging travel blog post about a recent trip to Hawaii, highlighting cultural experiences and must-see attractions.",
85
+ "System",
86
+ 1024,
87
+ 0.3,
88
  0.9
89
  ],
90
  [
91
  "Why has online learning been able to spread rapidly in recent years?",
92
+ "System",
93
+ 1536,
94
  0.1,
95
  0.95
96
  ],
97
  [
98
  "How many 'e' in Deeplearning?",
99
+ "System",
100
+ 2048,
101
  1.2,
102
  0.75
103
  ],
104
  [
105
  "Write a 3-line poem",
106
+ "System",
107
+ 2560,
108
  0.6,
109
  0.88
110
  ]