← 전체로 돌아가기
프로젝트 메모 ai -home-son-prj-dataset

HuggingFace CLI: `hf` 사용

HF 명령어는 이제 `hf`로 퉁침. 옛날거 쓰지마.

huggingfacecliaitoolshell

HuggingFace CLI, hf 쓴다.

hf auth login
hf download [repo_id]
hf upload [repo_id] [파일경로]

huggingface-cli는 구버전. 쓰면 안 됨. 최신 huggingface_hub는 hf로 rebranding됨. /home/son/.local/bin/hf 여기 있음.

HF 명령은 hf로 시작. 로그인, 다운로드, 업로드 다. 계정: urustin.

여기서 배울 것

  1. `huggingface-cli`는 이제 안 씀.
  2. 새 CLI는 `hf`.
  3. `hf`로 로그인, 다운로드, 업로드 다 됨.
  4. 경로 확인 `/home/son/.local/bin/hf`.
원본 파일 보기 (.claude/projects/-home-son-prj-dataset/memory/feedback_hf_cli.md)
---
name: HuggingFace CLI는 `hf` 사용
description: huggingface-cli가 아닌 새 CLI `hf` 를 사용해야 함
type: feedback
originSessionId: 3810bfd4-624e-4a06-91c4-3189931063d1
---
HuggingFace 관련 명령은 `huggingface-cli`가 아니라 **`hf`** 를 사용한다 (경로: `/home/son/.local/bin/hf`).

**Why:** `huggingface-cli`는 구버전이고, 최신 huggingface_hub는 `hf` 로 rebranding됨. 유저가 "hf 가 요즘 방식이야" 라고 명시적으로 언급.

**How to apply:** 스크립트/문서에서 로그인, 다운로드, 업로드 등 HF 관련 명령을 쓸 때 `hf auth login`, `hf download`, `hf upload` 형식으로 사용. 계정: `urustin`.