Skip to content

Commit 72a265e

Browse files
Update fine-tuning.mdx
The attribute evaluation_strategy is being deprecated in the Transformers repository (huggingface/transformers#30190). The evaluation_strategy usage in this repository should be replaced with the new eval_strategy.
1 parent 4bc95b7 commit 72a265e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapters/en/chapter6/fine-tuning.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ training_args = Seq2SeqTrainingArguments(
491491
max_steps=4000,
492492
gradient_checkpointing=True,
493493
fp16=True,
494-
evaluation_strategy="steps",
494+
eval_strategy="steps",
495495
per_device_eval_batch_size=2,
496496
save_steps=1000,
497497
eval_steps=1000,

0 commit comments

Comments
 (0)