Downloads · 30 days
11
10% of all-time downloads
malvavisc0/rencoder-ministral-3-8b-instruct-gptq-int4
rencoder-ministral-3-8b-instruct-gptq-int4 is a text generation model from malvavisc0. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
GPTQ-int4 quantized version of pankajmathur/RenCoder-Ministral-3-8B-Instruct-2512, optimized for fast inference with minimal VRAM using vLLM.
Downloads · 30 days
11
10% of all-time downloads
All-time downloads
113
Public
Parameters
8.9B
6.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.9 GB · 100%
How the weights are stored.
I327.4B · 83%
From the Hugging Face model README
GPTQ-int4 quantized version of pankajmathur/RenCoder-Ministral-3-8B-Instruct-2512, optimized for fast inference with minimal VRAM using vLLM.
| Parameter | Value |
|---|---|
| Method | GPTQ |
| Bits | 4-bit |
| Group Size | 128 |
| Symmetric | Yes |
| Desc Act | No |
| Pack Dtype | int32 |
| Quantizer | gptqmodel 7.1.0-dev |
This is a fine-tuned version of mistralai/Ministral-3-8B-Instruct-2512-BF16 on multiple agentic coding datasets, subsequently quantized to GPTQ Int4.
Original model: pankajmathur/RenCoder-Ministral-3-8B-Instruct-2512
vllm serve malvavisc0/rencoder-ministral-3-8b-instruct-gptq-int4 \
--quantization gptq_marlin
Then query the OpenAI-compatible API:
curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "malvavisc0/rencoder-ministral-3-8b-instruct-gptq-int4",
"messages": [{"role": "user", "content": "Hello!"}]
}'
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "malvavisc0/rencoder-ministral-3-8b-instruct-gptq-int4"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="auto",
trust_remote_code=True,
)
messages = [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Write a Python function to compute fibonacci numbers."},
]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt", add_generation_prompt=True).to(model.device)
outputs = model.generate(inputs, max_new_tokens=512, temperature=0.7, top_p=0.9)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Ministral 3 8B consists of two main architectural components:
With GPTQ Int4 quantization, this model can run on GPUs with as little as 4-6 GB VRAM depending on context length, making it suitable for:
This model is licensed under the Apache 2.0 License.
This quantized version retains the same license as the base model.