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/llama-2-7b-rlmpq-extreme-survival"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "AvoCahDoe/llama-2-7b-rlmpq-extreme-survival",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker
docker model run hf.co/AvoCahDoe/llama-2-7b-rlmpq-extreme-survival
Quick Links

Llama 2 7B β€” RL-MPQ Extreme Survival

Standalone RL-MPQ (Reinforcement Learning Mixed-Precision Quantization) checkpoint for the Extreme Survival scenario β€” a quantized variant of meta-llama/Llama-2-7b-hf.

Field Value
Base model meta-llama/Llama-2-7b-hf
Scenario Extreme Survival
Avg bits / weight 2.9688
Compression vs FP16 5.3895Γ—
WikiText-2 PPL 10.9577
Layers 32
Bit distribution {'2': 2, '3': 29, '4': 1}
Format Fake-quant FP16 + rlmpq_policy.json

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-extreme-survival"

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

Other Llama 2 7B scenarios

Scenario Avg bits Compression WikiText-2 PPL
High Fidelity 6.5 2.4615x 4.9808
Conservative 5.125 3.122x 5.0276
Balanced 4.375 3.6571x 5.0437
Aggressive 3.5938 4.4522x 5.2614

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

Method

  1. Phase 3 β€” PPO agent assigns per-layer bit widths under the Extreme Survival 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_llama_2_7b_extreme-survival_2026,
  title  = {RL-MPQ Extreme Survival: Llama 2 7B Mixed-Precision Quantization},
  author = {AvoCahDoe},
  year   = {2026},
  url    = {https://huggingface.co/AvoCahDoe/llama-2-7b-rlmpq-extreme-survival}
}
Downloads last month
4
Safetensors
Model size
7B params
Tensor type
F16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for AvoCahDoe/llama-2-7b-rlmpq-extreme-survival

Finetuned
(981)
this model

Dataset used to train AvoCahDoe/llama-2-7b-rlmpq-extreme-survival

Collection including AvoCahDoe/llama-2-7b-rlmpq-extreme-survival