Downloads · 30 days
12
6% of all-time downloads
goodman20241017/Llama-2-7B-BPD3-G64
Llama-2-7B-BPD3-G64 is a text generation model from goodman20241017. Use it when you need the model to write or continue text. The card lists the license as llama2.
This model is a 3-bit quantized version of meta-llama/Llama-2-7b-hf using the Bit-Plane Decomposition Quantization (BPDQ) algorithm.
Downloads · 30 days
12
6% of all-time downloads
All-time downloads
215
Public
Parameters
1.3B
3.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.8 GB · 100%
How the weights are stored.
BF16667M · 52%
From the Hugging Face model README
This model is a 3-bit quantized version of meta-llama/Llama-2-7b-hf using the Bit-Plane Decomposition Quantization (BPDQ) algorithm.
BPDQ is a post-training quantization (PTQ) method that constructs a variable quantization grid via bit-plane decomposition and scalar coefficients. By iteratively refining these using second-order information, BPDQ expands the feasible set for error minimization, allowing for high-fidelity performance in extreme low-bit regimes (2–3 bits) where conventional fixed-grid PTQ methods typically degrade.
BPDQ is implemented as a patch on top of GPTQModel at version 5.7.0. To use this model, you need to apply the patch provided in the official repository:
git clone https://github.com/ModelCloud/GPTQModel.git
cd GPTQModel
git checkout v5.7.0
git apply /path/to/BPDQ/bpdq.patch
pip install -e .
For detailed quantization and evaluation workflows, please refer to the official repository.
If you find BPDQ useful in your research, please cite:
@article{chen2026bpdq,
title={BPDQ: Bit-Plane Decomposition Quantization on a Variable Grid for Large Language Models},
author={Chen, Junyu and Li, Jungang and Xiong, Jing and Wang, Wenjie and Yang, Qingyao and Xiao, He and Li, Zhen and Wu, Taiqiang and Chen, Mengzhao and Peng, Zhen and others},
journal={arXiv preprint arXiv:2602.04163},
year={2026}
}