codertimo / codertimo/BERT-pytorch

Erroneous Code

Open
#65 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
6.5k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

I believe there are something wrong here. Even though I have never get into this if-clause during experiment.

https://github.com/codertimo/BERT-pytorch/blob/d10dc4f9d5a6f2ca74380f62039526eb7277c671/bert_pytorch/dataset/dataset.py#L17-L20

Are you trying to self-increase a NoneType? And I am wondering what the corpus_lines is for here, remembering the how many lines have been read or setting the maximum readable lines?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.