theroyallab / tabbyAPI

An OAI compatible exllamav2 API that's both lightweight and fast
GNU Affero General Public License v3.0
452 stars 65 forks source link

[REQUEST] Implementation of DRY sampler (Don't Repeat Yourself) #164

Closed Abdulhanan535 closed 4 days ago

Abdulhanan535 commented 1 month ago

Problem

Majority of the bots repeat sentences and due to that, it's annoying.

Solution

Implementing DRY sampler for TabbyAPI

Alternatives

No response

Explanation

DRY is a sampler that forces the model to not repeat while mantaining the quality or even improving it, some of the backends have already support for this.

Examples

No response

Additional context

No response

Acknowledgements

bdashore3 commented 1 month ago

See issue https://github.com/turboderp/exllamav2/issues/447

If it's added in upstream, I can add it here.

Abdulhanan535 commented 4 days ago

is it done?