Fix typo in language-modeling README.md (#8287)

This commit is contained in:
Pengzhi Gao 2020-11-04 22:38:02 +08:00 committed by GitHub
parent 7a7e2c2606
commit 734afa37f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,13 +68,13 @@ python run_mlm.py \
To run on your own training and validation files, use the following command:
```bash
python run_clm.py \
python run_mlm.py \
--model_name_or_path roberta-base \
--train_file path_to_train_file \
--validation_file path_to_validation_file \
--do_train \
--do_eval \
--output_dir /tmp/test-clm
--output_dir /tmp/test-mlm
```
If your dataset is organized with one sample per line, you can use the `--line_by_line` flag (otherwise the script