From f5a787d219cb8fc88b6245824819c4394d101e5c Mon Sep 17 00:00:00 2001 From: mohammadreza-Banaei73 <43634296+mohammadreza-Banaei73@users.noreply.github.com> Date: Mon, 26 Oct 2020 14:35:19 +0100 Subject: [PATCH] Update README.md --wwm cant be used as an argument given run_language_modeling.py and should be changed to --whole_word_mask --- examples/language-modeling/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/language-modeling/README.md b/examples/language-modeling/README.md index 80034959221f05..d5c0e619dcced4 100644 --- a/examples/language-modeling/README.md +++ b/examples/language-modeling/README.md @@ -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. @@ -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