Skip to content

Integrate HuggingFace API: Support Go-based model downloading #101

@gitctrlx

Description

@gitctrlx

Background

To enhance the usability of this minimalist ML framework, it is planned to integrate HuggingFace's model hub API.

Feature Proposal

  • Add Go code/API that enables users to download models directly from HuggingFace to local storage.
  • Provide simple and idiomatic Go methods or CLI for specifying model names and target directories.
  • Consider model caching, update, and basic error handling.
  • Ensure easy extensibility for additional HuggingFace features in the future.

Possible Steps

  1. Investigate HuggingFace Hub API endpoints and authentication (if needed).
  2. Implement HTTP(s) based Go client for model asset pull.
  3. Document the workflow and provide usage examples.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions