Skip to content

Commit 759e9e7

Browse files
authored
replace 'evaluation_strategy' with 'eval_strategy'
'evaluation_strategy' is already deprecated. huggingface/setfit#512
1 parent a12b762 commit 759e9e7

File tree

1 file changed

+2
-2
lines changed
  • chapters/zh-CN/chapter7

1 file changed

+2
-2
lines changed

chapters/zh-CN/chapter7/6.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ args = TrainingArguments(
423423
output_dir="codeparrot-ds",
424424
per_device_train_batch_size=32,
425425
per_device_eval_batch_size=32,
426-
evaluation_strategy="steps",
426+
eval_strategy="steps",
427427
eval_steps=5_000,
428428
logging_steps=5_000,
429429
gradient_accumulation_steps=8,
@@ -898,4 +898,4 @@ for epoch in range(num_train_epochs):
898898
899899
</Tip>
900900
901-
{/if}
901+
{/if}

0 commit comments

Comments
 (0)