Unverified Commit 734afa37 authored by Pengzhi Gao's avatar Pengzhi Gao Committed by GitHub
Browse files

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

parent 7a7e2c26
...@@ -68,13 +68,13 @@ python run_mlm.py \ ...@@ -68,13 +68,13 @@ python run_mlm.py \
To run on your own training and validation files, use the following command: To run on your own training and validation files, use the following command:
```bash ```bash
python run_clm.py \ python run_mlm.py \
--model_name_or_path roberta-base \ --model_name_or_path roberta-base \
--train_file path_to_train_file \ --train_file path_to_train_file \
--validation_file path_to_validation_file \ --validation_file path_to_validation_file \
--do_train \ --do_train \
--do_eval \ --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 If your dataset is organized with one sample per line, you can use the `--line_by_line` flag (otherwise the script
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment