-
-
Notifications
You must be signed in to change notification settings - Fork 163
Open
Open
Copy link
Labels
new featureNew feature or requestNew feature or requestrequires triageRequires triagingRequires triaging
Description
Feature Description
Currently the samplers for top_p temperature, etc... are included by default, but I don't see anywhere, in the docs or in the type definitions ot have DRY and XTC data, which appear clearly in the llama.cpp and doesn't seem like they'd be too hard to implement as they are natively supported.
Similar comments about this in llama-cpp-python.
The Solution
Adding the options to dry_sampler and xtc_sampler with the given options for generateCompletition and other functions.
dry_sampler
enabledbooleanmultipliernumber,basenumber,allowed_lengthnumberpenalty_last_nnumberseq_breakers: Array
xtc_sampler
enabledbooleanprobabilitynumberthreshold: numbermin_keep: numberseed?: number
Considered Alternatives
I couldn't find any workaround, checked grammar defintions, checked for any mention of dry or xtc and couldn't find it.
Additional Context
No response
Related Features to This Feature Request
- Metal support
- CUDA support
- Vulkan support
- Grammar
- Function calling
Are you willing to resolve this issue by submitting a Pull Request?
Yes, I have the time, but I don't know how to start. I would need guidance.
Metadata
Metadata
Assignees
Labels
new featureNew feature or requestNew feature or requestrequires triageRequires triagingRequires triaging