Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -240,10 +240,10 @@ def chat(
|
|
240 |
with gr.Blocks(title=title) as demo:
|
241 |
gr.HTML(f"<div style=\"text-align: center;\">\n<h1>🌍World - {title}</h1>\n</div>")
|
242 |
with gr.Tab("Instruct mode"):
|
243 |
-
gr.Markdown(f"World is [RWKV 7B](https://github.com/BlinkDL/ChatRWKV) 100% RNN [RWKV-LM](https://github.com/BlinkDL/RWKV-LM) trained on 100+ world languages
|
244 |
with gr.Row():
|
245 |
with gr.Column():
|
246 |
-
instruction = gr.Textbox(lines=2, label="Instruction", value='
|
247 |
input = gr.Textbox(lines=2, label="Input", placeholder="none")
|
248 |
token_count = gr.Slider(10, 300, label="Max Tokens", step=10, value=300)
|
249 |
temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=1.2)
|
|
|
240 |
with gr.Blocks(title=title) as demo:
|
241 |
gr.HTML(f"<div style=\"text-align: center;\">\n<h1>🌍World - {title}</h1>\n</div>")
|
242 |
with gr.Tab("Instruct mode"):
|
243 |
+
gr.Markdown(f"World is [RWKV 7B](https://github.com/BlinkDL/ChatRWKV) 100% RNN [RWKV-LM](https://github.com/BlinkDL/RWKV-LM) ***trained on 100+ world languages***. *** Please try examples first (bottom of page) *** (edit them to use your question). Demo limited to ctxlen {ctx_limit}. Finetuned on alpaca, gpt4all, codealpaca and more. For best results, *** keep you prompt short and clear ***.</b>.") # <b>UPDATE: now with Chat (see above, as a tab) ==> turn off as of now due to VRAM leak caused by buggy code.
|
244 |
with gr.Row():
|
245 |
with gr.Column():
|
246 |
+
instruction = gr.Textbox(lines=2, label="Instruction", value='東京で訪れるべき素晴らしい場所とその紹介をいくつか挙げてください。')
|
247 |
input = gr.Textbox(lines=2, label="Input", placeholder="none")
|
248 |
token_count = gr.Slider(10, 300, label="Max Tokens", step=10, value=300)
|
249 |
temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=1.2)
|