Skip to content

Conversation

martindevans
Copy link
Member

Added support for the new MinP sampler in llama.cpp. This sampler keeps all tokens which are above a certain probability. Resolves #272.

  • Added support for the MinP sampler.
  • Cleaned up comments in implementations of IInferenceParams.
  • Removed default values for all parameters in LLamaContext.Sample - they're never used and probably shouldn't ever be used.

 - Cleaned up comments in implementations of `IInferenceParams`
 - Removed default values for all parameters in `LLamaContext.Sample` - they're never used and probably _shouldn't_ ever be used
@martindevans martindevans merged commit e3468d0 into SciSharp:master Nov 13, 2023
@martindevans martindevans deleted the feature/min_p branch November 13, 2023 02:15
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.

MinP Sampling
1 participant