mirror of
https://github.com/oobabooga/textgen.git
synced 2026-08-06 18:20:43 -05:00
Add customizable ban tokens (#3899)
This commit is contained in:
@@ -53,6 +53,7 @@ async def run(context):
|
||||
'add_bos_token': True,
|
||||
'truncation_length': 2048,
|
||||
'ban_eos_token': False,
|
||||
'custom_token_bans': '',
|
||||
'skip_special_tokens': True,
|
||||
'stopping_strings': []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user