Study
Transformers · Hugging Face Transformers: pipelines
The pipeline() API for quick inference (sentiment, zero-shot classification, NER, summarisation) and what happens inside: tokenizer → model → post-processing.
- A pipeline bundles three steps: tokenise, run the model, turn logits back into labels or text.
- Always pin a model name; the default model for a task can change between library versions.