Spaces:
Build error
Build error
kwabs22 commited on
Commit ·
7567461
1
Parent(s): d0573b3
more buttons
Browse files
app.py
CHANGED
|
@@ -268,6 +268,22 @@ Allprompts = {
|
|
| 268 |
("Write a story for the basis of a random game", "Story:"),
|
| 269 |
("What are common themes in games?", ""),
|
| 270 |
("Write Three factions and why they are at conflict based on the following text:", "Faction 1:"),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 271 |
]
|
| 272 |
}
|
| 273 |
|
|
@@ -282,7 +298,7 @@ AllWorkflows = {
|
|
| 282 |
|
| 283 |
with gr.Blocks() as iface:
|
| 284 |
with gr.Tab("Single prompt"):
|
| 285 |
-
gr.HTML("<a href='https://huggingface.co/spaces/stabilityai/stablelm-2-1_6b-zephyr'> -- Original StabilityAI demo -- </a> | ")
|
| 286 |
gr.Interface(
|
| 287 |
fn=generate_response,
|
| 288 |
inputs=gr.Textbox(lines=2, placeholder="Type your message here..."),
|
|
|
|
| 268 |
("Write a story for the basis of a random game", "Story:"),
|
| 269 |
("What are common themes in games?", ""),
|
| 270 |
("Write Three factions and why they are at conflict based on the following text:", "Faction 1:"),
|
| 271 |
+
],
|
| 272 |
+
"Random Logic and Machine Learning 100624": [
|
| 273 |
+
{"What concepts are similar to counter intuition?", ""},
|
| 274 |
+
{"Please explain PvsNP problem?", ""},
|
| 275 |
+
{"With the context of this text, what would be the PvsNP equivalent", ""},
|
| 276 |
+
{"What does out of distribution mean and what algorithms can make it?", ""},
|
| 277 |
+
{"List some existing evolutionary algorithms and explain how they relate to the term out-of distribution", ""},
|
| 278 |
+
{"Please help me understand ternary vs binary calculations", ""},
|
| 279 |
+
{"What is an auto encoder and what are hyperparameters", ""},
|
| 280 |
+
{"Please help me make a glossary from this text", ""},
|
| 281 |
+
{"Please list as many indefinite words as you can:", ""},
|
| 282 |
+
{"What is the difference between indefinite words and hypernyms?", ""},
|
| 283 |
+
{"What concepts are similar to counter intuition?", ""},
|
| 284 |
+
{"'When stuck, looking for the wrong way to do something is easier and more productive than looking for the right way' - please critique this statement", ""},
|
| 285 |
+
{"What makes long division hard when there are decimals?", "\n"},
|
| 286 |
+
{"What tasks are non-linear in nature?", "\n"},
|
| 287 |
]
|
| 288 |
}
|
| 289 |
|
|
|
|
| 298 |
|
| 299 |
with gr.Blocks() as iface:
|
| 300 |
with gr.Tab("Single prompt"):
|
| 301 |
+
gr.HTML("<a href='https://huggingface.co/spaces/stabilityai/stablelm-2-1_6b-zephyr'> -- Original StabilityAI demo -- </a> | To be tested later (can q4 work on small size?) - <a href='https://huggingface.co/spaces/Qwen/Qwen2-0.5B-Instruct'> -- Qwen2 0.5B Instruct -- </a> | ")
|
| 302 |
gr.Interface(
|
| 303 |
fn=generate_response,
|
| 304 |
inputs=gr.Textbox(lines=2, placeholder="Type your message here..."),
|