🚨🚨🚨Deprecate evaluation_strategy to eval_strategy🚨🚨🚨 (#30190)

* Alias

* Note alias

* Tests and src

* Rest

* Clean

* Change typing?

* Fix tests

* Deprecation versions
This commit is contained in:
Zach Mueller
2024-04-18 12:49:43 -04:00
committed by GitHub
parent c86d020ead
commit 60d5f8f9f0
116 changed files with 214 additions and 203 deletions

View File

@@ -490,7 +490,7 @@ python3 xla_spawn.py --num_cores ${NUM_TPUS} run_mlm.py --output_dir="./runs" \
--do_train \
--do_eval \
--logging_steps="500" \
--evaluation_strategy="epoch" \
--eval_strategy="epoch" \
--report_to="tensorboard" \
--save_strategy="no"
```
@@ -538,7 +538,7 @@ python3 -m torch.distributed.launch --nproc_per_node ${NUM_GPUS} run_mlm.py \
--do_train \
--do_eval \
--logging_steps="500" \
--evaluation_strategy="steps" \
--eval_strategy="steps" \
--report_to="tensorboard" \
--save_strategy="no"
```