mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-04 14:17:28 +00:00
Quadratic sampling (#5403)
--------- Co-authored-by: oobabooga <112222186+oobabooga@users.noreply.github.com>
This commit is contained in:
parent
e98d1086f5
commit
b6077b02e4
8 changed files with 45 additions and 15 deletions
|
|
@ -12,6 +12,7 @@ class GenerationOptions(BaseModel):
|
|||
dynatemp_low: float = 1
|
||||
dynatemp_high: float = 1
|
||||
dynatemp_exponent: float = 1
|
||||
smoothing_factor: float = 0
|
||||
top_k: int = 0
|
||||
repetition_penalty: float = 1
|
||||
repetition_penalty_range: int = 1024
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue