Spaces:
Sleeping
Sleeping
edbeeching
commited on
Commit
·
b50b8c1
1
Parent(s):
cc8e33a
fix advanced options
Browse files
app.py
CHANGED
|
@@ -285,7 +285,7 @@ def main():
|
|
| 285 |
output_dataset_name = gr.Textbox(label="Output Dataset Name", placeholder="e.g., my-generated-dataset, must be unique. Will be created under the org 'synthetic-data-universe'")
|
| 286 |
num_output_samples = gr.Slider(label="Number of samples, leave as '0' for all", value=0, minimum=0, maximum=MAX_SAMPLES_FREE, step=1)
|
| 287 |
|
| 288 |
-
with gr.Accordion("Advanced Options", open=False):
|
| 289 |
with gr.Row():
|
| 290 |
input_dataset_config = gr.Textbox(label="Input Dataset Config", value="default", placeholder="e.g., default, custom")
|
| 291 |
input_dataset_split = gr.Textbox(label="Input Dataset Split", value="train", placeholder="e.g., train, test, validation")
|
|
@@ -296,7 +296,7 @@ def main():
|
|
| 296 |
with gr.Row():
|
| 297 |
with gr.Column():
|
| 298 |
with gr.Row():
|
| 299 |
-
max_tokens = gr.Slider(label="Max Tokens", value=
|
| 300 |
temperature = gr.Slider(label="Temperature", minimum=0.0, maximum=2.0, value=0.7, step=0.1)
|
| 301 |
with gr.Row():
|
| 302 |
top_k = gr.Slider(label="Top K", value=50, minimum=5, maximum=100, step=5)
|
|
|
|
| 285 |
output_dataset_name = gr.Textbox(label="Output Dataset Name", placeholder="e.g., my-generated-dataset, must be unique. Will be created under the org 'synthetic-data-universe'")
|
| 286 |
num_output_samples = gr.Slider(label="Number of samples, leave as '0' for all", value=0, minimum=0, maximum=MAX_SAMPLES_FREE, step=1)
|
| 287 |
|
| 288 |
+
with gr.Accordion("Advanced Options (generation parameters, dataset options)", open=False):
|
| 289 |
with gr.Row():
|
| 290 |
input_dataset_config = gr.Textbox(label="Input Dataset Config", value="default", placeholder="e.g., default, custom")
|
| 291 |
input_dataset_split = gr.Textbox(label="Input Dataset Split", value="train", placeholder="e.g., train, test, validation")
|
|
|
|
| 296 |
with gr.Row():
|
| 297 |
with gr.Column():
|
| 298 |
with gr.Row():
|
| 299 |
+
max_tokens = gr.Slider(label="Max Tokens", value=1024, minimum=256, maximum=MAX_TOKENS, step=256)
|
| 300 |
temperature = gr.Slider(label="Temperature", minimum=0.0, maximum=2.0, value=0.7, step=0.1)
|
| 301 |
with gr.Row():
|
| 302 |
top_k = gr.Slider(label="Top K", value=50, minimum=5, maximum=100, step=5)
|