[lm examples] Replicate --config_overrides addition to other LM examples (#12135)

* [lm examples] Replicate --config_overrides addition to other LM examples

* Removing no trainer files changes

* Update README

Co-authored-by: Kumar Abhishek <kabhishek@expedia.com>
This commit is contained in:
Kumar Abhishek
2021-06-14 05:12:22 -07:00
committed by GitHub
parent cd7961b632
commit 9de62cfbce
3 changed files with 33 additions and 1 deletions

View File

@@ -173,7 +173,7 @@ python run_clm.py --model_type gpt2 --tokenizer_name gpt2 \ --config_overrides="
[...]
```
At the moment this is only available in `run_clm.py` but eventually should be copied to all other LM examples.
This feature is only available in `run_clm.py`, `run_plm.py` and `run_mlm.py`.
This feature can also be used to activate gradient checkpointing by passing:
```