ISTA-DASLab/Phi-3-mini-4k-instruct-AQLM-PV-2Bit-1x16-hf

Model

Official quantization of Mistral-7B-v0.1 using PV-Tuning on top of AQLM.

2

7 commits

1 linked in READMEs

updated Aug 3, 2024

See the code

README

Official quantization of Mistral-7B-v0.1 using PV-Tuning on top of AQLM.

For this quantization, we used 1 codebook of 16 bits for groups of 8 weights.

Results (0-shot acc):

Results:

ModelQuantizationArcCArcEHellaswagPiQAWinograndeModel size, Gb
microsoft/Phi-3-mini-4k-instructNone0.55290.83250.60550.80200.73647.6
1x160.50510.79500.55320.794973.011.4

You can also find Phi-3-medium models compressed with AQLM+PV: 2-bit and 1-bit

The 1x16g16 (1-bit) models are on the way, as soon as we update the inference lib with their respective kernels.

To learn more about the inference, as well as the information on how to quantize models yourself, please refer to the official GitHub repo. The original code for PV-Tuning can be found in the AQLM@pv-tuning branch.

aqlm
conversational
custom_code
endpoints_compatible
phi-3
phi3
phi-3-mini
phi-3-mini-4k-instruct
safetensors
text-generation
text-generation-inference
transformers

ISTA-DASLab/Phi-3-mini-4k-instruct-AQLM-PV-2Bit-1x16-hf

Model

Official quantization of Mistral-7B-v0.1 using PV-Tuning on top of AQLM.

2

7 commits

1 linked in READMEs

updated Aug 3, 2024

See the code

README

Official quantization of Mistral-7B-v0.1 using PV-Tuning on top of AQLM.

For this quantization, we used 1 codebook of 16 bits for groups of 8 weights.

Results (0-shot acc):

Results:

ModelQuantizationArcCArcEHellaswagPiQAWinograndeModel size, Gb
microsoft/Phi-3-mini-4k-instructNone0.55290.83250.60550.80200.73647.6
1x160.50510.79500.55320.794973.011.4

You can also find Phi-3-medium models compressed with AQLM+PV: 2-bit and 1-bit

The 1x16g16 (1-bit) models are on the way, as soon as we update the inference lib with their respective kernels.

To learn more about the inference, as well as the information on how to quantize models yourself, please refer to the official GitHub repo. The original code for PV-Tuning can be found in the AQLM@pv-tuning branch.

aqlm
conversational
custom_code
endpoints_compatible
phi-3
phi3
phi-3-mini
phi-3-mini-4k-instruct
safetensors
text-generation
text-generation-inference
transformers