Created on request from the HuggingFace community (Discussion #1).
⚠️ Note on HuggingFace "Model size" Display
You may notice the sidebar shows "Model size: 4B params" — this is not accurate
and is a known limitation of HuggingFace's automatic parameter counter for EXL3 models.
This model has the full ~12B parameters of the original PLLuM-12B-chat-2512.
Why the discrepancy? EXL3 uses trellis-encoded weight packing, where each weight
tensor is compressed into a .trellis sub-tensor with a different shape than the
original weight matrix (e.g. a [14336, 5120] weight becomes a [320, 896, 64]
int16 trellis tensor). HuggingFace's parameter counter sums raw tensor element counts
from the safetensors header, which — for trellis-packed formats — does not correspond
to the actual number of model parameters. This affects all EXL3 models on HuggingFace,
not just this one.
Ground truth parameter count: 12B (verify via config.json: hidden_size=5120,
num_hidden_layers=40, intermediate_size=14336, vocab_size=131072 — matching the
original PLLuM-12B-chat-2512 architecture exactly).
📦 Quantization Specification
Parameter
Value
Format
EXL3 (ExLlamaV3)
BPW (decoder)
4.5
BPW (head)
6.0
Model Size
7.4 GB
SQNR (average)
~33 dB
Quantization Tool
exllamav3 v0.0.43
Quantization GPU
NVIDIA L4 24 GB (AWS g6.2xlarge)
Quantization Time
~75 min
Calibration
Default (250 rows × 2048 columns)
Quantization Strategy (auto)
Layer Group
BPW
Note
Embedding / Norm
16 bpw
Unquantized
Attention (layers 0–14, first)
6 bpw
Higher precision for early layers
Attention (layers 1–39)
5 bpw
Standard precision
MLP (layers 0–14)
5 bpw
Higher precision for early layers
MLP (layers 15–39)
4 bpw
Aggressive compression
lm_head
6 bpw
Higher precision for output
💾 VRAM Requirements
Component
Usage
Model Weights
~7.4 GB
Context (4096 tokens)
~1.5–2 GB
Total
~9–10 GB
✅ Comfortably fits in 12 GB VRAM with ~2 GB headroom for longer contexts.
Context Length
Estimated VRAM
Fits 12 GB?
2048 tokens
~8.5 GB
✅ Yes
4096 tokens
~9.5 GB
✅ Yes
8192 tokens
~11 GB
✅ Tight
16384 tokens
~14 GB
❌ Needs 16 GB
🏗️ Model Architecture
Parameter
Value
Architecture
MistralForCausalLM
Parameters
~12B
Layers
40
Embedding Dimension
5,120
Attention Heads
32
KV Heads (GQA)
8
Context Length
32,768 tokens
Vocab Size
128,259 tokens
Original Precision
BF16
🇵🇱 About PLLuM
PLLuM (Polish Large Language Model) is a family of LLMs specialized for the Polish language, developed by the PLLuM consortium and continued under HIVE AI — an alliance of research institutions delivering digital public services for Polish public administration.
Key Features
🏆 State-of-the-art in Polish NLP tasks and Polish public administration benchmarks
📚 Largest organic Polish instruction dataset — manually authored by human experts, not distilled
🛡️ Polish preference corpus — first of its kind, with demographically diverse annotators
🔬 Instruction-tuned via SFT + preference learning + advanced alignment
🌐 Bilingual — Polish primary + English for broader generalization
The chat_template.jinja file is included in this repo and will be automatically detected by TabbyAPI and ExLlamaV3.
Recommended Sampling Parameters
Parameter
Value
Temperature
0.6
Top-p
0.9
Repeat penalty
1.1
💻 Hardware Requirements
Minimum (12 GB VRAM)
GPU: Any GPU with ≥12 GB VRAM (RTX 3060 12 GB, RTX 4070, L4, etc.)
RAM: 16 GB system RAM
Storage: 8 GB free
Software: ExLlamaV3 v0.0.43+ or TabbyAPI with exllamav3 backend
Recommended
Setup
VRAM
Context
Speed
RTX 3060 12 GB
12 GB
4K tokens
~30-40 tok/s
RTX 4070 12 GB
12 GB
4K tokens
~40-55 tok/s
RTX 4090 24 GB
24 GB
16K+ tokens
~60-80 tok/s
L4 24 GB
24 GB
16K+ tokens
~40-60 tok/s
💡 Why EXL3? ExLlamaV3's EXL3 format delivers the fastest GPU inference among all quantization formats, making it the ideal choice for interactive chat on consumer GPUs.
📊 Quality Assessment
Metric
Value
Interpretation
SQNR (average)
~33 dB
Well above the perceptible degradation threshold for 12B models