BERT-pytorch icon indicating copy to clipboard operation
BERT-pytorch copied to clipboard

will "random.randint(self.corpus_lines if self.corpus_lines < 1000 else 1000)" report error?

Open huangnengCSU opened this issue 6 years ago • 1 comments
trafficstars

in the dataset.py line 31, it seem to report error random.randint() needs two positional argument.

huangnengCSU avatar Feb 20 '19 03:02 huangnengCSU

这代码bug好多的

DDzzxiaohongdou avatar Oct 14 '21 14:10 DDzzxiaohongdou