Skip to content

Commit

Permalink
Sampling: Fix TFS defaults
Browse files Browse the repository at this point in the history
Default is 1.0

Signed-off-by: kingbri <[email protected]>
  • Loading branch information
bdashore3 committed Feb 8, 2024
1 parent 52ebc98 commit 4d05f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 4d05f43

Please sign in to comment.