From 30f8149d11d4e19c1fe87d06f53504b7eaf4c1cf Mon Sep 17 00:00:00 2001 From: hiyouga <467089858@qq.com> Date: Wed, 24 Jul 2024 21:11:51 +0800 Subject: [PATCH] update webui --- src/llamafactory/webui/components/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llamafactory/webui/components/export.py b/src/llamafactory/webui/components/export.py index 86fad2aa..a05fae6f 100644 --- a/src/llamafactory/webui/components/export.py +++ b/src/llamafactory/webui/components/export.py @@ -104,7 +104,7 @@ def save_model( def create_export_tab(engine: "Engine") -> Dict[str, "Component"]: with gr.Row(): - export_size = gr.Slider(minimum=1, maximum=100, value=1, step=1) + export_size = gr.Slider(minimum=1, maximum=100, value=5, step=1) export_quantization_bit = gr.Dropdown(choices=["none"] + GPTQ_BITS, value="none") export_quantization_dataset = gr.Textbox(value="data/c4_demo.json") export_device = gr.Radio(choices=["cpu", "auto"], value="cpu")