Spaces:
Runtime error
Runtime error
Peter
commited on
Commit
·
bc8f2a7
1
Parent(s):
72460eb
:bug: fix examples
Browse files
app.py
CHANGED
|
@@ -196,38 +196,26 @@ if __name__ == "__main__":
|
|
| 196 |
Slider(minimum=0.0, maximum=1.0, step=0.01, default=0.95, label="top_p"),
|
| 197 |
Slider(minimum=0, maximum=250, step=1, default=50, label="top_k")],
|
| 198 |
outputs="html",
|
| 199 |
-
examples_per_page=
|
| 200 |
examples=[
|
| 201 |
-
"How can you help me?",
|
| 202 |
-
"what can you do?",
|
| 203 |
-
"Hi, my name is……",
|
| 204 |
-
"Happy birthday!",
|
| 205 |
-
"I have a question, can you help me?",
|
| 206 |
-
"Do you know a joke?",
|
| 207 |
-
"Will you marry me?",
|
| 208 |
-
"Are you single?",
|
| 209 |
-
"Do you like people?",
|
| 210 |
-
"Are you part of the Matrix?",
|
| 211 |
-
"Do you have a hobby?",
|
| 212 |
-
"You’re clever",
|
| 213 |
-
"Tell me about your personality",
|
| 214 |
-
"You’re annoying",
|
| 215 |
-
"
|
| 216 |
-
"
|
| 217 |
-
"
|
| 218 |
-
|
| 219 |
-
"Are you a robot?",
|
| 220 |
-
"What is your name?",
|
| 221 |
-
"How old are you?",
|
| 222 |
-
"What’s your age?",
|
| 223 |
-
"What day is it today?",
|
| 224 |
-
"Who made you?",
|
| 225 |
-
"Which languages can you speak?",
|
| 226 |
-
"What is your mother’s name?",
|
| 227 |
-
"Where do you live?",
|
| 228 |
-
"What’s the weather like today?",
|
| 229 |
-
"Are you expensive?",
|
| 230 |
-
"Do you get smarter?",
|
| 231 |
],
|
| 232 |
title=f"GPT Chatbot Demo: {default_model} Model",
|
| 233 |
description=f"A Demo of a Chatbot trained for conversation with humans. Size XL= 1.5B parameters.\n\n"
|
|
|
|
| 196 |
Slider(minimum=0.0, maximum=1.0, step=0.01, default=0.95, label="top_p"),
|
| 197 |
Slider(minimum=0, maximum=250, step=1, default=50, label="top_k")],
|
| 198 |
outputs="html",
|
| 199 |
+
examples_per_page=8,
|
| 200 |
examples=[
|
| 201 |
+
["How can you help me?", 0.6, 0.95, 50],
|
| 202 |
+
["what can you do?", 0.6, 0.95, 50],
|
| 203 |
+
["Hi, my name is……", 0.6, 0.95, 50],
|
| 204 |
+
["Happy birthday!", 0.9, 0.95, 50],
|
| 205 |
+
["I have a question, can you help me?", 0.6, 0.95, 50],
|
| 206 |
+
["Do you know a joke?", 0.6, 0.85, 50],
|
| 207 |
+
["Will you marry me?", 0.6, 0.95, 138],
|
| 208 |
+
["Are you single?", 0.6, 0.95, 138],
|
| 209 |
+
["Do you like people?", 0.6, 0.95, 50],
|
| 210 |
+
["Are you part of the Matrix?", 0.6, 0.95, 50],
|
| 211 |
+
["Do you have a hobby?", 0.6, 0.95, 50],
|
| 212 |
+
["You’re clever", 0.6, 0.95, 50],
|
| 213 |
+
["Tell me about your personality", 0.6, 0.95, 50],
|
| 214 |
+
["You’re annoying", 0.6, 0.95, 50],
|
| 215 |
+
["I want to speak to a human now.", 0.6, 0.95, 50],
|
| 216 |
+
["Don’t you speak English?!", 0.6, 0.95, 50],
|
| 217 |
+
["Are you human?", 0.6, 0.95, 50],
|
| 218 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 219 |
],
|
| 220 |
title=f"GPT Chatbot Demo: {default_model} Model",
|
| 221 |
description=f"A Demo of a Chatbot trained for conversation with humans. Size XL= 1.5B parameters.\n\n"
|