You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
In line 306, there is appears to be a probable issue.
For random.randint(start, end), the method is end-inclusive.
So, when len(current_chunk) == 2, line 309 would stop at a single iteration.
While this may allow the model to incorporate the single leftover chunk (if it were to be enter the first elif statement in line 339), it will leave the single chunk out of training instances.
Please address this issue.
The text was updated successfully, but these errors were encountered:
wjdghks950
changed the title
Error on line 306 in create_pretraining_data.py for albert
Probable error on line 306 in create_pretraining_data.py for albert
Jan 18, 2022
albert/create_pretraining_data.py
Line 306 in 932b41f
In line 306, there is appears to be a probable issue.
For
random.randint(start, end)
, the method is end-inclusive.So, when
len(current_chunk) == 2
, line 309 would stop at a single iteration.While this may allow the model to incorporate the single leftover chunk (if it were to be enter the first elif statement in line 339), it will leave the single chunk out of training instances.
Please address this issue.
The text was updated successfully, but these errors were encountered: