mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-14 15:57:27 +00:00
Tree: Format
This commit is contained in:
@@ -11,7 +11,7 @@ from exllamav3.generator.sampler import (
|
||||
SS_TopP,
|
||||
SS_Sample,
|
||||
SS_Base,
|
||||
SS_AdaptiveP
|
||||
SS_AdaptiveP,
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -283,7 +283,6 @@ class BaseSamplerRequest(BaseModel):
|
||||
default_factory=lambda: get_default_sampler_value("adaptive_decay", 0.9)
|
||||
)
|
||||
|
||||
|
||||
@field_validator("top_k", mode="before")
|
||||
def convert_top_k(cls, v):
|
||||
"""Fixes instance if Top-K is -1."""
|
||||
|
||||
Reference in New Issue
Block a user