Skip to content

Commit

Permalink
πŸ› Style Transfer: tweak dataset split proportion
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmeoni committed Nov 14, 2024
1 parent 85c7c74 commit d61dfa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/style-transfer/style_transfer/rb_gen/steps/sft.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def sft_train(
test_sft_dataset = None
if cfg.dataset.sft_dataset is not None:
sft_dataset, test_sft_dataset = sft_dataset.train_test_split(
train_size=0.1, shuffle=False
train_size=0.5, shuffle=False
).values()
args.load_best_model_at_end = True
trainer = SFTTrainer(
Expand Down

0 comments on commit d61dfa9

Please sign in to comment.