mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-12-15 03:10:35 +08:00
remove redundant code
This commit is contained in:
@@ -167,7 +167,6 @@ def init_adapter(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if model_args.use_unsloth:
|
if model_args.use_unsloth:
|
||||||
print(model)
|
|
||||||
model = get_unsloth_peft_model(model, model_args, peft_kwargs)
|
model = get_unsloth_peft_model(model, model_args, peft_kwargs)
|
||||||
else:
|
else:
|
||||||
lora_config = LoraConfig(
|
lora_config = LoraConfig(
|
||||||
|
|||||||
Reference in New Issue
Block a user