Quantized variant of meta-llama/Llama-2-7b-hf using
RL-MPQ
(Reinforcement Learning Mixed-Precision Quantization): per-layer bit-width policies
trained with PPO, validated on WikiText-2 perplexity.
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3repo = "AvoCahDoe/llama-2-7b-rlmpq"
4scenario = "Balanced" # High_Fidelity | Conservative | Aggressive | Extreme_Survival
5
6model = AutoModelForCausalLM.from_pretrained(repo, subfolder=scenario, torch_dtype="float16")
7tokenizer = AutoTokenizer.from_pretrained(repo, subfolder=scenario)
1@misc{rlmpq2026,
2 title = {RL-MPQ: Reinforcement Learning Mixed-Precision Quantization},
3 author = {AvoCahDoe},
4 year = {2026},
5 url = {https://huggingface.co/AvoCahDoe/llama-2-7b-rlmpq}
6}