Spaces:
Running
on
T4
Running
on
T4
NeverlandPeter
commited on
Commit
•
6cdf548
1
Parent(s):
43d3d85
app.py
CHANGED
@@ -425,8 +425,8 @@ if ENABLE_VISUAL:
|
|
425 |
with gr.Blocks(title=title_v6) as demo:
|
426 |
gr.HTML(f"<div style=\"text-align: center;\">\n<h1>{title_v6}</h1>\n</div>")
|
427 |
|
428 |
-
with gr.Tab("Base Model (Raw Generation)"):
|
429 |
-
gr.Markdown(f"This is [RWKV-6 World v2](https://huggingface.co/BlinkDL/rwkv-6-world) - a 100% attention-free RNN [RWKV-LM](https://github.com/BlinkDL/RWKV-LM). Supports 100+ world languages and code.
|
430 |
with gr.Row():
|
431 |
with gr.Column():
|
432 |
prompt = gr.Textbox(lines=2, label="Prompt", value="Assistant: How can we craft an engaging story featuring vampires on Mars? Let's think step by step and provide an expert response.")
|
@@ -465,7 +465,7 @@ with gr.Blocks(title=title_v6) as demo:
|
|
465 |
clear.click(lambda: None, [], [output])
|
466 |
data.click(lambda x: x, [data], [prompt, token_count, temperature, top_p, presence_penalty, count_penalty])
|
467 |
|
468 |
-
with gr.Tab("Chinese Q/A"):
|
469 |
gr.Markdown(f"This is [RWKV-6](https://huggingface.co/BlinkDL/rwkv-6-world) state-tuned to [Chinese Q/A](https://huggingface.co/BlinkDL/temp-latest-training-models/blob/main/{chn_name}.pth). 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}.")
|
470 |
with gr.Row():
|
471 |
with gr.Column():
|
|
|
425 |
with gr.Blocks(title=title_v6) as demo:
|
426 |
gr.HTML(f"<div style=\"text-align: center;\">\n<h1>{title_v6}</h1>\n</div>")
|
427 |
|
428 |
+
with gr.Tab("=== Base Model (Raw Generation) ==="):
|
429 |
+
gr.Markdown(f"This is [RWKV-6 World v2](https://huggingface.co/BlinkDL/rwkv-6-world) - a 100% attention-free RNN [RWKV-LM](https://github.com/BlinkDL/RWKV-LM). Supports 100+ world languages and code. Check [300+ Github RWKV projects](https://github.com/search?o=desc&p=1&q=rwkv&s=updated&type=Repositories). *** Can try examples (bottom of page) *** (can edit them). Demo limited to ctxlen {ctx_limit}.")
|
430 |
with gr.Row():
|
431 |
with gr.Column():
|
432 |
prompt = gr.Textbox(lines=2, label="Prompt", value="Assistant: How can we craft an engaging story featuring vampires on Mars? Let's think step by step and provide an expert response.")
|
|
|
465 |
clear.click(lambda: None, [], [output])
|
466 |
data.click(lambda x: x, [data], [prompt, token_count, temperature, top_p, presence_penalty, count_penalty])
|
467 |
|
468 |
+
with gr.Tab("=== Chinese Q/A ==="):
|
469 |
gr.Markdown(f"This is [RWKV-6](https://huggingface.co/BlinkDL/rwkv-6-world) state-tuned to [Chinese Q/A](https://huggingface.co/BlinkDL/temp-latest-training-models/blob/main/{chn_name}.pth). 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}.")
|
470 |
with gr.Row():
|
471 |
with gr.Column():
|