@@ -263,7 +263,7 @@ def test_sft_trainer_uncorrect_data(self):
263263 training_args = SFTConfig (
264264 output_dir = tmp_dir ,
265265 dataloader_drop_last = True ,
266- evaluation_strategy = "steps" ,
266+ eval_strategy = "steps" ,
267267 max_steps = 2 ,
268268 eval_steps = 1 ,
269269 save_steps = 1 ,
@@ -281,7 +281,7 @@ def test_sft_trainer_uncorrect_data(self):
281281 training_args = SFTConfig (
282282 output_dir = tmp_dir ,
283283 dataloader_drop_last = True ,
284- evaluation_strategy = "steps" ,
284+ eval_strategy = "steps" ,
285285 max_steps = 2 ,
286286 eval_steps = 1 ,
287287 save_steps = 1 ,
@@ -298,7 +298,7 @@ def test_sft_trainer_uncorrect_data(self):
298298 training_args = SFTConfig (
299299 output_dir = tmp_dir ,
300300 dataloader_drop_last = True ,
301- evaluation_strategy = "steps" ,
301+ eval_strategy = "steps" ,
302302 max_steps = 2 ,
303303 eval_steps = 1 ,
304304 save_steps = 1 ,
@@ -315,7 +315,7 @@ def test_sft_trainer_uncorrect_data(self):
315315 training_args = SFTConfig (
316316 output_dir = tmp_dir ,
317317 dataloader_drop_last = True ,
318- evaluation_strategy = "steps" ,
318+ eval_strategy = "steps" ,
319319 max_steps = 2 ,
320320 eval_steps = 1 ,
321321 save_steps = 1 ,
@@ -331,7 +331,7 @@ def test_sft_trainer_uncorrect_data(self):
331331 training_args = SFTConfig (
332332 output_dir = tmp_dir ,
333333 dataloader_drop_last = True ,
334- evaluation_strategy = "steps" ,
334+ eval_strategy = "steps" ,
335335 max_steps = 2 ,
336336 eval_steps = 1 ,
337337 save_steps = 1 ,
@@ -352,7 +352,7 @@ def test_sft_trainer_uncorrect_data(self):
352352 training_args = SFTConfig (
353353 output_dir = tmp_dir ,
354354 dataloader_drop_last = True ,
355- evaluation_strategy = "steps" ,
355+ eval_strategy = "steps" ,
356356 max_steps = 2 ,
357357 eval_steps = 1 ,
358358 save_steps = 1 ,
@@ -372,7 +372,7 @@ def test_sft_trainer_uncorrect_data(self):
372372 training_args = SFTConfig (
373373 output_dir = tmp_dir ,
374374 dataloader_drop_last = True ,
375- evaluation_strategy = "steps" ,
375+ eval_strategy = "steps" ,
376376 max_steps = 2 ,
377377 eval_steps = 1 ,
378378 save_steps = 1 ,
@@ -390,7 +390,7 @@ def test_sft_trainer_uncorrect_data(self):
390390 training_args = SFTConfig (
391391 output_dir = tmp_dir ,
392392 dataloader_drop_last = True ,
393- evaluation_strategy = "steps" ,
393+ eval_strategy = "steps" ,
394394 max_steps = 2 ,
395395 eval_steps = 1 ,
396396 save_steps = 1 ,
@@ -1089,7 +1089,7 @@ def test_sft_trainer_eval_packing(self):
10891089 training_args = SFTConfig (
10901090 output_dir = tmp_dir ,
10911091 dataloader_drop_last = True ,
1092- evaluation_strategy = "steps" ,
1092+ eval_strategy = "steps" ,
10931093 max_steps = 4 ,
10941094 eval_steps = 2 ,
10951095 save_steps = 2 ,
@@ -1111,7 +1111,7 @@ def test_sft_trainer_eval_packing(self):
11111111 training_args = SFTConfig (
11121112 output_dir = tmp_dir ,
11131113 dataloader_drop_last = True ,
1114- evaluation_strategy = "steps" ,
1114+ eval_strategy = "steps" ,
11151115 max_steps = 4 ,
11161116 eval_steps = 2 ,
11171117 save_steps = 2 ,
0 commit comments