Skip to content

Conversation

nkoppel
Copy link
Contributor

@nkoppel nkoppel commented Mar 14, 2024

Adds a SamplerStage that allows users to modify the model's logits with a custom function. This will allow users to implement sampling functionality beyond what llama.cpp supports, like custom repetition penalty logic, quadratic smoothing, etc.

@nkoppel nkoppel marked this pull request as draft March 14, 2024 02:55
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.

1 participant