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

这个断言可以修改一下,前面内循环判断。 if len(masked_token_labels) >= num_to_mask: #26

Open
moonblue333 opened this issue Nov 22, 2019 · 2 comments

Comments

@moonblue333
Copy link

No description provided.

@bingoohe
Copy link

bingoohe commented Jan 6, 2020

我也遇到了这个情况,按照作者的原始意图,在下面的循环中加上 即可
if len(masked_token_labels) >= num_to_mask:
break

@Vimos
Copy link

Vimos commented Feb 23, 2020

是加在内循环吧,我看着外循环已经有了

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

3 participants