Unverified Commit 098ddc22 authored by mohammadreza-Banaei73's avatar mohammadreza-Banaei73 Committed by GitHub
Browse files

Update README.md (#8050)

--wwm cant be used as an argument given run_language_modeling.py and should be changed to --whole_word_mask
parent fbcddb85
...@@ -60,7 +60,7 @@ python run_language_modeling.py \ ...@@ -60,7 +60,7 @@ python run_language_modeling.py \
--do_eval \ --do_eval \
--eval_data_file=$TEST_FILE \ --eval_data_file=$TEST_FILE \
--mlm \ --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. 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.
...@@ -107,7 +107,7 @@ python run_language_modeling.py \ ...@@ -107,7 +107,7 @@ python run_language_modeling.py \
--eval_data_file=$TEST_FILE \ --eval_data_file=$TEST_FILE \
--mlm \ --mlm \
--line_by_line \ --line_by_line \
--wwm --whole_word_mask
``` ```
### XLNet and permutation language modeling ### XLNet and permutation language modeling
......
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