mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
feat(vlm): align default generation settings
Update default settings for both Prompt Enhance and VQA: - max_tokens: 512 (prompt enhance) - do_sample: True - temperature: 0.8 These defaults provide better output quality with more creative variation while maintaining coherent results.
This commit is contained in:
@@ -159,9 +159,9 @@ class Options:
|
||||
censored = ["i cannot", "i can't", "i am sorry", "against my programming", "i am not able", "i am unable", 'i am not allowed']
|
||||
|
||||
max_delim_index: int = 60
|
||||
max_tokens: int = 50
|
||||
max_tokens: int = 512
|
||||
do_sample: bool = True
|
||||
temperature: float = 0.15
|
||||
temperature: float = 0.8
|
||||
repetition_penalty: float = 1.2
|
||||
thinking_mode: bool = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user