fix arg dtype

Former-commit-id: 999ae05655815ac04ababddae55d9343f5d39f84
This commit is contained in:
hiyouga
2024-03-05 20:53:30 +08:00
parent 46ee267cfc
commit 3168abc0a1
2 changed files with 2 additions and 2 deletions

View File

@@ -123,7 +123,7 @@ def create_train_tab(engine: "Engine") -> Dict[str, "Component"]:
with gr.Accordion(label="LoRA config", open=False) as lora_tab:
with gr.Row():
lora_rank = gr.Slider(value=8, minimum=1, maximum=1024, step=1, scale=1)
lora_alpha = gr.Slider(value=16, minimum=1, maximum=2048, step=0.1, scale=1)
lora_alpha = gr.Slider(value=16, minimum=1, maximum=2048, step=1, scale=1)
lora_dropout = gr.Slider(value=0.1, minimum=0, maximum=1, step=0.01, scale=1)
lora_target = gr.Textbox(scale=2)