| What it is | Large collection of PyTorch image models and backbones with pretrained weights and training scripts | PyTorch implementations of the Vision Transformer and dozens of its variants | Hugging Face's Python library of model definitions for text, vision, audio and multimodal models | State-of-the-art diffusion models for image, video, and audio generation in PyTorch |
| Features | - a wide range of image model architectures, nearly all with pretrained weights
- multi-scale feature map extraction for using models as backbones
- reference training, validation and inference scripts
- optimizers, schedulers and augmentations for image training
| - Vision Transformer (ViT) in PyTorch
- many ViT variants (NaViT, CaiT, CvT, MaxViT, MobileViT and more)
- distillation from a convolutional teacher
- masked autoencoder and simple masked image modelling pretraining
| - model definitions for text, vision, audio, video and multimodal models
- loads 1M+ checkpoints from the Hugging Face Hub
- Pipeline API for inference
- Trainer for training and fine-tuning
- transformers serve and transformers chat commands
- works with training frameworks and inference engines that reuse its model definitions
| - pretrained pipelines for text-to-image, image-to-image, inpainting, video and audio
- interchangeable noise schedulers
- model building blocks (UNets, transformers, VAEs)
- loads 30,000+ checkpoints from the Hugging Face Hub
- Modular Diffusers for composing pipelines
- memory and speed optimisation guides
- training scripts and guides
- Apple Silicon (MPS) support
|