Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of logit threshold sampler and confidence breaker #657

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update sampler.py
Added confidence_breaker_debug to Sampler class
  • Loading branch information
anchortense authored Oct 18, 2024
commit 50a3ef821466c568743d86f2195518d5ff5571e6
1 change: 1 addition & 0 deletions exllamav2/generator/sampler.py
Original file line number Diff line number Diff line change
@@ -78,6 +78,7 @@ class Settings:
logit_min_threshold: float = 0.0

confidence_breaker: int = 0
confidence_breaker_debug: bool = False
cb_mid_threshold: float = 0.0
cb_high_threshold: float = 0.0