mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-04 20:52:59 +08:00
use default arg for freeze tuning
Former-commit-id: af0e370fb16f3e0cf2f4c8036301d5253d8249b9
This commit is contained in:
parent
17e50bcbb1
commit
8f6eb1383d
@ -116,7 +116,7 @@ def create_train_tab(engine: "Engine") -> Dict[str, "Component"]:
|
||||
with gr.Accordion(label="Freeze config", open=False) as freeze_tab:
|
||||
with gr.Row():
|
||||
num_layer_trainable = gr.Slider(value=3, minimum=1, maximum=128, step=1, scale=2)
|
||||
name_module_trainable = gr.Textbox(scale=3)
|
||||
name_module_trainable = gr.Textbox(value="all", scale=3)
|
||||
|
||||
input_elems.update({num_layer_trainable, name_module_trainable})
|
||||
elem_dict.update(
|
||||
|
Loading…
x
Reference in New Issue
Block a user