Gemma explained: PaliGemma architecture- Google Developers Blog
Sep 5, 2024Ju-yeong Ji, Ravin Kumar

Summary
This post details the PaliGemma architecture, a vision-language model (VLM) that combines the SigLIP vision model with the Gemma language model. It explains the components: the vision tower (SiglipVisionModel) with its patch embedding and positional embedding, the multi-modal projector, and the language model (GemmaForCausalLM). It also provides an example of object segmentation output and explains how coordinates and segmentation masks are encoded.
More from the Google Developer Platform trail
- Autonomous LLM post-training with Tunix on TPUs- Google Developers Blog
- HeyGen x Google Cloud: Bringing Avatar IV to TPUs- Google Developers Blog
- Run Ray on TPU, Part 2: Ray AI libraries- Google Developers Blog
- Scaling Agentic RL: High-Throughput Agentic Training with Tunix- Google Developers Blog
- Run Ray on TPU, Part 1: The foundations- Google Developers Blog