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

dataset / dataset.py have one erro? #93

Open
ndn-love opened this issue Aug 22, 2021 · 1 comment
Open

dataset / dataset.py have one erro? #93

ndn-love opened this issue Aug 22, 2021 · 1 comment

Comments

@ndn-love
Copy link

"
def get_random_line(self):
if self.on_memory:
self.lines[random.randrange(len(self.lines))][1]
"
This code is to get the incorrect next sentence(isNotNext : 0),
maybe it random get a lines it is (isnext:1)。

@Arya-bioinformatics
Copy link

what do you mean by this?

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