mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-20 22:13:43 +00:00
Add the top N-sigma sampler (#6796)
This commit is contained in:
parent
677d74a6a0
commit
5bcd2d7ad0
7 changed files with 60 additions and 3 deletions
|
|
@ -21,6 +21,7 @@ class GenerationOptions(BaseModel):
|
|||
eta_cutoff: float = 0
|
||||
tfs: float = 1
|
||||
top_a: float = 0
|
||||
top_n_sigma: float = 0
|
||||
dry_multiplier: float = 0
|
||||
dry_allowed_length: int = 2
|
||||
dry_base: float = 1.75
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue