Skip to content

Commit

Permalink
update param
Browse files Browse the repository at this point in the history
  • Loading branch information
tastelikefeet committed Nov 11, 2023
1 parent 183859d commit 5a67164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swift/llm/sft.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def llm_sft(args: SftArguments) -> str:
model = Swift.from_pretrained(
model, args.resume_from_checkpoint, is_trainable=True)

model = Swift.prepare_model(model, NEFTuneConfig())
model = Swift.prepare_model(model, NEFTuneConfig(noise_alpha=1.))
show_layers(model)
print_model_info(model)
logger.info(model)
Expand Down

0 comments on commit 5a67164

Please sign in to comment.