remove redundant code

Former-commit-id: 4a7a7ad2bcdc493458084f5f3d384239228b7d5a
This commit is contained in:
hiyouga 2024-04-24 05:02:18 +08:00
parent 5420905a2e
commit c05027d14a

View File

@ -167,7 +167,6 @@ def init_adapter(
}
if model_args.use_unsloth:
print(model)
model = get_unsloth_peft_model(model, model_args, peft_kwargs)
else:
lora_config = LoraConfig(