Skip to content

Add Custom SamplerStage - #61

Draft
nkoppel wants to merge 1 commit into
edgenai:mainfrom
nkoppel:custom_sampler_stage
Draft

Add Custom SamplerStage#61
nkoppel wants to merge 1 commit into
edgenai:mainfrom
nkoppel:custom_sampler_stage

Conversation

@nkoppel

@nkoppel nkoppel commented Mar 14, 2024

Copy link
Copy Markdown
Contributor

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