microsoft / CodeXGLUE

CodeXGLUE
MIT License
1.56k stars 366 forks source link

The mlm and mlm_probability arguments in the run.py are not effective. #173

Open cridin1 opened 11 months ago

cridin1 commented 11 months ago

If I want to pretrain a model on a MLM task, how can these args be used effectively?

parser.add_argument("--mlm", action='store_true',help="Train with masked-language modeling loss instead of language modeling.")
parser.add_argument("--mlm_probability", type=float, default=0.15,help="Ratio of tokens to mask for masked language modeling loss")