-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Question about random sampling. #13
Comments
Haha your right it seems else is more efficient. thank you for your comment 👀 |
codertimo
added a commit
that referenced
this issue
Oct 20, 2018
if prob < prob * 0.8: always False? |
artemisart
added a commit
to artemisart/BERT-pytorch
that referenced
this issue
Oct 22, 2018
I also think these conditions are still wrong, I'm sending a PR |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BERT-pytorch/bert_pytorch/dataset/dataset.py
Lines 50 to 64 in 7efd2b5
Well, seems
random.random()
always returns a positive number, soprob >= prob * 0.9
will always be true?The text was updated successfully, but these errors were encountered: