microsoft / CodeXGLUE

CodeXGLUE
MIT License
1.5k stars 363 forks source link

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

Open cridin1 opened 9 months ago

cridin1 commented 9 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")