/ Модель

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

Лицензия
Apache 2.0
Архитектура
gemma4 · dense
Опубликована
26 июн 2026

Quatfit-Mini

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

Мультимодальная модель Quatfit AI Research на базе Gemma 4 для визуальных и аудиозадач, программирования и агентных сценариев с длинным контекстом.

17скачиваний за 30 дней7лайковвеса обновлены18 авг 2026

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Изображение → текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

Quatfit Mini — мультимодальная модель на 8 млрд параметров от Quatfit AI Research, дообученная на архитектуре Google Gemma 4. Она принимает текст, изображения и аудио, а также поддерживает контекст до 131 072 токенов. В репозитории опубликованы веса FP32 в формате safetensors; для инференса на менее мощном оборудовании доступны преобразование в BF16/FP16 и отдельные сборки GGUF. Разработчик заявляет оптимизации для ускорения инференса, в том числе speculative decoding, и сценариев с вызовом инструментов.

Модель предназначена для визуальных вопросов и ответов, OCR, понимания диаграмм и аудио, программирования, длинного контекста и агентных рабочих процессов. Карточка перечисляет поддержку английского, хинди, гуджарати, маратхи, телугу, французского, японского и китайского языков. Для медицинской диагностики, юридических рекомендаций и решений с высоким риском модель не предназначена; также обозначены ограничения для крупных программных проектов и соревновательного программирования. Лицензия — Apache-2.0.

Сценарии применения

  • ответы на вопросы по изображениям
  • извлечение текста с изображений и OCR
  • понимание диаграмм и схем
  • анализ аудиозаписей
  • помощь в программировании
  • агентные сценарии с вызовом инструментов
  • анализ длинных документов и контекста

Ограничения

В README указано, что модель не предназначена для медицинской диагностики, юридических рекомендаций и решений с высоким риском; также не рекомендуется для крупных программных проектов и соревновательного программирования. Опубликованные веса FP32 требуют около 32 ГБ видеопамяти для инференса.

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

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

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

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

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

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

Открыть на Hugging Face

Quatfit Mini

Quatfit Mini is an 8-billion-parameter multimodal model built on Google's Gemma 4 architecture and further optimized by Quatfit AI Research for efficient deployment, long-context reasoning, and agentic AI workflows.

The model inherits the strong multimodal capabilities of Gemma 4 while adding Quatfit's optimization stack for faster inference, improved GGUF performance, and streamlined deployment across consumer hardware. Weights on this repository are published in full FP32 precision for maximum numerical fidelity and to give downstream users a clean base for further fine-tuning; bf16/fp16 casting and quantized GGUF builds are provided separately for lower-memory inference.

Highlights

  • Built on Google Gemma 4
  • Native multimodal reasoning (Text + Image + Audio)
  • 131,072 token context window
  • Full FP32 weights — highest-fidelity base for fine-tuning and research
  • Up to 4× faster inference with Quatfit optimizations (bf16 / GGUF)
  • Optimized GGUF builds
  • Consumer GPU friendly (via bf16 casting or GGUF)
  • Agentic workflow optimized
  • Native Hugging Face Transformers support

Base Model

Quatfit Mini is derived from Google Gemma 4 and preserves the original multimodal transformer architecture.

Quatfit AI Research extends the base model through:

  • Supervised instruction tuning
  • Alignment optimization
  • Deployment optimization
  • GGUF optimization
  • Speculative decoding support (MTP drafter)
  • Optimized inference pipeline
  • Consumer hardware optimization

Model Summary

PropertyValue
Parameters8B
Base ArchitectureGoogle Gemma 4
Model TypeDecoder-only Multimodal Transformer
Context Length131,072 tokens
Published PrecisionFP32 (full precision)
Recommended Inference PrecisionBF16 / FP16 (cast), or quantized GGUF
Vocabulary262K (SentencePiece)
LanguagesEnglish, Hindi, Multilingual
ModalitiesText, Image, Audio

Note on precision: This repository stores weights in FP32. FP32 roughly doubles memory usage relative to BF16 (~32 GB vs ~16 GB for the 8B backbone) but avoids any precision loss from the original training checkpoint, making it the preferred starting point for further fine-tuning or precision-sensitive research. For everyday inference, casting to bfloat16/float16 or using one of the quantized GGUF builds below is recommended and carries negligible quality loss.


Intended Uses

Primary Use Cases

  • Agentic AI
  • Coding Assistant
  • Visual Question Answering
  • OCR
  • Diagram Understanding
  • Audio Understanding
  • Long-context reasoning
  • Research Copilot
  • Productivity Automation
  • Tool Calling
  • API Development
  • Fine-tuning / continued pre-training (FP32 base recommended)

Out-of-Scope

  • Medical diagnosis
  • Legal advice
  • High-risk decision making
  • Enterprise-scale software engineering
  • Repository-scale code generation
  • Competitive programming

Installation

pip install "transformers[torch]"

Loading the Model

By default the model loads in its published FP32 precision. For most inference use cases, casting to bfloat16 is strongly recommended to roughly halve memory usage and increase throughput with negligible quality impact.

import torch
from transformers import (
    AutoProcessor,
    AutoModelForImageTextToText,
)

# Native FP32 (highest fidelity, ~32 GB VRAM, recommended for fine-tuning)
model = AutoModelForImageTextToText.from_pretrained(
    "Quatfit/Quatfit-Mini",
    torch_dtype=torch.float32,
    device_map="auto"
)

# Recommended for inference: cast to BF16 (~16 GB VRAM)
model = AutoModelForImageTextToText.from_pretrained(
    "Quatfit/Quatfit-Mini",
    torch_dtype=torch.bfloat16,
    device_map="auto"
)

processor = AutoProcessor.from_pretrained(
    "Quatfit/Quatfit-Mini"
)

Text Generation

messages = [
    {
        "role": "user",
        "content": "Write a Python implementation of binary search."
    }
]

inputs = processor.apply_chat_template(
    messages,
    tokenize=True,
    return_tensors="pt"
)

outputs = model.generate(
    **inputs,
    max_new_tokens=512
)

print(processor.decode(outputs[0]))

Image Understanding

messages = [
    {
        "role": "user",
        "content": [
            {
                "type":"text",
                "text":"Describe this image."
            },
            {
                "type":"image",
                "image":"image.png"
            }
        ]
    }
]

inputs = processor.apply_chat_template(
    messages,
    tokenize=True,
    return_tensors="pt"
)

outputs = model.generate(
    **inputs,
    max_new_tokens=512
)

print(processor.decode(outputs[0]))

Long Context Example

text = open("document.txt").read()

messages = [
    {
        "role":"user",
        "content":f"Summarize:\n\n{text}"
    }
]

inputs = processor.apply_chat_template(
    messages,
    tokenize=True,
    return_tensors="pt"
)

outputs = model.generate(
    **inputs,
    max_new_tokens=1024
)

print(processor.decode(outputs[0]))

Performance

ConfigurationRelative SpeedVRAM
Quatfit Mini FP32 (native, published)1×~32 GB
Quatfit Mini BF16 (cast)2.5×~16 GB
+ Speculative Decoding (MTP drafter, BF16)3.9×~16 GB
GGUF Q4_K_M4.1×~5 GB

FP32 is the published, reference-quality precision; the speedups above are measured relative to it. BF16 casting and the quantized GGUF builds are derived from the same FP32 weights and carry negligible accuracy loss.


Benchmark Scores

DomainAccuracy
Overall89.1%
CLI95.0%
Exams93.3%
Coding92.5%
Agentic Tasks92.5%
Science91.7%
Finance90.0%
Security90.0%
Social Intelligence90.0%
Reasoning88.9%
Expert Knowledge83.8%
Mathematics81.3%

Scores were measured on the FP32 reference weights; BF16 and Q4_K_M/Q5_K_M GGUF builds match these scores within noise.


Architecture

Quatfit Mini preserves the Google Gemma 4 multimodal architecture while introducing Quatfit-specific optimizations for inference and deployment.

Foundation

ComponentDescription
Base ModelGoogle Gemma 4
ArchitectureDense Decoder-only Transformer
Text BackboneGemma 4
Vision BackboneGemma 4 Vision Transformer
Audio BackboneGemma 4 Conformer
Context Length131,072
Published PrecisionFP32

Text Decoder

ComponentValue
Layers42 (5:1 local sliding-window : global attention)
Hidden Size2,560
Attention Heads8
KV Heads2 (Grouped Query Attention)
KV-Shared Layers18 of 42
Key/Value ReuseEnabled on global attention layers (V = K)
Feed ForwardGeGLU
Position Encodingp-RoPE (partial rotary on global layers)
NormalizationPre-norm + post-norm RMSNorm, QK-Norm
Flash AttentionFlash Attention 3

Vision Encoder

  • Gemma 4 Vision Transformer
  • Patch Size 16×16
  • Variable aspect ratio input handling
  • Axial 2D-RoPE + 2D absolute position embeddings
  • Native Visual Embeddings

Audio Encoder

  • Gemma 4 Conformer (USM-style)
  • Continuous representations (no vector quantization)
  • Streaming Compatible
  • Causal Chunk Attention

Quatfit Optimizations

Quatfit Mini extends Gemma 4 with deployment-focused optimizations including:

  • Optimized GGUF conversion
  • Faster llama.cpp inference
  • Speculative decoding via an autoregressive MTP (multi-token-prediction) drafter
  • Flash Attention 3
  • Sliding Window Attention
  • Grouped Query Attention + KV-cache sharing + key/value reuse
  • Consumer GPU optimization
  • Memory-efficient inference
  • Quantization-aware deployment (GGUF, mobile int2/int4)

Training

Quatfit Mini is built upon the pretrained Google Gemma 4 model and further optimized by Quatfit AI Research through post-training techniques including:

  • Supervised Fine-Tuning (SFT)
  • Preference Alignment
  • Instruction Tuning
  • Multimodal Alignment
  • Inference Optimization

The underlying foundation model retains the original Gemma 4 pretraining while Quatfit contributes additional post-training and deployment optimizations. The final checkpoint is published in FP32 to preserve full training precision for downstream fine-tuning.


GGUF Quantized Builds

For local inference with llama.cpp, Ollama, LM Studio, Jan, or Open WebUI, use the companion repository:

Quatfit/Quatfit-Mini-GGUF

It provides every legacy and K-quant format from F16 down to Q2_K, converted from these FP32 weights. Each text quant is paired with its own mmproj file, so vision and audio input work immediately after download — no separate multimodal conversion step required.


Cross Platform Support

FormatVRAMPlatforms
FP32 (this repo, published)~32 GBTransformers, fine-tuning pipelines
BF16 (cast at load time)~16 GBTransformers, vLLM, TGI
F16 GGUF~16.1 GBllama.cpp, Ollama, LM Studio
Q8_0 GGUF~8.5 GBllama.cpp, Ollama, LM Studio
Q6_K GGUF~6.6 GBllama.cpp
Q5_K_M GGUF~5.7 GBOllama, LM Studio, llama.cpp
Q4_K_M GGUF~4.9 GBOllama, LM Studio, llama.cpp, Jan, Open WebUI
Q2_K GGUF~3.2 GBllama.cpp (CPU-friendly, lower quality)

See the GGUF repository for the full quant lineup, exact sizes, and paired mmproj files.


Hardware

Recommended

  • For native FP32 (~32 GB VRAM): A100 (40/80 GB), H100, RTX 6000 Ada
  • For BF16 (~16 GB VRAM): RTX 3090, RTX 4090, RTX A6000, A100
  • For GGUF quantized builds (~5–9 GB VRAM): RTX 3060/3070 and above

Minimum

  • GPU with ~6 GB VRAM (Q4_K_M / Q5_K_M GGUF)
  • CPU inference through llama.cpp (GGUF)

The FP32 weights in this repository require significantly more VRAM (~32 GB) than the BF16 or GGUF derivatives. Most consumer GPUs (e.g. 24 GB cards) should load the model with torch_dtype=torch.bfloat16 or use a GGUF build rather than native FP32.


Responsible AI

Quatfit Mini may generate inaccurate, biased, or inappropriate outputs.

For production deployments:

  • Verify critical information
  • Apply RAG for factual grounding
  • Use application-level safety filters
  • Keep human oversight for high-risk domains

Citation

@article{quatfitmini2026,
    title={Quatfit Mini: A Gemma 4-Based Multimodal Model Optimized for Efficient Inference},
    author={Quatfit AI Research},
    year={2026}
}

License

Apache License 2.0. See LICENSE for details.


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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Класс архитектуры
Gemma4ForConditionalGeneration
Ревизия весов
de8f79d

0 моделей