Neutralize samplers (#59)
* Update sample_preset.yml Neutralized the samplers. * Sampling: Fix dynatemp defaults Default max temp and min temp is 1.0 * Sampling: Fix TFS defaults Default is 1.0 --------- Co-authored-by: AliCat <86847834+alicat22@users.noreply.github.com> Co-authored-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
321c9a1ea9
commit
bb48f77ca1
3 changed files with 10 additions and 10 deletions
|
|
@ -64,7 +64,7 @@ class BaseSamplerRequest(BaseModel):
|
|||
)
|
||||
|
||||
tfs: Optional[float] = Field(
|
||||
default_factory=lambda: get_default_sampler_value("tfs", 0.0)
|
||||
default_factory=lambda: get_default_sampler_value("tfs", 1.0)
|
||||
)
|
||||
|
||||
frequency_penalty: Optional[float] = Field(
|
||||
|
|
@ -142,13 +142,13 @@ class BaseSamplerRequest(BaseModel):
|
|||
)
|
||||
|
||||
max_temp: Optional[float] = Field(
|
||||
default_factory=lambda: get_default_sampler_value("max_temp", 0.0),
|
||||
default_factory=lambda: get_default_sampler_value("max_temp", 1.0),
|
||||
validation_alias=AliasChoices("max_temp", "dynatemp_high"),
|
||||
description="Aliases: dynatemp_high",
|
||||
)
|
||||
|
||||
min_temp: Optional[float] = Field(
|
||||
default_factory=lambda: get_default_sampler_value("min_temp", 0.0),
|
||||
default_factory=lambda: get_default_sampler_value("min_temp", 1.0),
|
||||
validation_alias=AliasChoices("min_temp", "dynatemp_low"),
|
||||
description="Aliases: dynatemp_low",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue