Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cridin1 opened this issue Dec 2, 2023 · 0 comments
Open

Comments

@cridin1
Copy link

cridin1 commented Dec 2, 2023

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")
@cridin1 cridin1 changed the title The mlm and mlm_probability arguments in all the run.py are not effective. The mlm and mlm_probability arguments in the run.py are not effective. Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant