Add prompt_lookup_num_tokens parameter (#5296)
This commit is contained in:
parent
952a05a7c8
commit
e055967974
7 changed files with 9 additions and 0 deletions
|
@ -37,6 +37,7 @@ class GenerationOptions(BaseModel):
|
|||
early_stopping: bool = False
|
||||
truncation_length: int = 0
|
||||
max_tokens_second: int = 0
|
||||
prompt_lookup_num_tokens: int = 0
|
||||
custom_token_bans: str = ""
|
||||
auto_max_new_tokens: bool = False
|
||||
ban_eos_token: bool = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue