No description
  • Python 67.8%
  • Shell 27%
  • Gherkin 4%
  • TypeScript 1.2%
Find a file
2026-10-15 23:55:05 +00:00
.opencode Initialize Beacon and SpecKit project 2026-10-15 06:24:28 +00:00
.specify feat(mirror): add self-hosted dataset mirror and load path 2026-10-15 06:24:28 +00:00
docs/tutorials docs(tutorial): cover local dataset Git remotes 2026-10-15 23:50:31 +00:00
project-management docs(tutorial): cover local dataset Git remotes 2026-10-15 23:50:31 +00:00
specs docs(release): close public release handoff epic 2026-10-15 23:27:45 +00:00
src/local_datasets feat(release): publish private dataset revisions 2026-10-15 23:15:16 +00:00
tests docs(tutorial): cover local dataset Git remotes 2026-10-15 23:50:31 +00:00
.gitignore feat(mirror): add self-hosted dataset mirror and load path 2026-10-15 06:24:28 +00:00
AGENTS.md Initialize Beacon and SpecKit project 2026-10-15 06:24:28 +00:00
beacon.md Initialize Beacon and SpecKit project 2026-10-15 06:24:28 +00:00
CHANGELOG.md feat(release): publish private dataset revisions 2026-10-15 23:15:16 +00:00
pyproject.toml feat(mirror): add self-hosted dataset mirror and load path 2026-10-15 06:24:28 +00:00
README.md docs(tutorial): cover local dataset Git remotes 2026-10-15 23:50:31 +00:00
uv.lock feat(mirror): add self-hosted dataset mirror and load path 2026-10-15 06:24:28 +00:00

local-datasets

What is this?

A self-hostable dataset repository service for ML engineers who need local mirrors and private dataset development while keeping familiar Hugging Face client workflows.

The service mirrors pinned public dataset revisions, refreshes those mirrors to explicit upstream commits, and loads them through the official datasets client. Private dataset repositories can be created and updated from local files, then loaded with repository-scoped tokens, without requiring public-Hub connectivity. An operator can also publish a selected pinned private revision to a new public Hub dataset with an explicit local CLI command.

Install

uv sync --all-groups
uv run local-datasets --help

To mirror a public dataset and start the local endpoint:

uv run local-datasets mirror lhoestq/demo1 --revision 87ecf163bedca9d80598b528940a9c4f99e14c11
uv run local-datasets serve --data-dir ./.local-datasets --host 127.0.0.1 --port 8765

Quickstart

Quickstarts:

For an end-to-end walk-through from local CSV files to a Git remote and a Python datasets workflow, see the local-dataset-to-Git tutorial.

Point the official client at http://127.0.0.1:8765 with HF_ENDPOINT and disable the optional public download-count ping with HF_UPDATE_DOWNLOAD_COUNTS=0.

Project notes