hf upload myuser/my-repo ./model.safetensors

Category: AI/ML Tooling

hf upload myuser/my-repo ./model.safetensors

Upload a file to the Hub

Pushes model.safetensors to the myuser/my-repo repository on Hugging Face, committing it in a single shot. The repo must already exist (see `hf repos create`) or be created with --private, and you must be logged in as its owner. Repeat with more paths or a folder to upload several files at once.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.