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

"current chunk incomplete" without any json1.zst file #11

Open
Guruprasad93 opened this issue Sep 16, 2022 · 1 comment
Open

"current chunk incomplete" without any json1.zst file #11

Guruprasad93 opened this issue Sep 16, 2022 · 1 comment

Comments

@Guruprasad93
Copy link

I'm trying to write to lmd files - by the ar.commit() method -- but after I create a loop and add a bunch of data to the lmd file - there's only a current chunk incomplete file - with a size of 10GB -- but there isn't any json1.zst file..

Should I instead split the files - and create multiple json1.zst - instead of adding it to the same file? or is there a better fix?

@lfoppiano
Copy link

If you call commit() it should rename the chunk incomplete and have your zst file. I'm not sure about this version, but if you are still interested, you can check out my fork https://github.com/lfoppiano/lm_dataformat

https://github.com/lfoppiano/stackexchange-dataset/blob/master/pairer.py#L82C1-L85C23

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