最終更新:
huggingface-cli の変更点
- 追加された行はこの色です。
- 削除された行はこの色です。
- huggingface-cli へ行く。
- huggingface-cli の差分を削除
[[Hugging Face]] https://huggingface.co/docs/huggingface_hub/guides/cli *コマンド [#r58c6375] -[[huggingface-cli login]] -[[huggingface-cli download]] *インストール [#w82643a6] - pip install -U "huggingface_hub[cli]" -[cli]というのはextra指定 **[[macOS]] [#p0924b35] -/Users/tokkyo/Library/Python/3.9/bin/huggingface-cli -[[macOS/~/Library/Python/3.9/bin]] echo 'export PATH=$PATH:/Users/tokkyo/Library/Python/3.9/bin' >> ~/.zshrc && source ~/.zshrc *help [#fd50fa20] - #geshi(){{ usage: huggingface-cli <command> [<args>] positional arguments: {download,upload,repo-files,env,login,whoami,logout,auth,repo,lfs-enable-largefiles,lfs-multipart-upload,scan-cache,delete-cache,tag,version,upload-large-folder} huggingface-cli command helpers download Download files from the Hub upload Upload a file or a folder to a repo on the Hub repo-files Manage files in a repo on the Hub env Print information about the environment. login Log in using a token from huggingface.co/settings/tokens whoami Find out which huggingface.co account you are logged in as. logout Log out auth Other authentication related commands repo {create} Commands to interact with your huggingface.co repos. lfs-enable-largefiles Configure your repository to enable upload of files > 5GB. scan-cache Scan cache directory. delete-cache Delete revisions from the cache directory. tag (create, list, delete) tags for a repo in the hub version Print information about the huggingface-cli version. upload-large-folder Upload a large folder to a repo on the Hub optional arguments: -h, --help show this help message and exit }}