Client library to download and publish models, datasets and other repos on the huggingface.co hub
Project description
huggingface_hub
Welcome to the huggingface_hub library
The huggingface_hub
is a client library to interact with the Hugging Face Hub. The Hugging Face Hub is a platform with over 35K models, 4K datasets, and 2K demos in which people can easily collaborate in their ML workflows. The Hub works as a central place where anyone can share, explore, discover, and experiment with open-source Machine Learning.
With huggingface_hub
, you can easily download and upload models, datasets, and Spaces. You can extract useful information from the Hub, and do much more. Some example use cases:
- Downloading and caching files from a Hub repository.
- Creating repositories and uploading an updated model every few epochs.
- Extract metadata from all models that match certain criteria (e.g. models for
text-classification
). - List all files from a specific repository.
Read all about it in the library documentation.
Integrating to the Hub.
We're partnering with cool open source ML libraries to provide free model hosting and versioning. You can find the existing integrations here.
The advantages are:
- Free model or dataset hosting for libraries and their users.
- Built-in file versioning, even with very large files, thanks to a git-based approach.
- Hosted inference API for all models publicly available.
- In-browser widgets to play with the uploaded models.
- Anyone can upload a new model for your library, they just need to add the corresponding tag for the model to be discoverable.
- Fast downloads! We use Cloudfront (a CDN) to geo-replicate downloads so they're blazing fast from anywhere on the globe.
- Usage stats and more features to come.
If you would like to integrate your library, feel free to open an issue to begin the discussion. We wrote a step-by-step guide with ❤️ showing how to do this integration.
Feedback (feature requests, bugs, etc.) is super welcome 💙💚💛💜♥️🧡
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for huggingface_hub-0.10.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71c6ca3014cbf1245cafbc0b426a27e0ff0465853b4f85aefcd2863f61f1dc2d |
|
MD5 | fcf37e1acab00a765b14307adfc253a5 |
|
BLAKE2b-256 | 9f813ae1223f0ff868907e22ffc16e8e1813ae17b8430c3c1777c9d96c4619ac |