CoolFace
Modelpublic

AvoCahDoe/gemma-2-9b-rlmpq-balanced

sourceHugging Facegemmaupdated 4mo agoView on Hugging Face
0likes20downloads
Model Card

Gemma 2 9B — RL-MPQ Balanced

Standalone RL-MPQ (Reinforcement Learning Mixed-Precision Quantization) checkpoint for the Balanced scenario — a quantized variant of google/gemma-2-9b.

FieldValue
Base modelgoogle/gemma-2-9b
ScenarioBalanced
Avg bits / weight4.2857
Compression vs FP163.7333×
WikiText-2 PPL127.0798
Layers42
Bit distribution{'4': 39, '8': 3}
FormatFake-quant FP16 + rlmpq_policy.json

Collection: RL-MPQ — Gemma 2 9B — all five scenarios for Gemma 2 9B.

Usage

python
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "AvoCahDoe/gemma-2-9b-rlmpq-balanced"

model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="float16")
tokenizer = AutoTokenizer.from_pretrained(repo)

Other Gemma 2 9B scenarios

ScenarioAvg bitsCompressionWikiText-2 PPL
Aggressive3.66674.3636x162.8437
Conservative5.14293.1111x116.5244
Extreme Survival2.78575.7436x424.7991
High Fidelity7.04762.2703x104.8098

Grouped archive (all scenarios in one repo): AvoCahDoe/gemma-2-9b-rlmpq

Method

  1. 1.Phase 3 — PPO agent assigns per-layer bit widths under the Balanced reward target.
  2. 2.Phase 4 — Policy replayed on real weights; WikiText-2 perplexity validates quality.
  3. 3.Export — Fake-quantized FP16 weights compatible with Hugging Face Transformers.

Files

FileDescription
config.jsonLlama architecture + RL-MPQ metadata
model.safetensorsFake-quantized weights
rlmpq_policy.jsonPer-layer bit-width policy
rlmpq_metrics.jsonValidation & PPL summary

Citation

bibtex
@misc{rlmpq_gemma_2_9b_balanced_2026,
  title  = {RL-MPQ Balanced: Gemma 2 9B Mixed-Precision Quantization},
  author = {AvoCahDoe},
  year   = {2026},
  url    = {https://huggingface.co/AvoCahDoe/gemma-2-9b-rlmpq-balanced}
}