/ Модель

Характеристики

Лицензия
Apache 2.0
Базовая модель
gemma-4-31B-it
Библиотека
gguf
Опубликована
17 июн 2026

gemma-4-31B-it-GGUF

Изображение и текст → текст15 профессий

AtomicChat/gemma-4-31B-it-GGUF — это квантизированная GGUF-версия мультимодальной модели Google Gemma 4 31B Instruct, подготовленная командой Atomic Chat на основе оригинальных весов google/gemma-4-31B-it.

6 135скачиваний за 30 дней1лайквеса обновлены24 июл 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Модель предназначена для локального и полностью автономного применения в чат-ботах, генерации и анализе текста, задачах рассуждения, а также обработки изображений совместно с текстом. Для работы с изображениями в репозитории поставляется vision-проектор mmproj.

Модель содержит 30,7 млрд параметров и 60 слоёв. Она использует плотную decoder-архитектуру Gemma4ForConditionalGeneration с гибридным вниманием: sliding-window с окном 1024 токена и глобальным вниманием; предусмотрены 32 attention heads и 16 KV heads. Заявленная длина контекста — 256 тысяч токенов, размер словаря — 262 тысячи. Поддерживаются текстовая и визуальная модальности. Доступны варианты квантования от Q2_K до Q8_0; кванты откалиброваны с importance matrix, что должно помогать сохранять качество при уменьшении размера. Рекомендуемым компромиссом между размером, скоростью и качеством указан Q4_K_M.

Сильные стороны модели — большой контекст, мультимодальность, возможности рассуждения, автономная работа и широкий выбор вариантов квантования для разных объёмов памяти. Ограничения связаны с высокими требованиями к памяти: размер файлов варьируется примерно от 11,9 до 32,6 ГБ, а низкобитные варианты могут заметно терять качество. Для корректной работы в llama.cpp требуется применять chat template Gemma 4 через параметр --jinja; для изображений необходим vision-проектор и поддержка соответствующих инструментов. Репозиторий распространяется по лицензии Apache-2.0.

Для каких профессий подходит15

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Gemma 4 31B, self-quantized to GGUF by Atomic Chat. Built straight from Google's original weights with a per-tensor importance matrix, so this is not a repack of somebody else's files. Runs fully offline.

Highlights

  • 30.7B parameters: the weights this repo quantizes.
  • Context length: 256K tokens, as published by Google.
  • 60 layers: Dense decoder, hybrid sliding-window (1024) and global attention.
  • Modalities: Text, Image.
  • Full imatrix ladder: every quant is calibrated with an importance matrix, published here alongside the quants.
  • Reasoning: All models in the family are designed as highly capable reasoners, with configurable thinking modes.
  • Diverse & Efficient Architectures: Offers Dense and Mixture-of-Experts (MoE) variants of different sizes for scalable deployment.

[!NOTE] These GGUFs are self-quantized from the original weights, not a repack. The importance matrix keeps low-bit quants closer to the full-precision model.

[!IMPORTANT] Always pass --jinja so the Gemma 4 31B chat template is applied. Without it the model can emit malformed turns.

Model Overview

PropertyValue
Base modelgoogle/gemma-4-31B-it
Parameters30.7B
Layers60
Sliding window1024 tokens
Context length256K tokens
Vocabulary262K
ModalitiesText, Image
ArchitectureDense decoder, hybrid sliding-window (1024) and global attention, 32 attention heads over 16 KV heads, Gemma4ForConditionalGeneration
This repoGGUF quants (imatrix) and a vision mmproj; the importance matrix is published here as imatrix-coding.gguf. Quants: Q2_K, IQ3_M, Q3_K_M, Q3_K_L, IQ4_XS, Q4_K_S, Q4_K_M, UD-Q4_K_XL, Q5_K_S, Q5_K_M, Q6_K, Q8_0

[!NOTE] Gemma 4 31B is multimodal. This repo ships the mmproj-gemma4-31b-it-f16.gguf vision projector. With -hf it is pulled automatically; otherwise pass --mmproj. Use llama-mtmd-cli or llama-server to feed images.

Scores are Google's published results for the base google/gemma-4-31B-it, not our own measurements. Quantization preserves the large majority of this; Q4_K_M and up stay close to full precision.

Choosing a quant

QuantSizeNotes
Q2_K11.9 GBSmallest K-quant. Minimal RAM, clear quality drop.
IQ3_M14.2 GBBeats Q3 at a similar size thanks to imatrix. Best low-RAM pick.
Q3_K_M15.3 GBLow quality but usable.
Q3_K_L16.6 GBA step above Q3_K_M.
IQ4_XS16.7 GBExcellent quality for size. Recommended low-bit.
Q4_K_S17.8 GBCompact 4-bit, fast.
Q4_K_M18.7 GBRecommended default. Best balance of size, speed and quality.
UD-Q4_K_XL19.0 GBDynamic. Embeddings and output kept at Q8_0 for higher quality at a Q4 footprint.
Q5_K_S21.3 GBHigher quality, slightly more compact than Q5_K_M.
Q5_K_M21.8 GBHigher quality, low loss.
Q6_K25.2 GBNear lossless, noticeably lighter than Q8_0.
Q8_032.6 GBEffectively lossless, reference quality.

[!TIP] Pick the largest file that fits your (V)RAM with room for context. Q4_K_M or UD-Q4_K_XL is the sweet spot for most setups; Q6_K or Q8_0 for maximum fidelity.

Get started

Run Gemma 4 31B locally with:

  • Atomic Chat: the easiest path. Open the app, search AtomicChat/gemma-4-31B-it-GGUF, pick a quant, hit Use this model.
  • llama.cpp: llama-server -hf AtomicChat/gemma-4-31B-it-GGUF:Q4_K_M --jinja -c 8192
  • Ollama: ollama run hf.co/AtomicChat/gemma-4-31B-it-GGUF:Q4_K_M
  • LM Studio / Jan: search the repo id, download any quant.

Best practices

ParameterValue
temperature1.0
top_p0.95
top_k64

Google's recommended sampling configuration for google/gemma-4-31B-it. Pass images through llama-mtmd-cli or llama-server with the projector.

Run in llama.cpp

git clone https://github.com/ggml-org/llama.cpp
cmake llama.cpp -B llama.cpp/build -DBUILD_SHARED_LIBS=OFF -DGGML_CUDA=ON
cmake --build llama.cpp/build --config Release -j --target llama-cli llama-server
./llama.cpp/build/bin/llama-server \
    -hf AtomicChat/gemma-4-31B-it-GGUF:Q4_K_M \
    --jinja -ngl 99 -c 8192 -fa on

How these were made

  1. Download google/gemma-4-31B-it (original weights).
  2. Convert to f16 GGUF with llama.cpp.
  3. Build an importance matrix over our calibration corpus, published here as imatrix-coding.gguf.
  4. Quantize the ladder with --imatrix.
  5. UD-Q4_K_XL additionally pins the token-embedding and output tensors to Q8_0.

License

Original model by Google, released under the Apache 2.0 license. Full terms: Apache 2.0. Quantized by Atomic Chat.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · gguf

Нельзя запустить

GGUF-веса поддерживаются только для текстовых LLM (llama.cpp).

Ревизия весов
75b6165

0 моделей