codertimo / BERT-pytorch

Google AI 2018 BERT pytorch implementation
Apache License 2.0
6.11k stars 1.29k forks source link

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

Open huangnengCSU opened 5 years ago

huangnengCSU commented 5 years ago

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

DDzzxiaohongdou commented 2 years ago

这代码bug好多的