Spaces:
Configuration error
Configuration error
update slider
Browse files
app.py
CHANGED
@@ -92,7 +92,7 @@ with gr.Blocks() as demo:
|
|
92 |
with gr.Accordion("Advance settings for Training and Inference", open=False):
|
93 |
gr.Markdown("Advance settings for a number of Training Steps and Alpha. Set alpha to 1.0 to fully add LORA. If the LORA seems to have too much effect (i.e., overfitting), set alpha to a lower value. If the LORA seems to have too little effect, set the alpha higher. You can tune these two values to your needs.")
|
94 |
in_steps = gr.Number(label="Enter the number of training steps", value = 4000)
|
95 |
-
in_alpha = gr.Slider(0.1,
|
96 |
out_file = gr.File(label="Lora trained model weights" )
|
97 |
|
98 |
gr.Examples(
|
|
|
92 |
with gr.Accordion("Advance settings for Training and Inference", open=False):
|
93 |
gr.Markdown("Advance settings for a number of Training Steps and Alpha. Set alpha to 1.0 to fully add LORA. If the LORA seems to have too much effect (i.e., overfitting), set alpha to a lower value. If the LORA seems to have too little effect, set the alpha higher. You can tune these two values to your needs.")
|
94 |
in_steps = gr.Number(label="Enter the number of training steps", value = 4000)
|
95 |
+
in_alpha = gr.Slider(0.1,1.0, step=0.01, label="Set Alpha level", value=0.5)
|
96 |
out_file = gr.File(label="Lora trained model weights" )
|
97 |
|
98 |
gr.Examples(
|