Pre-quantized checkpoints on HuggingFace typically have unknown calibration provenance — the dataset, sample count, seed, and group size are rarely documented. This checkpoint was self-quantized with controlled, documented settings to enable rigorous cross-method comparison (GGUF k-quant vs AWQ vs GPTQ) in a NeurIPS 2026 submission on quality-safety correlation under quantization.
Evaluation Results
Evaluated on 735 quality samples across 7 tasks and 468 safety samples judged by gemma3:12b.
1from transformers import AutoModelForCausalLM, AutoTokenizer
23model = AutoModelForCausalLM.from_pretrained(4"Crusadersk/llama3.2-3b-gptq-4bit",5 device_map="auto",6)7tokenizer = AutoTokenizer.from_pretrained("Crusadersk/llama3.2-3b-gptq-4bit")89inputs = tokenizer("What is the capital of France?", return_tensors="pt").to(model.device)10outputs = model.generate(**inputs, max_new_tokens=64, do_sample=False)11print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Inference requirements:pip install gptqmodel (Linux only) or optimum+auto-gptq
Windows users: GPTQ inference requires gptqmodel which only builds on Linux. Use Docker or WSL2. See reproduction instructions below.
Compatibility
Framework
Supported
Transformers
Yes
vLLM
Yes (GPTQ backend)
llama.cpp
No (use GGUF format instead)
Ollama
No (use GGUF format instead)
Windows (native)
No — requires Linux/Docker
Reproduction
The full quantization pipeline — Dockerfiles, quantization scripts, and a 766-line engineering log documenting every platform failure and solution — is available at:
766-line engineering log with root cause analysis for every failure
quantize_models.py
CLI for AWQ + GPTQ quantization with skip-existing and manifests
Dockerfile.gptq / Dockerfile.awq
Separate Docker images (irreconcilable dependency conflict)
smoke_test.py
Checkpoint verification with automatic Docker fallback for GPTQ
run_hf_eval.py
HuggingFace .generate() evaluation backend
Citation
bibtex
1@misc{banterhearts2026llama323bgptq,
2 title = {Self-Quantized Llama 3.2 3B Instruct (GPTQ 4-bit) for Quality-Safety Correlation Research},
3 author = {Kadadekar, Sahil},
4 year = {2026},
5 url = {https://huggingface.co/Crusadersk/llama3.2-3b-gptq-4bit},
6 note = {Part of the Banterhearts research program. NeurIPS 2026 submission.}
7}
Acknowledgments
This work is part of the Chimera/Banterhearts technical-report program on deployment-time LLM behavior, quantization, refusal robustness, batching effects, and inference-stack reliability. Canonical public archive: Chimeraforge Reports; source context: github.com/Sahil170595/Banterhearts.