Transformers documentation
Agents
Get started
Base classes
Models
Preprocessors
Inference
Pipeline API
Generate API
Optimization
Chat with models
Serving
Training
Quantization
Ecosystem integrations
Resources
API
You are viewing main version, which requires installation from source. If you'd like
regular pip install, checkout the latest stable version (v5.8.1).
Agents
(deprecated)
Update on GitHubAgents and tools were spun out into the standalone smolagents library. They were removed from
transformersin v4.52.