mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-11-05 18:32:14 +08:00
fix: project blank
Former-commit-id: 3a0939572b0bfc7da0ee1a7244b6b3fbf567aba0
This commit is contained in:
parent
6d13503867
commit
f071e9ad1b
@ -311,7 +311,7 @@ class SwanLabArguments:
|
|||||||
metadata={"help": "Whether or not to use the SwanLab (an experiment tracking and visualization tool)."},
|
metadata={"help": "Whether or not to use the SwanLab (an experiment tracking and visualization tool)."},
|
||||||
)
|
)
|
||||||
swanlab_project: str = field(
|
swanlab_project: str = field(
|
||||||
default="LLaMA Factory",
|
default="llamafactory",
|
||||||
metadata={"help": "The project name in SwanLab."},
|
metadata={"help": "The project name in SwanLab."},
|
||||||
)
|
)
|
||||||
swanlab_workspace: str = field(
|
swanlab_workspace: str = field(
|
||||||
|
|||||||
@ -273,7 +273,7 @@ def create_train_tab(engine: "Engine") -> Dict[str, "Component"]:
|
|||||||
with gr.Accordion(open=False) as swanlab_tab:
|
with gr.Accordion(open=False) as swanlab_tab:
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
use_swanlab = gr.Checkbox()
|
use_swanlab = gr.Checkbox()
|
||||||
swanlab_project = gr.Textbox(value="LLaMA-Factory", placeholder="Project name", interactive=True)
|
swanlab_project = gr.Textbox(value="llamafactory", placeholder="Project name", interactive=True)
|
||||||
swanlab_experiment_name = gr.Textbox(value="", placeholder="Experiment name", interactive=True)
|
swanlab_experiment_name = gr.Textbox(value="", placeholder="Experiment name", interactive=True)
|
||||||
swanlab_workspace = gr.Textbox(value="", placeholder="Workspace name", interactive=True)
|
swanlab_workspace = gr.Textbox(value="", placeholder="Workspace name", interactive=True)
|
||||||
swanlab_api_key = gr.Textbox(value="", placeholder="API key", interactive=True)
|
swanlab_api_key = gr.Textbox(value="", placeholder="API key", interactive=True)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user