Skip to main content

14 posts tagged with "Hugging Face"

Hugging Face, Its Hub of Models and Datasets, and the hf Command-Line Tool and Cache

View All Tags

How to Check a Model's License on the Hugging Face Hub

· 5 min read
Jagdish Kumawat
Founder @ Dewiride

Every model on the Hugging Face Hub comes with a license that says what you may do with it. Some allow almost anything, including selling a product built on them; others forbid commercial use or add conditions. Check it before you build on a model. This guide finds the license of google-bert/bert-base-uncased on its page and from the terminal.

How to Change Where Hugging Face Stores Downloaded Models with HF_HOME

· 6 min read
Jagdish Kumawat
Founder @ Dewiride

By default, Hugging Face keeps downloaded models in ~/.cache/huggingface, on your main drive. Models can take many gigabytes, so you may want them on a bigger drive or inside a project. The HF_HOME environment variable moves that whole folder. This guide sets it in bash and PowerShell with huggingface_hub 2.5.0 and checks the result.