Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluation / benchmark mode #2

Closed
iiLaurens opened this issue Apr 19, 2023 · 1 comment · Fixed by #5
Closed

Evaluation / benchmark mode #2

iiLaurens opened this issue Apr 19, 2023 · 1 comment · Fixed by #5

Comments

@iiLaurens
Copy link

This is great stuff! I was wondering if you could also add a evaluation mode, for example to calculate perplexity in language models? Sometimes GPTQ doesn't work too well and the performance is hurt significantly. There is a risk that sometime takes a badly quantized model without knowing. So perhaps some kind of method to calculate metrics to compare the original model with the quantized model would be a great help.

@PanQiWei
Copy link
Collaborator

PanQiWei commented Apr 19, 2023

Hi, @iiLaurens Thanks for your suggestion, I will add evaluation mode to my todo list and perhaps add into this project this weekend.
I think the diversity of samples used to quantize a model is the key to the final quality, and I also found out that how many samples are used also have some influence. Thus in my practice, I usually using a combination of instruction-following dataset and chat dataset with thousands of samples.

@PanQiWei PanQiWei linked a pull request Apr 22, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants