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

common, server : Feature - surface min_keep as its own parameter #5567

Merged
merged 2 commits into from
Feb 18, 2024

Conversation

robeyh
Copy link
Contributor

@robeyh robeyh commented Feb 18, 2024

Re-add the unused min_keep parameter and surface it in common and server.

This was previously set to n_probs when used by server, which had the effect of forcing samplers to return a certain number of results. This was not the documented behavior of n_probs.

This PR creates a new parameter, also named min_keep to regain the old behavior since it was already effectively implemented.

As mentioned in: #5564

@ggerganov ggerganov merged commit 5ee99c3 into ggerganov:master Feb 18, 2024
@robeyh robeyh deleted the feature/readd-min_keep branch March 1, 2024 20:00
jordankanter pushed a commit to jordankanter/llama.cpp that referenced this pull request Mar 13, 2024
* Feature - surface min_keep as its own parameter

* Updated README with min_keep param
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 1, 2024
* Feature - surface min_keep as its own parameter

* Updated README with min_keep param
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 this pull request may close these issues.

2 participants