# Vision Transformer (ViT) and MLP-Mixer

> Google Research's pretrained Vision Transformer and MLP-Mixer image models with JAX/Flax fine-tuning code

Source: https://talira.ai/catalog/vision-transformer-vit-and-mlp-mixer-qq1782n5
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: AI model, Library
- Categories: [ai / computer vision / image recognition](https://talira.ai/categories/ai/computer-vision/image-recognition)
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Google](https://talira.ai/orgs/google.md)
- Funding: public company (NASDAQ:GOOGL)[^3]

This repository releases Google Research's Vision Transformer (ViT) and MLP-Mixer image models from the papers that introduced them and from follow-up work (How to train your ViT?, SAM and GSAM training, LiT). The checkpoints were pre-trained on ImageNet and ImageNet-21k, in sizes from Ti/16 to L/16 plus hybrid ResNet variants, and download from Google Cloud Storage buckets; more than 50,000 checkpoints from the How to train your ViT? paper are included. The code fine-tunes them on TensorFlow Datasets in JAX and Flax, on GPU or TPU, and Colab notebooks explore and fine-tune them. The [timm](https://talira.ai/catalog/timm-pytorch-image-models-qw7wz34c.md) PyTorch library can load the checkpoints directly. The original training code lives in Google's big_vision repository, and the README says it isn't an official Google product.

## Links

- GitHub: https://github.com/google-research/vision_transformer

## Problems it solves

- a pretrained vision transformer I can fine-tune for image classification
- download ViT checkpoints trained on ImageNet-21k
- fine-tune an image classifier in JAX on a TPU

## Features

- pretrained ViT and MLP-Mixer checkpoints on ImageNet and ImageNet-21k
- more than 50,000 checkpoints from the How to train your ViT? paper
- JAX and Flax fine-tuning on GPU or TPU, with Colab notebooks
- checkpoints that timm can load directly in PyTorch

## Limitations

- The README says this isn't an official Google product, and the more advanced training code (multi-host training, original training scripts) is in the separate big_vision repository.[^1]

## Trust

Overall: 0.47 out of 1.
Signals: maintenance 0.27, adoption 0.82, momentum 0.68, community 0.56, backing 0.55, extensibility 0.00.

- 12.8k GitHub stars
- 24 contributors
- backed by Google
- funding: public company (NASDAQ:GOOGL)

Warnings:

- last commit 4 months ago

## Alternatives

- [DINOv2](https://talira.ai/catalog/dinov2-0q4ps9ps.md): Self-supervised vision models that produce general-purpose image features
- [CLIP (OpenAI)](https://talira.ai/catalog/clip-openai-zywbg9ep.md): OpenAI's open image-text model for zero-shot image classification

## Sources

[^1]: https://github.com/google-research/vision_transformer/blob/main/README.md (checked 30 Nov 2026)
[^2]: https://github.com/google-research/vision_transformer/blob/main/LICENSE (checked 30 Nov 2026)
[^3]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
