Sampling: Remove skip_special_tokens
This parameter is way too confusing and does not make sense in the modern LLM space. Change approved by all maintainers. Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
This commit is contained in:
parent
25c77ebf77
commit
42346c6b39
3 changed files with 0 additions and 9 deletions
|
|
@ -215,11 +215,6 @@ class BaseSamplerRequest(BaseModel):
|
|||
examples=[False],
|
||||
)
|
||||
|
||||
skip_special_tokens: Optional[bool] = Field(
|
||||
default_factory=lambda: get_default_sampler_value("skip_special_tokens", True),
|
||||
examples=[True],
|
||||
)
|
||||
|
||||
logit_bias: Optional[Dict[int, float]] = Field(
|
||||
default_factory=lambda: get_default_sampler_value("logit_bias"),
|
||||
examples=[{"1": 10, "2": 50}],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue