Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -74,10 +74,10 @@ def evaluate(
|
|
74 |
|
75 |
examples = [
|
76 |
["How can I craft an engaging story featuring vampires on Mars?", 700, 1, 0.3, 0.3, 0.3],
|
77 |
-
["Write a simple website in HTML. When a user clicks the button, it shows a random joke from a list of 4 jokes.", 700, 1, 0.3, 0.3, 0.3],
|
78 |
-
["Write C++ code to land on moon.", 700, 1, 0.3, 0.3, 0.3],
|
79 |
-
["Write a story using the following information: a man named Alex chops a tree down.", 700, 1, 0.3, 0.3, 0.3],
|
80 |
["How can I persuade Elon Musk to follow me on Twitter?", 700, 1, 0.3, 0.3, 0.3],
|
|
|
|
|
|
|
81 |
]
|
82 |
|
83 |
##########################################################################
|
@@ -85,7 +85,7 @@ examples = [
|
|
85 |
with gr.Blocks(title=title) as demo:
|
86 |
gr.HTML(f"<div style=\"text-align: center;\">\n<h1>{title}</h1>\n</div>")
|
87 |
with gr.Tab("Raw Generation"):
|
88 |
-
gr.Markdown(f"This is [RWKV-6](https://huggingface.co/BlinkDL/temp-latest-training-models) with 1.6B params tuned on
|
89 |
with gr.Row():
|
90 |
with gr.Column():
|
91 |
prompt = gr.Textbox(lines=2, label="Prompt", value="How can we craft an engaging story featuring vampires on Mars?")
|
|
|
74 |
|
75 |
examples = [
|
76 |
["How can I craft an engaging story featuring vampires on Mars?", 700, 1, 0.3, 0.3, 0.3],
|
|
|
|
|
|
|
77 |
["How can I persuade Elon Musk to follow me on Twitter?", 700, 1, 0.3, 0.3, 0.3],
|
78 |
+
["Write a story using the following information: a man named Alex chops a tree down.", 700, 1, 0.3, 0.3, 0.3],
|
79 |
+
["Write C++ code to simulate moon-landing.", 700, 1, 0.3, 0.3, 0.3],
|
80 |
+
["Write a simple website in HTML. When a user clicks the button, it shows a random joke from a list of 4 jokes.", 700, 1, 0.3, 0.3, 0.3],
|
81 |
]
|
82 |
|
83 |
##########################################################################
|
|
|
85 |
with gr.Blocks(title=title) as demo:
|
86 |
gr.HTML(f"<div style=\"text-align: center;\">\n<h1>{title}</h1>\n</div>")
|
87 |
with gr.Tab("Raw Generation"):
|
88 |
+
gr.Markdown(f"This is [RWKV-6](https://huggingface.co/BlinkDL/temp-latest-training-models) with 1.6B params [state-tuned](https://twitter.com/BlinkDL_AI/status/1784496793075744966) on single-round English Q & A. RWKV is a 100% attention-free RNN [RWKV-LM](https://github.com/BlinkDL/RWKV-LM), and we have [300+ Github RWKV projects](https://github.com/search?o=desc&p=1&q=rwkv&s=updated&type=Repositories). Demo limited to ctxlen {ctx_limit}.")
|
89 |
with gr.Row():
|
90 |
with gr.Column():
|
91 |
prompt = gr.Textbox(lines=2, label="Prompt", value="How can we craft an engaging story featuring vampires on Mars?")
|