diff --git a/examples/language-modeling/README.md b/examples/language-modeling/README.md index 8fde5d8d2ed6..0bee627e9d46 100644 --- a/examples/language-modeling/README.md +++ b/examples/language-modeling/README.md @@ -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