Skip to content

Commit

Permalink
explainer about upload cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackmin801 authored and samsja committed Nov 19, 2024
1 parent e04a9d5 commit d49b5c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,6 @@ python scripts/export_dcp.py @configs/10B/H100.toml --ckpt.path /path/to/save/co
You can then upload the model to huggingface using huggingface-cli:
```bash
# Usage: huggingface-cli upload [repo_id] [local_path] [path_in_repo]
huggingface-cli upload mymodel /path/to/save/converted_model . --private
huggingface-cli upload username/mymodel /path/to/save/converted_model . --private
```
The repo will be created if `repo_id` does not exist. The `--private` will create the repo as a private repo and cab ne ommited to create a publicly accessible repo.

0 comments on commit d49b5c9

Please sign in to comment.