Repository navigation
Add support for loading GPTQ models via AutoGPTQ - #519
Conversation
StellaAthena
left a comment
There was a problem hiding this comment.
Thank you for the contribution! This looks excellent. I've left a couple comments and have one other note:
I can only quickly find benchmarking on Wikitext2 and C4 perplexity. Can you add (with source) the HellaSwag results you're comparing to to conclude it's working correctly? Ideally we'd have comparisons on multiple benchmarks for multiple models.
|
Those are the HellaSwag results I've got by running it myself. 8bit is from python llama.py llama-7b/ c4 --wbits 4 --true-sequential --act-order --groupsize 128 --save_safetensors llama-7b/model.safetensorsi.e. with To put it next to
so it appears to be working, as the difference is very small. |
|
Should be installed from git right now: |
Sounds good. If you add this requirement to the set-up code then I think weâre good to merge once we get a couple more evaluations checked. Letâs say Pythia 13B on Lambada and T5-large on the task of your choice? |
|
Looks like T5 isn't supported yet:
I will see about running Pythia. |
|
Using autobots/pythia-12b-gptqv2-4bit, configs from EleutherAI/pythia-12b, and
c.f. https://huggingface.co/EleutherAI/pythia-12b/resolve/main/eval_plots/lambada_openai.png. |
|
Great work, and thank you for the contribution. We are currently in the process of drafting a paper about this library. Your PR is substantial enough that we would like to offer you coauthorship if you desire. If you would like to be included, please email me saying so. |
Add support for loading GPTQ models via AutoGPTQ
Add support for loading GPTQ models via AutoGPTQ
Using AutoGPTQ.
So far tested for LLaMA-7B quantized with GPTQ-for-LLaMa:
hellaswag(0-shot)accacc_norm