mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-05 21:22:50 +08:00
remove redundant code
Former-commit-id: 667ce08b27df9452faee87348419f5f1f0c0cb2f
This commit is contained in:
parent
c0afc4074f
commit
1f99c367b3
@ -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