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.
abetlen/llama-cpp-python#1813
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
enabled boolean
multiplier number,
base number,
allowed_length number
penalty_last_n number
seq_breakers: Array
xtc_sampler
enabled boolean
probability number
threshold: number
min_keep: number
seed?: 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
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.
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.
abetlen/llama-cpp-python#1813
Similar comments about this in llama-cpp-python.
The Solution
Adding the options to
dry_samplerandxtc_samplerwith the given options for generateCompletition and other functions.dry_samplerenabledbooleanmultipliernumber,basenumber,allowed_lengthnumberpenalty_last_nnumberseq_breakers: Arrayxtc_samplerenabledbooleanprobabilitynumberthreshold: numbermin_keep: numberseed?: numberConsidered 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
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.