Add a Top-P preset, make it the new default, clean up the built-in presets

This commit is contained in:
oobabooga 2026-03-14 19:15:22 -07:00
parent 9955e54a1f
commit 2d3a3794c9
6 changed files with 4 additions and 11 deletions

View file

@ -265,7 +265,7 @@ settings = {
'web_search_pages': 3,
'selected_tools': [],
'prompt-notebook': '',
'preset': 'Qwen3 - Thinking' if (user_data_dir / 'presets/Qwen3 - Thinking.yaml').exists() else None,
'preset': 'Top-P' if (user_data_dir / 'presets/Top-P.yaml').exists() else None,
'max_new_tokens': 512,
'max_new_tokens_min': 1,
'max_new_tokens_max': 4096,
@ -290,7 +290,7 @@ settings = {
'include_past_attachments': True,
# Generation parameters - Curve shape
'temperature': 0.6,
'temperature': neutral_samplers['temperature'],
'dynatemp_low': neutral_samplers['dynatemp_low'],
'dynatemp_high': neutral_samplers['dynatemp_high'],
'dynatemp_exponent': neutral_samplers['dynatemp_exponent'],
@ -300,7 +300,7 @@ settings = {
# Generation parameters - Curve cutoff
'min_p': neutral_samplers['min_p'],
'top_p': 0.95,
'top_k': 20,
'top_k': neutral_samplers['top_k'],
'typical_p': neutral_samplers['typical_p'],
'xtc_threshold': neutral_samplers['xtc_threshold'],
'xtc_probability': neutral_samplers['xtc_probability'],

View file

@ -1 +0,0 @@
min_p: 0.2

View file

@ -1,3 +0,0 @@
temperature: 0.7
top_p: 0.8
top_k: 20

View file

@ -1,3 +0,0 @@
temperature: 0.6
top_p: 0.95
top_k: 20

View file

@ -0,0 +1 @@
top_p: 0.95

View file

@ -1 +0,0 @@
min_p: 0.05