HfGated

Read files from gated/private Hugging Face datasets with a token. Parquet goes straight into Explorer.DataFrame.

Mix.install([{:hf_gated, "~> 0.1"}])
df = HfGated.fetch!("user/dataset", "latest.parquet", token: token)

Functions

The token is passed only through arguments; the library never stores it.

Installation

Add to your dependencies:

{:hf_gated, "~> 0.1"}

or in Livebook:

Mix.install([{:hf_gated, "~> 0.1"}])

License

MIT - see LICENSE.