Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

learn_bpe.py error #102

Open
unwritten opened this issue May 12, 2021 · 1 comment
Open

learn_bpe.py error #102

unwritten opened this issue May 12, 2021 · 1 comment

Comments

@unwritten
Copy link

I am running with a very big file: about 150M lines, disk size 60GB, --num-workers 10, and then :
'vocab += pickle.load(f)' in learn_bpe.py will report error: EOFError: Ran out of input.

tested on windows 10 os. I assume the 'tmp = tempfile.NamedTemporaryFile' introduce this?
anyone has such experience?

thx

@rsennrich
Copy link
Owner

thanks for reporting this issue.

@yimmon , this is related to parallel support you contributed; could you have a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants