Model: Remove generate_window
Not required since we error with exceeding the max_seq_len Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
This commit is contained in:
parent
2f5235e1a3
commit
1afc9b983e
3 changed files with 0 additions and 12 deletions
|
|
@ -41,12 +41,6 @@ class BaseSamplerRequest(BaseModel):
|
|||
ge=0,
|
||||
)
|
||||
|
||||
generate_window: Optional[int] = Field(
|
||||
default_factory=lambda: get_default_sampler_value("generate_window", 512),
|
||||
examples=[512],
|
||||
ge=0,
|
||||
)
|
||||
|
||||
stop: Optional[Union[str, List[Union[str, int]]]] = Field(
|
||||
default_factory=lambda: get_default_sampler_value("stop", []),
|
||||
validation_alias=AliasChoices("stop", "stop_sequence"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue