Skip to content

Conversation

@lhoestq
Copy link
Member

@lhoestq lhoestq commented Nov 19, 2025

>>> from huggingface_hub import hffs
>>> with hffs.open("datasets/fka/awesome-chatgpt-prompts/prompts.csv", "r") as f:
...     print(f.readline())
...     print(f.readline())
"act","prompt"
"An Ethereum Developer","Imagine you are an experienced Ethereum developer tasked..."

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

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

Thanks! Maybe mention it in https://huggingface.co/docs/huggingface_hub/guides/hf_file_system as well? I would make the default snippets use hffs and mention that instantiating HfFileSystem is possible

Note: failing CI is unrelated (will be fixed in https://huggingface.co/docs/huggingface_hub/guides/hf_file_system)

@lhoestq lhoestq merged commit 9a1c4af into main Nov 19, 2025
20 of 22 checks passed
@lhoestq lhoestq deleted the top-level-hffs branch November 19, 2025 16:34
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.

4 participants