Gemma 2 9B — RL-MPQ Aggressive
Standalone RL-MPQ (Reinforcement Learning Mixed-Precision Quantization) checkpoint for the Aggressive scenario — a quantized variant of google/gemma-2-9b.
| Field | Value |
|---|---|
| Base model | google/gemma-2-9b |
| Scenario | Aggressive |
| Avg bits / weight | 3.6667 |
| Compression vs FP16 | 4.3636× |
| WikiText-2 PPL | 162.8437 |
| Layers | 42 |
| Bit distribution | {'3': 14, '4': 28} |
| Format | Fake-quant FP16 + rlmpq_policy.json |
Collection: RL-MPQ — Gemma 2 9B — all five scenarios for Gemma 2 9B.
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "AvoCahDoe/gemma-2-9b-rlmpq-aggressive"
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="float16")
tokenizer = AutoTokenizer.from_pretrained(repo)
Other Gemma 2 9B scenarios
| Scenario | Avg bits | Compression | WikiText-2 PPL |
|---|---|---|---|
| Balanced | 4.2857 | 3.7333x | 127.0798 |
| Conservative | 5.1429 | 3.1111x | 116.5244 |
| Extreme Survival | 2.7857 | 5.7436x | 424.7991 |
| High Fidelity | 7.0476 | 2.2703x | 104.8098 |
Grouped archive (all scenarios in one repo): AvoCahDoe/gemma-2-9b-rlmpq
Method
- Phase 3 — PPO agent assigns per-layer bit widths under the Aggressive reward target.
- Phase 4 — Policy replayed on real weights; WikiText-2 perplexity validates quality.
- Export — Fake-quantized FP16 weights compatible with Hugging Face Transformers.
Files
| File | Description |
|---|---|
config.json | Llama architecture + RL-MPQ metadata |
model.safetensors | Fake-quantized weights |
rlmpq_policy.json | Per-layer bit-width policy |
rlmpq_metrics.json | Validation & PPL summary |
Citation
@misc{rlmpq_gemma_2_9b_aggressive_2026,
title = {RL-MPQ Aggressive: Gemma 2 9B Mixed-Precision Quantization},
author = {AvoCahDoe},
year = {2026},
url = {https://huggingface.co/AvoCahDoe/gemma-2-9b-rlmpq-aggressive}
}