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

请教关于单独训bert任务问题 #210

Open
linwhitehat opened this issue Oct 11, 2021 · 1 comment
Open

请教关于单独训bert任务问题 #210

linwhitehat opened this issue Oct 11, 2021 · 1 comment

Comments

@linwhitehat
Copy link

linwhitehat commented Oct 11, 2021

你好,请问在目前uer中单独训mlm和nsp能不能只通过删去target=bert中的loss来实现?这样效果和target=mlm的robert是一致的吗?

@hhou435
Copy link
Collaborator

hhou435 commented Oct 11, 2021

由于bert训练使用的语料格式和roberta是不一致的,只删去nsp的loss 代码可能会报错,如果只想使用mlm任务训练bert,建议使用target=mlm,效果是一致的。

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

2 participants