hf download meta-llama/Llama-3.1-8B-Instruct --include '*.safetensors'

Category: AI/ML Tooling

hf download meta-llama/Llama-3.1-8B-Instruct --include '*.safetensors'

Download only matching files

Fetches just the .safetensors weight files from the model repo, skipping tokenizers and configs, which saves bandwidth on big repos. The --include flag takes shell-style glob patterns and can be repeated. Add --exclude to filter further, or download individual files by naming them after the repo.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.