mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-15 08:08:09 +08:00
remove redundant code
Former-commit-id: 4a7a7ad2bcdc493458084f5f3d384239228b7d5a
This commit is contained in:
parent
5420905a2e
commit
c05027d14a
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user