Two new options: truncation length and ban eos token

This commit is contained in:
oobabooga
2023-04-11 18:46:06 -03:00
committed by GitHub
parent 749c08a4ff
commit cacbcda208
6 changed files with 62 additions and 48 deletions

View File

@@ -11,6 +11,10 @@
"custom_stopping_strings": "",
"stop_at_newline": false,
"add_bos_token": true,
"ban_eos_token": true,
"truncation_length": 2048,
"truncation_length_min": 0,
"truncation_length_max": 4096,
"chat_prompt_size": 2048,
"chat_prompt_size_min": 0,
"chat_prompt_size_max": 2048,