How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "AvoCahDoe/gemma-2-9b-rlmpq-high-fidelity"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "AvoCahDoe/gemma-2-9b-rlmpq-high-fidelity",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker
docker model run hf.co/AvoCahDoe/gemma-2-9b-rlmpq-high-fidelity
Quick Links

Gemma 2 9B β€” RL-MPQ High Fidelity

Standalone RL-MPQ (Reinforcement Learning Mixed-Precision Quantization) checkpoint for the High Fidelity scenario β€” a quantized variant of google/gemma-2-9b.

Field Value
Base model google/gemma-2-9b
Scenario High Fidelity
Avg bits / weight 7.0476
Compression vs FP16 2.2703Γ—
WikiText-2 PPL 104.8098
Layers 42
Bit distribution {'4': 10, '8': 32}
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-high-fidelity"

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
Aggressive 3.6667 4.3636x 162.8437
Balanced 4.2857 3.7333x 127.0798
Conservative 5.1429 3.1111x 116.5244
Extreme Survival 2.7857 5.7436x 424.7991

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

Method

  1. Phase 3 β€” PPO agent assigns per-layer bit widths under the High Fidelity reward target.
  2. Phase 4 β€” Policy replayed on real weights; WikiText-2 perplexity validates quality.
  3. 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_high-fidelity_2026,
  title  = {RL-MPQ High Fidelity: Gemma 2 9B Mixed-Precision Quantization},
  author = {AvoCahDoe},
  year   = {2026},
  url    = {https://huggingface.co/AvoCahDoe/gemma-2-9b-rlmpq-high-fidelity}
}
Downloads last month
3
Safetensors
Model size
9B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for AvoCahDoe/gemma-2-9b-rlmpq-high-fidelity

Finetuned
(330)
this model

Dataset used to train AvoCahDoe/gemma-2-9b-rlmpq-high-fidelity

Collection including AvoCahDoe/gemma-2-9b-rlmpq-high-fidelity