Skip to content

Commit

Permalink
refactor: update test_run_with_additional_callbacks() unit-test
Browse files Browse the repository at this point in the history
Signed-off-by: Vassilis Vassiliadis <[email protected]>
  • Loading branch information
VassilisVassiliadis committed Jun 26, 2024
1 parent 6c966a7 commit e56ee75
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_sft_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,8 +629,7 @@ def test_run_with_additional_callbacks():
"""Ensure that train() can work with additional_callbacks"""

with tempfile.TemporaryDirectory() as tempdir:
train_args = copy.deepcopy(TRAIN_ARGS)
train_args.output_dir = tempdir
train_args = get_train_args(output_dir=tempdir)
model_args = copy.deepcopy(MODEL_ARGS)

sft_trainer.train(
Expand Down

0 comments on commit e56ee75

Please sign in to comment.