5 comments

  • stev1983 3 days ago

    I think the difficult aspect is that you have to re-train the model after conversion. I assume you could use this during training (QAT) similar to ternary quantization.

    It’s a bit beyond me, but it seems promising–at least for general knowledge models.

    • imtringued 3 hours ago

      You know this is actually one of the biggest farces about "Open Weight" models.

      To do QAT afterwards you need training data that matches the original distribution of the training data. Even just a gigabyte of training data would be enough. Maybe a few hundred megabytes. Using that data you could do all the post training "QAT" (oxymoronic I know) you want.

      • Y_Y 2 hours ago

        PTQ works pretty well though, and you can do it with your own data

    • txrx0000 2 hours ago
      • murkt 7 hours ago

        I don’t understand how they go from 13B parameters to 0.9 GB using 0.1 bit per weight. Shouldn’t it be 13B * 0.1 / 8 bits per byte ~= 0.16 GB?

        Compressing from FP16 to 0.1 should be 160x, not 11 point something.

        • NitpickLawyer 6 hours ago

          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.

        • citbl 8 hours ago

          Fascinating. But is the LLM still of any use?

          • aurohacker 7 hours ago

            Figure 1 shows perplexity get decimated as you quantize (less in the case of this approach?). Hope I'm reading it right

          • Tarun12300 4 hours ago

            if you quantize a model it becomes retarded https://huggingface.co/Trxon/quatizedqwen