codertimo / codertimo/BERT-pytorch
dataset / dataset.py have one erro?
Open
- Dominant language
- Python
- Stars
- 6.5k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
"
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)。
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.