Skip to content

Commit

Permalink
Update README.md (huggingface#8050)
Browse files Browse the repository at this point in the history
--wwm cant be used as an argument given run_language_modeling.py and should be changed to --whole_word_mask
  • Loading branch information
MohammadrezaBanaei authored and fabiocapsouza committed Nov 15, 2020
1 parent 49f7ae8 commit f83b91c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/language-modeling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ python run_language_modeling.py \
--do_eval \
--eval_data_file=$TEST_FILE \
--mlm \
--wwm
--whole_word_mask
```

For Chinese models, it's same with English model with only --mlm`. If using whole-word masking, we need to generate a reference files, case it's char level.
Expand Down Expand Up @@ -107,7 +107,7 @@ python run_language_modeling.py \
--eval_data_file=$TEST_FILE \
--mlm \
--line_by_line \
--wwm
--whole_word_mask
```

### XLNet and permutation language modeling
Expand Down

0 comments on commit f83b91c

Please sign in to comment.