Langsung ke konten
Skillpedia
Agen48k Β· #4833

hugging-face-cli

Fungsinya

Tool ini membantu Anda mengelola file dan model di Hugging Face Hub, yaitu tempat orang berbagi proyek kecerdasan buatan (AI). Anda bisa mengunduh, mengunggah, dan merapikan karya Anda.

Kapan dipakai

  • βœ“Saat Anda ingin mengunduh model AI untuk digunakan.
  • βœ“Saat Anda ingin mengunggah model AI yang Anda buat.
  • βœ“Saat Anda ingin merapikan proyek AI Anda di Hugging Face.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hugging-face-cli/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hugging-face-cli/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œUnduh model bahasa 'bert-base-uncased' dari Hugging Face.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Anda mengetik perintah seperti 'hf download' diikuti nama proyek yang diinginkan. Tool ini terhubung ke Hugging Face Hub dan melakukan apa yang Anda minta.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

When to Use

Use this skill when you need hugging Face Hub CLI (hf) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and more on the Hugging Face Hub. Use when: handling authentication; managing local cache; managing Hugging Face Buckets; running or scheduling jobs on Hugging...

Install by downloading the installer script first, reviewing it, and then running it locally: tmpdir="$(mktemp -d)" && trap 'rm -rf "$tmpdir"' EXIT && curl -LsSf https://hf.co/cli/install.sh -o "$tmpdir/hf-install.sh" && less "$tmpdir/hf-install.sh" && bash "$tmpdir/hf-install.sh"

The Hugging Face Hub CLI tool hf is available. IMPORTANT: The hf command replaces the deprecated huggingface-cli command.

Use hf --help to view available functions. Note that auth commands are now all under hf auth e.g. hf auth whoami.

Generated with huggingface_hub v1.21.0. Run hf skills add --force to regenerate.

Commands

  • hf cp SRC β€” Copy files between local paths, repositories, and buckets. [--format [auto|human|agent|json|quiet]]
  • hf download REPO_ID β€” Download files from the Hub. [--type [model|dataset|space] --revision TEXT --include TEXT --exclude TEXT --cache-dir TEXT --local-dir TEXT --force-download --dry-run --max-workers INTEGER --format [auto|human|agent|json|quiet]]
  • hf env β€” Print information about the environment. [--format [auto|human|agent|json|quiet]]
  • hf sync β€” Sync files between local directory and a bucket. [--delete --ignore-times --ignore-sizes --plan TEXT --apply TEXT --dry-run --include TEXT --exclude TEXT --filter-from TEXT --existing --ignore-existing --verbose --format [auto|human|agent|json|quiet]]
  • hf update β€” Update the hf CLI to the latest version. [--format [auto|human|agent|json|quiet]]
  • hf upload REPO_ID β€” Upload a file or a folder to the Hub. Recommended for single-commit uploads. [--type [model|dataset|space] --revision TEXT --private --include TEXT --exclude TEXT --delete TEXT --commit-message TEXT --commit-description TEXT --create-pr --every FLOAT --format [auto|human|agent|json|quiet]]
  • hf upload-large-folder REPO_ID LOCAL_PATH β€” Upload a large folder to the Hub. Recommended for resumable uploads. [--type [model|dataset|space] --revision TEXT --private --include TEXT --exclude TEXT --num-workers INTEGER --no-report --no-bars --format [auto|human|agent|json|quiet]]
  • hf version β€” Print information about the hf version. [--format [auto|human|agent|json|quiet]]

hf auth β€” Manage authentication (login, logout, etc.).

  • hf auth list β€” List all stored access tokens. [--format [auto|human|agent|json|quiet]]
  • hf auth login β€” Login from your browser, or using a token from huggingface.co/settings/tokens. [--add-to-git-credential --force --format [auto|human|agent|json|quiet]]
  • hf auth logout β€” Logout from a specific token. [--token-name TEXT --format [auto|human|agent|json|quiet]]
  • hf auth switch β€” Switch between access tokens. [--token-name TEXT --add-to-git-credential --format [auto|human|agent|json|quiet]]
  • hf auth token β€” Print the current access token to stdout. [--format [auto|human|agent|json|quiet]]
  • hf auth whoami β€” Find out which huggingface.co account you are logged in as. [--format [auto|human|agent|json|quiet]]

hf buckets β€” Commands to interact with buckets.

  • hf buckets cp SRC β€” Copy files between local paths, repositories, and buckets. [--format [auto|human|agent|json|quiet]]
  • hf buckets create BUCKET_ID β€” Create a new bucket. [--private --region [us|eu] --exist-ok --format [auto|human|agent|json|quiet]]
  • hf buckets delete BUCKET_ID β€” Delete a bucket. [--yes --missing-ok --format [auto|human|agent|json|quiet]]
  • hf buckets info BUCKET_ID β€” Get info about a bucket. [--format [auto|human|agent|json|quiet]]
  • hf buckets list β€” List buckets or files in a bucket. [--human-readable --tree --recursive --search TEXT --format [auto|human|agent|json|quiet]]
  • hf buckets move FROM_ID TO_ID β€” Move (rename) a bucket to a new name or namespace. [--format [auto|human|agent|json|quiet]]
  • hf buckets remove ARGUMENT β€” Remove files from a bucket. [--recursive --yes --dry-run --include TEXT --exclude TEXT --format [auto|human|agent|json|quiet]]

…

Pertanyaan umum

Bagaimana cara memasang tool ini?

Anda perlu mengunduh skrip instalasi, memeriksanya, lalu menjalankannya di komputer Anda.

Apa itu Hugging Face Hub?

Itu adalah situs web tempat peneliti dan pengembang berbagi model dan data kecerdasan buatan.

Apa itu 'model' dan 'dataset'?

Model adalah program AI yang sudah dilatih, sedangkan dataset adalah kumpulan data yang digunakan untuk melatih program tersebut.

Detail

Deskripsi asli dari pembuat

Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and more on the Hugging Face Hub.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#4833
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa