Spaces:
Sleeping
Sleeping
kz209
commited on
Commit
β’
5c4655e
1
Parent(s):
295cf33
update
Browse files- app.py +1 -1
- pages/summarization_playground.py +1 -1
app.py
CHANGED
@@ -27,7 +27,7 @@ with gr.Blocks() as demo:
|
|
27 |
create_leaderboard()
|
28 |
with gr.TabItem("Batch_Evaluation"):
|
29 |
create_batch_evaluation_interface()
|
30 |
-
with gr.TabItem("
|
31 |
create_arena()
|
32 |
|
33 |
|
|
|
27 |
create_leaderboard()
|
28 |
with gr.TabItem("Batch_Evaluation"):
|
29 |
create_batch_evaluation_interface()
|
30 |
+
with gr.TabItem("Arena"):
|
31 |
create_arena()
|
32 |
|
33 |
|
pages/summarization_playground.py
CHANGED
@@ -146,7 +146,7 @@ def create_summarization_interface():
|
|
146 |
with gr.Column(scale=1):
|
147 |
gr.Markdown("<div style='border: 4px solid white; padding: 2px; border-radius: 5px;width:130px;padding-bottom: 10px;'><b><h3>Parameters π</h3></center></b></div>")
|
148 |
with gr.Column():
|
149 |
-
temperature = gr.Number(label="Temperature",elem_classes="parameter-text", value=0.
|
150 |
max_new_tokens = gr.Number(label="Max New Tokens",elem_classes="parameter-text", value=500, precision=0, minimum=0, maximum=500)
|
151 |
do_sample = gr.Dropdown([True,False],label="Do Sample",elem_classes="parameter-text", value=True)
|
152 |
with gr.Column(scale=3):
|
|
|
146 |
with gr.Column(scale=1):
|
147 |
gr.Markdown("<div style='border: 4px solid white; padding: 2px; border-radius: 5px;width:130px;padding-bottom: 10px;'><b><h3>Parameters π</h3></center></b></div>")
|
148 |
with gr.Column():
|
149 |
+
temperature = gr.Number(label="Temperature",elem_classes="parameter-text", value=0.0001, minimum=0.000001, maximum=1.0)
|
150 |
max_new_tokens = gr.Number(label="Max New Tokens",elem_classes="parameter-text", value=500, precision=0, minimum=0, maximum=500)
|
151 |
do_sample = gr.Dropdown([True,False],label="Do Sample",elem_classes="parameter-text", value=True)
|
152 |
with gr.Column(scale=3):
|