upvote
Usually when quantising a transformer arch you only work on linear layers. And sometimes you still keep some fp16 (learnable) scales to help with not nuking everything (<1bpw is really really impactful).

From the paper:

> The gap between the effective BPW and the compression factor arises because quantization is applied only to the Transformer blocks, while components like the embedding layer and the lm_head remain in FP16.

reply