Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
muellerzr committed Apr 16, 2024
1 parent 4f1654c commit 53f83a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transformers/training_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ class TrainingArguments:
do_eval: bool = field(default=False, metadata={"help": "Whether to run eval on the dev set."})
do_predict: bool = field(default=False, metadata={"help": "Whether to run predictions on the test set."})
eval_strategy: Union[IntervalStrategy, str] = field(
default=None,
default="no",
metadata={"help": "The evaluation strategy to use."},
)
prediction_loss_only: bool = field(
Expand Down Expand Up @@ -1269,7 +1269,7 @@ class TrainingArguments:
"choices": ["auto", "apex", "cpu_amp"],
},
)
evaluation_strategy: Optional[str] = field(
evaluation_strategy: Union[IntervalStrategy, str] = field(
default=None,
metadata={"help": "Deprecated. Use `eval_strategy` instead"},
)
Expand Down

0 comments on commit 53f83a5

Please sign in to comment.