AvoCahDoe/llama-2-7b-rlmpq-balanced
020
Llama 2 7B — RL-MPQ Balanced
Standalone RL-MPQ (Reinforcement Learning Mixed-Precision Quantization) checkpoint for the Balanced scenario — a quantized variant of meta-llama/Llama-2-7b-hf.
Collection: RL-MPQ — Llama 2 7B — all five scenarios for Llama 2 7B.
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "AvoCahDoe/llama-2-7b-rlmpq-balanced"
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="float16")
tokenizer = AutoTokenizer.from_pretrained(repo)Other Llama 2 7B scenarios
Grouped archive (all scenarios in one repo): AvoCahDoe/llama-2-7b-rlmpq
Method
- Phase 3 — PPO agent assigns per-layer bit widths under the Balanced 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
Citation
@misc{rlmpq_llama_2_7b_balanced_2026,
title = {RL-MPQ Balanced: Llama 2 7B Mixed-Precision Quantization},
author = {AvoCahDoe},
year = {2026},
url = {https://huggingface.co/AvoCahDoe/llama-2-7b-rlmpq-balanced}
}