CoolFace
Modelpublic

Sohailhosseini/Carnice-9b-AWQ-W4A16

sourceHugging Faceapache-2.0updated 1mo agoView on Hugging Face
0likes17downloads
Model Card

Carnice-9b - AWQ-W4A16

`kai-os/Carnice-9b` quantized to AWQ-W4A16 (4-bit weights).

What this is

Same footprint as W4A16 but calibrates faster and usually holds up better on instruction-tuned and multilingual models. Start here.

Caveat. Asymmetric; a few older vLLM kernels prefer symmetric W4A16.

Details

Sourcekai-os/Carnice-9b
SchemeAWQ-W4A16 (4-bit)
Formatcompressed-tensors
Parameters9.0B
Size on disk7.7 GB
Compression2.33x smaller than the 17.9 GB source
CalibrationHuggingFaceH4/ultrachat_200k, 256 samples
Left unquantizedlm_head
Quantized onA40
Quantized bySohailhosseini

Usage

bash
vllm serve Sohailhosseini/Carnice-9b-AWQ-W4A16 \
  --max-model-len 32768
python
from vllm import LLM, SamplingParams

if __name__ == "__main__":
    llm = LLM("Sohailhosseini/Carnice-9b-AWQ-W4A16", max_model_len=32768)
    out = llm.chat(
        [{"role": "user", "content": "What is quantization? Answer in one sentence."}],
        SamplingParams(temperature=0.6, max_tokens=512),
    )
    print(out[0].outputs[0].text)

Provenance

Produced with HF-quantized. recipe.yaml in this repo is the exact modifier stack that was applied, and the scheme, ignored layers, calibration set and hardware are in the table above.

Licence is inherited from the source model. Quantization does not change what you are permitted to do with the weights.