mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-16 00:28:10 +08:00
fix bug in webui
Former-commit-id: c95f0f687689934379b6c24abf872ffcde06073b
This commit is contained in:
parent
70a780c3c0
commit
0bfeed3a7e
@ -53,7 +53,7 @@ class WebChatModel(ChatModel):
|
||||
model_name_or_path=model_name_or_path,
|
||||
checkpoint_dir=checkpoint_dir,
|
||||
finetuning_type=finetuning_type,
|
||||
quantization_bit=int(quantization_bit) if quantization_bit else None,
|
||||
quantization_bit=int(quantization_bit) if quantization_bit != "None" else None,
|
||||
template=template,
|
||||
source_prefix=source_prefix
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user