Skip to content

Commit

Permalink
πŸ› Style Transfer: redo config update to add state in the config dict
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmeoni committed Nov 7, 2024
1 parent 9a057ae commit 9cb46ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/style-transfer/style_transfer/rb_gen/steps/sft.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def sft_train(

cfg.sft.training_args.output_dir = f"models/{wandb.run.id}/sft"
args = hydra.utils.instantiate(cfg.sft.training_args)
wandb.config.update({"state": "sft"}, allow_val_change=True)
test_sft_dataset = None
if cfg.dataset.sft_dataset is not None:
sft_dataset, test_sft_dataset = sft_dataset.train_test_split(
Expand Down

0 comments on commit 9cb46ad

Please sign in to comment.