Downloads · 30 days
0
squeeze-ai-lab/sq-opt-2.7b-w4-s50
sq-opt-2.7b-w4-s50 is a machine learning model from squeeze-ai-lab. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
SqueezeLLM is a post-training quantization framework that incorporates a new method called Dense-and-Sparse Quantization to enable efficient LLM serving.
Downloads · 30 days
0
Access
Public
Updated Jul 7, 2023
Repo size
2.1 GB
Likes
0
Public
Click a slice to open those files.
.pt2.1 GB · 100%
From the Hugging Face model README
SqueezeLLM is a post-training quantization framework that incorporates a new method called Dense-and-Sparse Quantization to enable efficient LLM serving.
TLDR: Deploying LLMs is difficult due to their large memory size. This can be addressed with reduced precision quantization. But a naive method hurts performance. We address this with a new Dense-and-Sparse Quantization method. Dense-and-Sparse splits weight matrices into two components: A dense component that can be heavily quantized without affecting model performance, as well as a sparse part that preserves sensitive and outlier parts of the weight matrices With this approach, we are able to serve larger models with smaller memory footprint, the same latency, and yet higher accuracy and quality. For more details please check out our paper.
4-bit quantized OPT 2.7B model using SqueezeLLM. More details can be found in the paper.