Don't use store_xxx on optional bools (#7786)

* Don't use `store_xxx` on optional bools

* Refine test

* Refine test
This commit is contained in:
Sylvain Gugger
2020-10-14 12:05:02 -04:00
committed by GitHub
parent a1d1b332d0
commit bb9559a7f9
5 changed files with 9 additions and 8 deletions

View File

@@ -191,7 +191,7 @@ class TrainingArguments:
do_eval: bool = field(default=None, 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."})
evaluate_during_training: bool = field(
default=None,
default=False,
metadata={"help": "Run evaluation during training at each logging step."},
)
evaluation_strategy: EvaluationStrategy = field(