huggingface
HuggingFace ecosystem for transformers, datasets, and model deployment
от skeletorflet★ 48 звёзд на GitHub
Установить huggingface в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Core Concepts
- Transformers Pipeline:
pipeline("text-classification")abstracts tokenize-infer-decode - Model Hub: 500k+ pretrained models hosted at huggingface.co/models
- Fine-tuning:
TrainerAPI withTrainingArgumentsfor supervised fine-tuning - Datasets Library:
load_dataset("dataset_name")with streaming, sharding, mapping - Tokenizers: Fast tokenizers (Rust-backed) with
encode/decode/batch_encode - Inference API: Serverless or dedicated endpoints via
huggingface_hub.InferenceClient
Common Patterns
pipeline("text-generation", model="mistralai/Mistral-7B-v0.1")for inferenceAutoModelForSequenceClassification.from_pretrained("model")withTrainerfor fine-tuningload_dataset("imdb", split="train").select(range(100))for dataset slicingAutoTokenizer.from_pretrained("model")withpadding=True, truncation=True- Push to hub:
model.push_to_hub("my-finetuned-model", use_auth_token=True) - Spaces:
gradio.Interface(fn, inputs, outputs).launch()deployed via HF Spaces
Best Practices
- Use
safetensorsformat for faster and safer model loading - Enable
device_map="auto"for multi-GPU inference - Set
load_in_4bit=Truewith BitsAndBytesConfig for memory-efficient fine-tuning - Pin
transformersversion in production to avoid breaking API changes - Cache models in persistent volume to avoid repeated downloads
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huggingface?
HuggingFace ecosystem for transformers, datasets, and model deployment
Как установить скилл huggingface?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huggingface запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…