Code and documentation to train Stanford's Alpaca models, and generate the data.
timm
timm provides PyTorch image encoders and backbones along with training, evaluation, inference, and export scripts.

About timm
timm is an open-source repository of PyTorch image encoders and backbones with pretrained weights, covering architectures such as ResNet, EfficientNet, Vision Transformer (ViT), Swin Transformer, and ConvNeXt. It provides scripts for training, validation, inference, and export, including support for multi-label classification tasks and additional loss options.
Key features
- PyTorch image encoders and backbones with pretrained weights
- Training script train.py with multi-label classification task support
- Validation script validate.py reporting mAP and F1 metrics
- Inference script inference.py for running models
- ONNX export and validation via onnx_export.py and onnx_validate.py
- Benchmarking and checkpoint utilities including benchmark.py and avg_checkpoints.py
- Open source with training, validation, inference, and export scripts
- Provides pretrained weights across many image encoder architectures
- Supports multi-label classification with mAP and F1 reporting
timm at a glance
- Category
- AI & Machine Learning › Models & ML Research
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
timm alternatives
Tools and sites you could use instead, ranked by how closely they match.
The learn2learn library supports meta learning experiments and research with PyTorch.
Janus combines multimodal understanding and image generation models in a unified model series.
MobiLlama is a small language model designed for edge devices, according to its repository description.
Point·E is a research project that generates 3D point clouds using diffusion models.
CodeGen provides open-source models for program synthesis and code generation.
Popular in Models & ML Research
Well-known listings from the same topic.
timm FAQ
What model architectures are included?
Does timm support multi-label classification?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.












