ysharma HF Staff commited on
Commit
e127b0d
·
1 Parent(s): 4409965

Update examples, slider, layout

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,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(
 
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,2.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(