Hello, can u share the script convert GPTQ from fp16?
#3
by
lucasjin
- opened
I converted an codellama34b model got error, do u got any ideas
For coding models I use Evol Instruct Code dataset - you will see code in the script I linked for using this dataset. Just pass --dataset code
. Check my "Provided Files" table in the README and you will see it mentions which dataset is used and links to it.
Yes, for a Chinese model I would recommend using a Chinese dataset for calibration.
I don't think it makes a big difference to quantize quality, but it does make some difference. So it is worth using a dataset that is somewhat suitable for your model and its expected use.