Update tabbed.py
Browse files
tabbed.py
CHANGED
@@ -110,9 +110,9 @@ with gr.Blocks() as demo:
|
|
110 |
with gr.Row():
|
111 |
with gr.Column():
|
112 |
max_tokens = gr.Slider(20, 1000, label="Max Tokens", step=20, value=300)
|
113 |
-
temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=0.
|
114 |
top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.95)
|
115 |
-
top_k = gr.Slider(0, 100, label="Top
|
116 |
repeat_penalty = gr.Slider(0.0, 2.0, label="Repetition Penalty", step=0.1, value=1.1)
|
117 |
|
118 |
system_msg = gr.Textbox(
|
|
|
110 |
with gr.Row():
|
111 |
with gr.Column():
|
112 |
max_tokens = gr.Slider(20, 1000, label="Max Tokens", step=20, value=300)
|
113 |
+
temperature = gr.Slider(0.2, 2.0, label="Temperature", step=0.1, value=0.8)
|
114 |
top_p = gr.Slider(0.0, 1.0, label="Top P", step=0.05, value=0.95)
|
115 |
+
top_k = gr.Slider(0, 100, label="Top K", step=1, value=40)
|
116 |
repeat_penalty = gr.Slider(0.0, 2.0, label="Repetition Penalty", step=0.1, value=1.1)
|
117 |
|
118 |
system_msg = gr.Textbox(
|