Skip to content

Commit

Permalink
format codes
Browse files Browse the repository at this point in the history
  • Loading branch information
fclearner committed Aug 13, 2024
1 parent 223d284 commit 1c1300e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wenet/utils/train_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -923,4 +923,4 @@ def reinit_lora(model, args, configs, tokenizer, seed=777):
reinit_lora_modules(name, module, lora_config, **additional_kwargs)
# lora_init_model needs to be saved, w0 = w0 - A0 * B0
save_checkpoint(model, os.path.join(args.model_dir, "lora_init.pt"),
infos={"tag":"lora_init", **configs})
infos={"tag": "lora_init", **configs})

0 comments on commit 1c1300e

Please sign in to comment.