Skip to main content

Download and cache a hf model for a given url, save to models dir

Project description

dl-hf-model

pytestpythonCode style: blackLicense: MITPyPI version

Download and cache a huggingface model given a url, save to models dir

Install it

pip install dl-hf-model
# pip install git+https://github.com/ffreemt/dl-hf-model
# poetry add git+https://github.com/ffreemt/dl-hf-model
# git clone https://github.com/ffreemt/dl-hf-model && cd dl-hf-model

Use it

from dl_hf_model import dl_hf_model

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dl-hf-model-0.1.0a1.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

dl_hf_model-0.1.0a1-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page