-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Support Min P Sampler #1642
Support Min P Sampler #1642
Conversation
@zhuohan123 Thanks for you reviews! In terms of first problem, i removed the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you for your great contribution!
Reference:
oobabooga/text-generation-webui#4449
ggml-org/llama.cpp#3841
It seems sample better result than normal top_k/top_p method. And i tested min_p = 0.05 when inferencing code LLM, it gave me a better explanation.