---
title: "PaliGemma – Google's Cutting-Edge Open Vision Language Model"
description: "PaliGemma is Google's open vision-language model family that pairs a SigLIP-So400m image encoder with a Gemma-2B text decoder through a linear projector."
url: "https://swe.quest/articles/paligemma-google-s-cutting-edge-open-vision-language-model-eb2d13e0b9bcd3ec"
canonical: "https://huggingface.co/blog/paligemma"
source: "Hugging Face"
published: "2024-05-14"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 11
tags: ["computer-vision","llms","model-training","inference","python"]
---

# PaliGemma – Google's Cutting-Edge Open Vision Language Model

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2024-05-14, 11 min read, Announcement. Original: [https://huggingface.co/blog/paligemma](https://huggingface.co/blog/paligemma)

## Summary

PaliGemma is Google's open vision-language model family that pairs a SigLIP-So400m image encoder with a Gemma-2B text decoder through a linear projector. It ships as pretrained, mix and task-specific fine-tuned checkpoints at 224, 448 and 896 resolutions. Behaviour is steered with task prefixes such as "detect" and "segment", and detections come back as \<loc\> tokens normalized to 1024. Images become 256 to 4096 prefix tokens with full attention over the image and prompt, so higher resolutions cost much more memory while helping mainly fine-grained tasks like OCR. The post includes transformers code for inference, 4-bit loading, and fine-tuning the decoder with full training or QLoRA, plus big\_vision transfer configs.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Computer vision](https://swe.quest/tags/computer-vision.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [Python](https://swe.quest/tags/python.md) (Languages)

## Prerequisites

- transformer language models
- Hugging Face transformers
- fine-tuning and LoRA basics ([easy posts on Model training](https://swe.quest/tags/model-training.md?difficulty=easy))

## Keywords

PaliGemma, SigLIP, Gemma, Hugging Face Transformers, big\_vision, QLoRA, VQAv2

## Related posts

- [Welcome PaliGemma 2 – New vision language models by Google](https://swe.quest/articles/welcome-paligemma-2-new-vision-language-models-by-google-24dd8ece5058fbe9.md): Hugging Face · 2024-12-05 · Medium · 9 min read · Computer vision, LLMs, Model training, Inference & serving
  PaliGemma 2 pairs Google's SigLIP image encoder with Gemma 2 text decoders, shipping pre-trained vision language models at 3B, 10B and 28B parameters, each at 224, 448 and 896 pixel input resolutions, plus 3B and 10B checkpoints fine-tuned on DOCCI for detailed captioning.
- [Welcome Gemma 3: Google's all new multimodal, multilingual, long context open LLM](https://swe.quest/articles/welcome-gemma-3-google-s-all-new-multimodal-multilingual-long-context-open-llm-9610089c9e0bc05e.md): Hugging Face · 2025-03-12 · Medium · 13 min read · LLMs, Inference & serving, Computer vision, Python
  Gemma 3 is Google's open-weight model family in 1B, 4B, 12B and 27B sizes, with 128k context (32k for 1B), image input via a SigLIP encoder on the 4B and larger models, and support for 140+ languages.
- [Welcome Gemma 4: Frontier multimodal intelligence on device](https://swe.quest/articles/welcome-gemma-4-frontier-multimodal-intelligence-on-device-0f273ea2e465623b.md): Hugging Face · 2026-04-02 · Medium · 36 min read · LLMs, Inference & serving, Computer vision, Model training
  Google DeepMind's Gemma 4 is an Apache 2-licensed multimodal model family in five sizes: E2B, E4B, a 12B encoder-free Unified model, a 31B dense model and a 26B MoE with 4B active parameters.
- [Vision Language Models Explained](https://swe.quest/articles/vision-language-models-explained-92cc71897cd36570.md): Hugging Face · 2024-04-11 · Medium · 8 min read · Computer vision, LLMs, Model training, Evaluation, Python
  Vision language models combine an image encoder, a projector that aligns image features with text embeddings, and a text decoder that generates text from both inputs.
- [Gemma 3n fully available in the open-source ecosystem!](https://swe.quest/articles/gemma-3n-fully-available-in-the-open-source-ecosystem-6d60bf60e354184a.md): Hugging Face · 2025-06-26 · Medium · 9 min read · LLMs, Inference & serving, Computer vision, Speech & audio, Python
  Gemma 3n, Google's natively multimodal on-device model accepting text, image, audio and video, now runs in transformers, timm, MLX, llama.cpp (text only), Transformers.js/ONNX and Ollama.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
