Skip to content

Conversation

@albertvillanova
Copy link
Member

This PR implements support for streaming out-of-the-box dataset scripts containing gzip.open.

This has been a recurring issue. See, e.g.:

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Oct 4, 2022

The documentation is not available anymore as the PR was closed or merged.

Copy link
Member

@lhoestq lhoestq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool thanks !

You can also support positional arguments (e.g. gzip.open(p, "rb")):

Co-authored-by: Quentin Lhoest <[email protected]>
@albertvillanova albertvillanova merged commit efaeee6 into huggingface:main Oct 6, 2022
@albertvillanova albertvillanova deleted the stream-gzip-open branch October 6, 2022 15:11
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

Successfully merging this pull request may close these issues.

3 participants