huggingface
Installation
SKILL.md
Hugging Face
Hugging Face is the central platform and ecosystem for open-source machine learning, hosting models, datasets, Spaces, and foundational libraries like Transformers, Accelerate, and PEFT.
When to Use
- Pretrained Model Discovery & Inference: Utilizing thousands of open-source vision, NLP, and audio models via
transformers. - Parameter-Efficient Fine-Tuning (PEFT): Fine-tuning LLMs with LoRA / QLoRA using
peftandbitsandbytes. - Dataset Management & Streaming: Accessing multi-gigabyte datasets without memory exhaustion via
datasets. - Production Model Deployment: Deploying containerized endpoints with Hugging Face Text Generation Inference (TGI).
Quick Start
from transformers import pipeline
# One-line inference with modern pre-trained models
classifier = pipeline("sentiment-analysis", model="distilbert-base-uncased-finetuned-sst-2-english")