fix top picks bug, lower input anti abuse thresholds (+1 squashed commits)

Squashed commits:

[a81d9b21] fix top picks bug, lower input anti abuse thresholds
This commit is contained in:
Concedo 2024-11-01 16:32:23 +08:00
parent 6a27003a06
commit bbebc76817
2 changed files with 13 additions and 4 deletions

View file

@ -26,10 +26,10 @@ bias_max_value = 100.0
logprobs_max = 5
# abuse prevention
stop_token_max = 512
ban_token_max = 1024
logit_bias_max = 1024
dry_seq_break_max = 256
stop_token_max = 256
ban_token_max = 512
logit_bias_max = 512
dry_seq_break_max = 128
# global vars
handle = None