Spaces:
Runtime error
Runtime error
zetavg
commited on
Commit
•
d50497e
1
Parent(s):
414c86a
test new defaults
Browse files
llama_lora/ui/finetune_ui.py
CHANGED
@@ -651,7 +651,7 @@ def finetune_ui():
|
|
651 |
)
|
652 |
|
653 |
epochs = gr.Slider(
|
654 |
-
minimum=1, maximum=100, step=1, value=
|
655 |
label="Epochs",
|
656 |
info="The number of times to iterate over the entire training dataset. A larger number of epochs may improve model performance but also increase the risk of overfitting.")
|
657 |
|
|
|
651 |
)
|
652 |
|
653 |
epochs = gr.Slider(
|
654 |
+
minimum=1, maximum=100, step=1, value=10,
|
655 |
label="Epochs",
|
656 |
info="The number of times to iterate over the entire training dataset. A larger number of epochs may improve model performance but also increase the risk of overfitting.")
|
657 |
|
llama_lora/ui/inference_ui.py
CHANGED
@@ -357,7 +357,7 @@ def inference_ui():
|
|
357 |
# with gr.Column():
|
358 |
with gr.Accordion("Options", open=True, elem_id="inference_options_accordion"):
|
359 |
temperature = gr.Slider(
|
360 |
-
minimum=0, maximum=
|
361 |
label="Temperature",
|
362 |
elem_id="inference_temperature"
|
363 |
)
|
@@ -376,7 +376,7 @@ def inference_ui():
|
|
376 |
)
|
377 |
|
378 |
num_beams = gr.Slider(
|
379 |
-
minimum=1, maximum=
|
380 |
label="Beams",
|
381 |
elem_id="inference_beams"
|
382 |
)
|
|
|
357 |
# with gr.Column():
|
358 |
with gr.Accordion("Options", open=True, elem_id="inference_options_accordion"):
|
359 |
temperature = gr.Slider(
|
360 |
+
minimum=0, maximum=10, value=0.1, step=0.01,
|
361 |
label="Temperature",
|
362 |
elem_id="inference_temperature"
|
363 |
)
|
|
|
376 |
)
|
377 |
|
378 |
num_beams = gr.Slider(
|
379 |
+
minimum=1, maximum=5, value=2, step=1,
|
380 |
label="Beams",
|
381 |
elem_id="inference_beams"
|
382 |
)
|