8000 dataset / dataset.py have one erro? · Issue #93 · codertimo/BERT-pytorch · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
dataset / dataset.py have one erro? #93
Open
@ndn-love

Description

@ndn-love

"
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)。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0