Skip to content

[v1.1.7] Make `hffs` accessible at root-level

Latest

Choose a tag to compare

@Wauplin Wauplin released this 01 Dec 11:06
· 40 commits to main since this release
7fc6fc4

[HfFileSystem] Add top level hffs by @lhoestq #3556.

Example:

>>> 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..."

Full Changelog: v1.1.6...v1.1.7