Skip to content

History / HuggingFace compatible API

Revisions

  • Doc: HuggingFace-Hub-compatible API (upcoming feature) Add documentation for the new HuggingFace-compatible API facade that allows DSpace models to be consumed by huggingface_hub clients (snapshot_download, transformers.from_pretrained, hf CLI). Covers: - Usage via HF_ENDPOINT environment variable - All endpoints (model-info, tree, resolve, listing, whoami) - Configuration keys (hf.api.enabled, filter, exposure) - Scope and limitations (anonymous phase 1, license-gated access, S3 redirect) - Optional nginx vanity-host setup Marked as 'Upcoming' — implementation complete and tested, awaiting merge. Ref: Feature: HuggingFace-Hub-compatible API facade for CLARIN-DSpace

    @kosarko kosarko committed Jul 8, 2026