/ Модель

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

Базовая модель
granite-4.2-3b
Библиотека
llama.cpp
Опубликована
25 авг 2026

granite-4.2-3b-GGUF

Генерация текстаТекст → текст15 профессий

Granite-4.2-3B GGUF — это набор квантизированных версий компактной reasoning-модели Granite-4.2-3B, разработанной IBM и распространяемой пользователем NANI-Nithin в формате GGUF для запуска через llama.cpp.

1 434скачиваний за 30 дней1лайквеса обновлены5 сен 2026

Бенчмарки

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

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

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

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

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

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

Модель предназначена для генерации текста, решения математических и многошаговых задач, программирования, агентских сценариев и вызова инструментов. Она поддерживает встроенное рассуждение с использованием блоков <think>...</think> и режимы полного, отключённого и облегчённого рассуждения, позволяющие выбирать баланс между качеством и задержкой ответа.

Модель построена как плотный decoder-only Transformer с 3 млрд параметров, Grouped Query Attention с 40 attention heads и 8 KV heads, RoPE с θ = 10 000 000 и MLP-блоками. Заявлено контекстное окно 512K токенов, подходящее для длинных документов, многошаговых диалогов и сложных agentic workflows. В README явно указана текстовая генерация; сведения о поддерживаемых языках и мультимодальности не приведены.

К сильным сторонам относятся малый размер, встроенное reasoning, гибкие режимы рассуждения, поддержка reasoning-augmented tool calling и широкий выбор квантизаций — от BF16 и почти без потерь Q8_0 до сильно сжатых вариантов для устройств с ограниченной памятью. К ограничениям относятся неизбежное снижение качества при агрессивной квантизации, а также отсутствие в предоставленных данных результатов бенчмарков и подробностей о языковом покрытии. Модель и её квантизированные варианты заявлены под лицензией Apache 2.0, допускающей коммерческое и исследовательское использование.

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

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

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

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

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

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

Открыть на Hugging Face

Granite-4.2-3B GGUF (llama.cpp)

Model Type Backend Size

Quantized GGUF files for Granite-4.2-3B, optimized for deployment with llama.cpp. These are the exact quantized versions of the Granite-4.2-3B model, packaged as GGUF format for efficient inference.

Model Overview

Granite-4.2-3B is IBM's compact reasoning model in the Granite 4.2 family. Despite its small parameter count of 3B, it delivers strong performance on reasoning-intensive tasks by leveraging built-in <think>...</think> chain-of-thought reasoning. It supports flexible thinking modes — full thinking (default), non-thinking, and low-effort — allowing users to balance depth vs. latency on a per-query basis.

Key Capabilities

  • Built-in Reasoning: Native chain-of-thought that significantly improves performance on math, coding, and complex multi-step problems
  • Flexible Thinking Modes: Seamlessly switch between full thinking, non-thinking, and low-effort modes within a single model
  • Reasoning-Augmented Tool Calling: The model reasons about which tools to invoke and why, producing more accurate function calls
  • 512K Context Window: Supports long documents, multi-turn conversations, and complex agentic workflows
  • Apache 2.0 Licensed: Fully open for commercial and research use

Available Quantizations

FileSizeQualityRecommended Use
granite-4.2-3b-BF16.gguf6.82 GBFull precision source. Every quant below is cut from this file.Original model, no quantization
granite-4.2-3b-Q8_0.gguf3.63 GBEffectively lossless. Use when disk and RAM are not the constraint.Highest quality, less compression
granite-4.2-3b-Q6_K.gguf2.80 GBNear-lossless; the last stop before quality becomes measurable.Balanced quality/size
granite-4.2-3b-Q5_K_M.gguf2.43 GBVery good quality, noticeably smaller than Q6_K.Good trade-off
granite-4.2-3b-Q5_K_S.gguf2.38 GBSlightly smaller than Q5_K_M for a slight quality cost.Smaller footprint
granite-4.2-3b-Q5_1.gguf2.58 GBLegacy. Prefer Q5_K_M.Historical compatibility
granite-4.2-3b-Q5_0.gguf2.38 GBLegacy. Prefer Q5_K_M.Historical compatibility
granite-4.2-3b-Q4_K_M.gguf2.09 GBThe usual default. Best quality-per-byte for most people.Default choice
granite-4.2-3b-Q4_K_S.gguf2.00 GBA little smaller than Q4_K_M, a little worse.Smaller footprint
granite-4.2-3b-IQ4_NL.gguf1.99 GBNon-linear 4-bit; good on hardware without fast K-quant kernels.Specialized hardware
granite-4.2-3b-IQ4_XS.gguf1.89 GBBest sub-4.5bpw option; usually beats Q4_K_S at a smaller size.Size-critical
granite-4.2-3b-Q4_1.gguf2.18 GBLegacy. Prefer Q4_K_M.Historical compatibility
granite-4.2-3b-Q4_0.gguf1.98 GBLegacy round-to-nearest. Prefer Q4_K_M unless a runtime needs this.Historical compatibility
granite-4.2-3b-Q3_K_L.gguf1.84 GBSmall, with real quality loss. Usable when RAM is tight.Tight RAM constraints
granite-4.2-3b-Q3_K_M.gguf1.71 GBSmaller again; noticeable degradation.Memory-constrained
granite-4.2-3b-IQ3_M.gguf1.61 GBStrong at ~3.7bpw, clearly better than Q3_K_M.Quality-conscious sizing
granite-4.2-3b-IQ3_S.gguf1.57 GBSlightly smaller than IQ3_M.Compact version
granite-4.2-3b-Q3_K_S.gguf1.56 GBAggressive. Prefer IQ3_M at a similar size.Maximum compression
granite-4.2-3b-IQ3_XS.gguf1.50 GBAggressive but coherent.Extreme compression
granite-4.2-3b-IQ3_XXS.gguf1.39 GBVery aggressive; the last coherent step down.Extreme compression
granite-4.2-3b-Q2_K.gguf1.36 GBVery small, heavily degraded. For experimentation.Experimental only
granite-4.2-3b-IQ2_M.gguf1.26 GBThe smallest size most people find usable.Memory-constrained
granite-4.2-3b-Q2_K_S.gguf1.27 GBSmaller than Q2_K, at a further quality cost.Even smaller
granite-4.2-3b-IQ2_S.gguf1.18 GBBelow the usual usability line.Extreme compression
granite-4.2-3b-IQ2_XS.gguf1.11 GBExperimental.Experimental only
granite-4.2-3b-IQ2_XXS.gguf1.02 GBExperimental.Experimental only
granite-4.2-3b-Q2_0.gguf1.16 GBExtreme, group-64. Included for completeness.Historical compatibility
granite-4.2-3b-IQ1_M.gguf0.92 GBExtreme. Expect substantial degradation.Maximum compression
granite-4.2-3b-IQ1_S.gguf0.87 GBExtreme. Expect substantial degradation.Maximum compression
granite-4.2-3b-Q1_0.gguf0.65 GBExtreme. Included for completeness.Historical compatibility

All files are cut from the BF16 source (6.82 GB). Each quant is independently uploaded and deleted immediately after successful upload to minimize peak disk usage.

Model Architecture

Granite-4.2-3B is built on a decoder-only dense transformer architecture:

  • Attention: Grouped Query Attention (GQA) with 40 attention heads and 8 KV heads
  • Position Embedding: Rotary Position Embedding (RoPE) with θ = 10,000,000
  • Feed-Forward: MLP with SwiGLU activation (hidden size 8192)
  • Normalization: RMSNorm (ε = 1e-5)
  • Embeddings: Separate input/output embeddings (not tied)
  • Precision: bfloat16 (source)

Inference

Generation Parameters

Important: Use temperature=1.0 and top_p=0.95 across all tasks and serving backends, including general chat, reasoning, and tool calling.

ParameterValueNotes
temperature1.0Required for all modes
top_p0.95Nucleus sampling threshold
max_new_tokens8192Thinking mode (increase for complex reasoning)
max_new_tokens2048Non-thinking mode
do_sampleTrueRequired when temperature > 0

Thinking Modes

ModeTemplate ParametersBehavior
Thinking (default)enable_thinking=TrueFull chain-of-thought reasoning inside <think>...</think>
Non-thinkingenable_thinking=FalseDirect answer with no reasoning overhead
Low-effortenable_thinking=True, low_effort=TrueBrief reasoning for simpler queries

Serving with llama.cpp

Basic Usage

# Download a quantization (recommended: Q4_K_M)
huggingface-cli download NANI-Nithin/granite-4.2-3b-GGUF granite-4.2-3b-Q4_K_M.gguf --local-dir .

# Run inference
llama-cli -m granite-4.2-3b-Q4_K_M.gguf -p "Hello, how are you?"

Or use the Hugging Face Hub integration:

# Serve with llama-server
llama-server -hf NANI-Nithin/granite-4.2-3b-GGUF:Q4_K_M

# Run with model path
llama-cli -hf NANI-Nithin/granite-4.2-3b-GGUF:Q4_K_M -p "Hello"

API Usage

# Start the server
llama-server -hf NANI-Nithin/granite-4.2-3b-GGUF:Q4_K_M

# Query with curl
curl -X POST http://localhost:8080/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "granite-4.2-3b-Q4_K_M",
    "messages": [{"role": "user", "content": "Explain quantum computing in simple terms"}],
    "temperature": 1.0,
    "top_p": 0.95,
    "max_tokens": 8192
  }'

Quick Start Example

# Download the model
huggingface-cli download NANI-Nithin/granite-4.2-3b-GGUF granite-4.2-3b-Q4_K_M.gguf

# Run inference
./llama-cli -m granite-4.2-3b-Q4_K_M.gguf -p "What is the Riemann hypothesis?"

Technical Details

  • Source Model: ibm-granite/granite-4.2-3b
  • Author: Granite Team, IBM
  • License: Apache 2.0
  • Languages: English, German, Spanish, French, Japanese, Portuguese, Arabic, Czech, Italian, Korean, Dutch, Chinese
  • Architecture: GraniteForCausalLM (decoder-only dense transformer)
  • Context Length: 131K tokens (natively supports 128K, extended to 512K)
  • Parameters: 3B
  • Created: August 25, 2026

Usage Notes

  1. Disk Space: Download one quantization at a time. Each file ranges from 0.65 GB (Q1_0) to 6.82 GB (BF16 source).
  2. Memory Requirements: Varies by quantization. Q4_K_M requires ~2 GB VRAM, Q8_0 requires ~4 GB VRAM.
  3. Performance: All files are optimized for llama.cpp with appropriate kernel selections for each quantization.
  4. Thinking Mode: Enable enable_thinking=True to get chain-of-thought reasoning. Set to False for faster, direct answers.

Model Card Information

This GGUF repo contains quantized versions of Granite-4.2-3B, including evaluation results and comprehensive serving instructions. The quantization was performed using llama.cpp's quantization pipeline, preserving the model's reasoning capabilities while reducing size for deployment.

For the full source model documentation, including detailed training methodology, evaluation benchmarks, and advanced usage, refer to the source repo: ibm-granite/granite-4.2-3b.


Note: These files are optimized for llama.cpp and are not compatible with vLLM, SGLang, or the Transformers library in their current format. For those frameworks, use the source model ibm-granite/granite-4.2-3b.

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

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

GPU в ailist

llama.cpp

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

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

Ревизия весов
a944108

0 моделей