[fix] Increase default oobabooga trunc len to 4096

This commit is contained in:
aegkmq
2023-07-31 16:30:26 +09:00
parent 03ee17659f
commit 5ef6f00a8c
2 changed files with 6 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ export const prebuiltPresets:{OAI:botPreset,ooba:botPreset} = {
"early_stopping": false,
"seed": -1,
"add_bos_token": true,
"truncation_length": 2048,
"truncation_length": 4096,
"ban_eos_token": false,
"skip_special_tokens": true,
"top_a": 0,
@@ -111,7 +111,7 @@ export const prebuiltPresets:{OAI:botPreset,ooba:botPreset} = {
"early_stopping": false,
"seed": -1,
"add_bos_token": true,
"truncation_length": 2048,
"truncation_length": 4096,
"ban_eos_token": false,
"skip_special_tokens": true,
"top_a": 0,