Salesforce/wikitext
Viewer β’ Updated β’ 3.71M β’ 1.31M β’ 716
How to use AvoCahDoe/mistral-7b-rlmpq-conservative with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="AvoCahDoe/mistral-7b-rlmpq-conservative") # Load model directly
from transformers import AutoTokenizer, AutoModelForMultimodalLM
tokenizer = AutoTokenizer.from_pretrained("AvoCahDoe/mistral-7b-rlmpq-conservative")
model = AutoModelForMultimodalLM.from_pretrained("AvoCahDoe/mistral-7b-rlmpq-conservative")How to use AvoCahDoe/mistral-7b-rlmpq-conservative with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "AvoCahDoe/mistral-7b-rlmpq-conservative"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "AvoCahDoe/mistral-7b-rlmpq-conservative",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/AvoCahDoe/mistral-7b-rlmpq-conservative
How to use AvoCahDoe/mistral-7b-rlmpq-conservative with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "AvoCahDoe/mistral-7b-rlmpq-conservative" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "AvoCahDoe/mistral-7b-rlmpq-conservative",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker run --gpus all \
--shm-size 32g \
-p 30000:30000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN=<secret>" \
--ipc=host \
lmsysorg/sglang:latest \
python3 -m sglang.launch_server \
--model-path "AvoCahDoe/mistral-7b-rlmpq-conservative" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "AvoCahDoe/mistral-7b-rlmpq-conservative",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use AvoCahDoe/mistral-7b-rlmpq-conservative with Docker Model Runner:
docker model run hf.co/AvoCahDoe/mistral-7b-rlmpq-conservative
Standalone RL-MPQ (Reinforcement Learning Mixed-Precision Quantization) checkpoint for the Conservative scenario β a quantized variant of mistralai/Mistral-7B-v0.1.
| Field | Value |
|---|---|
| Base model | mistralai/Mistral-7B-v0.1 |
| Scenario | Conservative |
| Avg bits / weight | 3.8125 |
| Compression vs FP16 | 4.1967Γ |
| WikiText-2 PPL | 5.1877 |
| Layers | 32 |
| Bit distribution | {'2': 1, '3': 4, '4': 27} |
| Format | Fake-quant FP16 + rlmpq_policy.json |
Collection: RL-MPQ β Mistral 7B β all five scenarios for Mistral 7B.
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "AvoCahDoe/mistral-7b-rlmpq-conservative"
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="float16")
tokenizer = AutoTokenizer.from_pretrained(repo)
| Scenario | Avg bits | Compression | WikiText-2 PPL |
|---|---|---|---|
| Aggressive | 2.8125 | 5.6889x | 10.025 |
| Balanced | 3.3438 | 4.785x | 5.3053 |
| Extreme Survival | 2.5625 | 6.2439x | 46.2801 |
| High Fidelity | 4.4375 | 3.6056x | 4.8901 |
Grouped archive (all scenarios in one repo): AvoCahDoe/mistral-7b-rlmpq
| 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 |
@misc{rlmpq_mistral_7b_conservative_2026,
title = {RL-MPQ Conservative: Mistral 7B Mixed-Precision Quantization},
author = {AvoCahDoe},
year = {2026},
url = {https://huggingface.co/AvoCahDoe/mistral-7b-rlmpq-conservative}
}
Base model
mistralai/Mistral-7B-v0.1