Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,6 +73,7 @@ def evaluate(
|
|
73 |
yield out_str.strip()
|
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],
|
@@ -88,7 +89,7 @@ with gr.Blocks(title=title) as demo:
|
|
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="
|
92 |
token_count = gr.Slider(10, 700, label="Max Tokens", step=10, value=700)
|
93 |
temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=1.0)
|
94 |
top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.3)
|
|
|
73 |
yield out_str.strip()
|
74 |
|
75 |
examples = [
|
76 |
+
["Build a rocket to land on moon.", 700, 1, 0.3, 0.3, 0.3],
|
77 |
["How can I craft an engaging story featuring vampires on Mars?", 700, 1, 0.3, 0.3, 0.3],
|
78 |
["How can I persuade Elon Musk to follow me on Twitter?", 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],
|
|
|
89 |
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}.")
|
90 |
with gr.Row():
|
91 |
with gr.Column():
|
92 |
+
prompt = gr.Textbox(lines=2, label="Prompt", value="Build a rocket to land on moon.")
|
93 |
token_count = gr.Slider(10, 700, label="Max Tokens", step=10, value=700)
|
94 |
temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=1.0)
|
95 |
top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.3)
|