CoolFace
Modelpublic

AvoCahDoe/llama-3-1-8b-rlmpq-high-fidelity

sourceHugging Facellama3.1updated 4mo agoView on Hugging Face
0likes19downloads
Model Card

Llama 3.1 8B — RL-MPQ High Fidelity

Standalone RL-MPQ (Reinforcement Learning Mixed-Precision Quantization) checkpoint for the High Fidelity scenario — a quantized variant of meta-llama/Llama-3.1-8B.

FieldValue
Base modelmeta-llama/Llama-3.1-8B
ScenarioHigh Fidelity
Avg bits / weight6.75
Compression vs FP162.3704×
WikiText-2 PPL5.5974
Layers32
Bit distribution{'4': 10, '8': 22}
FormatFake-quant FP16 + rlmpq_policy.json

Collection: RL-MPQ — Llama 3.1 8B — all five scenarios for Llama 3.1 8B.

Usage

python
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "AvoCahDoe/llama-3-1-8b-rlmpq-high-fidelity"

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

Other Llama 3.1 8B scenarios

ScenarioAvg bitsCompressionWikiText-2 PPL
Aggressive3.59384.4522x6.4787
Balanced4.3753.6571x5.7761
Conservative5.253.0476x5.7182
Extreme Survival2.68755.9535x34.8686

Grouped archive (all scenarios in one repo): AvoCahDoe/llama-3-1-8b-rlmpq

Method

  1. 1.Phase 3 — PPO agent assigns per-layer bit widths under the High Fidelity 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_3_1_8b_high-fidelity_2026,
  title  = {RL-MPQ High Fidelity: Llama 3.1 8B Mixed-Precision Quantization},
  author = {AvoCahDoe},
  year   = {2026},
  url    = {https://huggingface.co/AvoCahDoe/llama-3-1-8b-rlmpq-high-fidelity}
}