CoolFace
Modelpublic

AvoCahDoe/llama-2-13b-rlmpq-aggressive

sourceHugging Facellama2updated 4mo agoView on Hugging Face
0likes16downloads
Model Card

Llama 2 13B — RL-MPQ Aggressive

Standalone RL-MPQ (Reinforcement Learning Mixed-Precision Quantization) checkpoint for the Aggressive scenario — a quantized variant of meta-llama/Llama-2-13b-hf.

FieldValue
Base modelmeta-llama/Llama-2-13b-hf
ScenarioAggressive
Avg bits / weight3.75
Compression vs FP164.2667×
WikiText-2 PPL4.5724
Layers40
Bit distribution{'3': 10, '4': 30}
FormatFake-quant FP16 + rlmpq_policy.json

Collection: RL-MPQ — Llama 2 13B — all five scenarios for Llama 2 13B.

Usage

python
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "AvoCahDoe/llama-2-13b-rlmpq-aggressive"

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

Other Llama 2 13B scenarios

ScenarioAvg bitsCompressionWikiText-2 PPL
Balanced4.43.6364x4.4797
Conservative5.23.0769x4.4663
Extreme Survival2.7755.7658x6.1148
High Fidelity6.72.3881x4.4313

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

Method

  1. 1.Phase 3 — PPO agent assigns per-layer bit widths under the Aggressive 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_llama_2_13b_aggressive_2026,
  title  = {RL-MPQ Aggressive: Llama 2 13B Mixed-Precision Quantization},
  author = {AvoCahDoe},
  year   = {2026},
  url    = {https://huggingface.co/AvoCahDoe/llama-2-13b-rlmpq-aggressive}
}