mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-01 18:51:14 +06:00
Fix typo in language-modeling README.md (#8287)
This commit is contained in:
parent
7a7e2c2606
commit
734afa37f6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user