🎓 All Courses | 📚 Hugging Face University Syllabus
Stickipedia University
📋 Study this course on TaskLoco

The pipeline() function is the easiest way to run pre-trained models — it handles tokenization, inference, and post-processing automatically.

Available Pipeline Tasks

from transformers import pipeline

# Text tasks
pipeline("text-generation")       # Generate text
pipeline("summarization")         # Summarize documents  
pipeline("translation_en_to_fr")  # Translate
pipeline("sentiment-analysis")    # Classify sentiment
pipeline("zero-shot-classification") # Classify without training
pipeline("question-answering")    # Q&A from context
pipeline("ner")                   # Named entity recognition

# Multimodal
pipeline("image-classification")  # Classify images
pipeline("automatic-speech-recognition") # Transcribe audio

YouTube • Top 10
Hugging Face University: Pipelines — Run Any AI Task in 3 Lines
Tap to Watch ›
📸
Google Images • Top 10
Hugging Face University: Pipelines — Run Any AI Task in 3 Lines
Tap to View ›

Reference:

Pipeline tutorial

image for linkhttps://huggingface.co/docs/transformers/pipeline_tutorial

📚 Hugging Face University — Full Course Syllabus
📋 Study this course on TaskLoco

TaskLoco™ — The Sticky Note GOAT