Merge branch 'staging' into parser-followup-2

This commit is contained in:
LenAnderson
2024-07-13 13:50:28 -04:00
43 changed files with 2283 additions and 118 deletions

View File

@@ -1,23 +1,85 @@
{ {
"temp": 1.68, "temp": 1.68,
"temperature_last": true,
"top_p": 0.17, "top_p": 0.17,
"top_k": 77, "top_k": 77,
"typical_p": 1,
"top_a": 0.42, "top_a": 0.42,
"tfs": 0.97, "tfs": 0.97,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.02, "rep_pen": 1.02,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0.7, "temp": 0.7,
"temperature_last": true,
"top_p": 0.92, "top_p": 0.92,
"top_k": 150, "top_k": 150,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"rep_pen": 4.5, "typical_p": 1,
"min_p": 0,
"rep_pen": 3,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 2, "no_repeat_ngram_size": 2,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 10, "num_beams": 10,
"length_penalty": 1.4, "length_penalty": 1.4,
"min_length": 200, "min_length": 200,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": true, "early_stopping": true,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0.87, "temp": 0.87,
"temperature_last": true,
"top_p": 0.99, "top_p": 0.99,
"top_k": 85, "top_k": 85,
"typical_p": 0.68,
"top_a": 0, "top_a": 0,
"tfs": 0.68, "tfs": 0.68,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 0.68,
"min_p": 0,
"rep_pen": 1.01, "rep_pen": 1.01,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 1, "temp": 1,
"temperature_last": true,
"top_p": 1, "top_p": 1,
"top_k": 4, "top_k": 4,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1, "rep_pen": 1,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0.6, "penalty_alpha": 0.6,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": false, "do_sample": false,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0.7, "temp": 0.7,
"temperature_last": true,
"top_p": 0.5, "top_p": 0.5,
"top_k": 40, "top_k": 40,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.2, "rep_pen": 1.2,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0, "temp": 0,
"temperature_last": true,
"top_p": 0, "top_p": 0,
"top_k": 1, "top_k": 1,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.18, "rep_pen": 1.18,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": false, "do_sample": false,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 1.31, "temp": 1.31,
"temperature_last": true,
"top_p": 0.14, "top_p": 0.14,
"top_k": 49, "top_k": 49,
"typical_p": 1,
"top_a": 0.52, "top_a": 0.52,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 1.49, "epsilon_cutoff": 1.49,
"eta_cutoff": 10.42, "eta_cutoff": 10.42,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.17, "rep_pen": 1.17,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0.7, "temp": 0.7,
"temperature_last": true,
"top_p": 0.5, "top_p": 0.5,
"top_k": 0, "top_k": 0,
"typical_p": 0.19,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 0.19,
"min_p": 0,
"rep_pen": 1.1, "rep_pen": 1.1,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0.66, "temp": 0.66,
"temperature_last": true,
"top_p": 1, "top_p": 1,
"top_k": 0, "top_k": 0,
"typical_p": 0.6,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 0.6,
"min_p": 0,
"rep_pen": 1.1, "rep_pen": 1.1,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0.7, "temp": 0.7,
"temperature_last": true,
"top_p": 0.1, "top_p": 0.1,
"top_k": 40, "top_k": 40,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.18, "rep_pen": 1.18,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 200, "min_length": 200,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0.98, "temp": 0.98,
"temperature_last": true,
"top_p": 0.37, "top_p": 0.37,
"top_k": 100, "top_k": 100,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.18, "rep_pen": 1.18,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,24 +1,85 @@
{ {
"temp": 1.06, "temp": 1.06,
"temperature_last": true,
"top_p": 1, "top_p": 1,
"top_k": 0, "top_k": 0,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1, "rep_pen": 1,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 2, "mirostat_mode": 2,
"mirostat_tau": 9.61, "mirostat_tau": 9.61,
"mirostat_eta": 1, "mirostat_eta": 1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0 "rep_pen_size": 0
} }

View File

@@ -1,24 +1,85 @@
{ {
"temp": 1.17, "temp": 1.17,
"temperature_last": true,
"top_p": 1, "top_p": 1,
"top_k": 0, "top_k": 0,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1, "rep_pen": 1,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 2, "mirostat_mode": 2,
"mirostat_tau": 9.91, "mirostat_tau": 9.91,
"mirostat_eta": 1, "mirostat_eta": 1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0 "rep_pen_size": 0
} }

View File

@@ -1,24 +1,85 @@
{ {
"temp": 1.17, "temp": 1.17,
"temperature_last": true,
"top_p": 1, "top_p": 1,
"top_k": 0, "top_k": 0,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1, "rep_pen": 1,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 2, "mirostat_mode": 2,
"mirostat_tau": 9.62, "mirostat_tau": 9.62,
"mirostat_eta": 1, "mirostat_eta": 1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0 "rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 1, "temp": 1,
"temperature_last": true,
"top_p": 1, "top_p": 1,
"top_k": 0, "top_k": 0,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1, "rep_pen": 1,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 2, "mirostat_mode": 2,
"mirostat_tau": 8, "mirostat_tau": 8,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0.7, "temp": 0.7,
"temperature_last": true,
"top_p": 0.85, "top_p": 0.85,
"top_k": 50, "top_k": 50,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1, "rep_pen": 1,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0.8, "temp": 0.8,
"temperature_last": true,
"top_p": 0.9, "top_p": 0.9,
"top_k": 100, "top_k": 100,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.15, "rep_pen": 1.15,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 1.99, "temp": 1.99,
"temperature_last": true,
"top_p": 1, "top_p": 1,
"top_k": 100, "top_k": 100,
"typical_p": 0.97,
"rep_pen": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 0.97,
"min_p": 0,
"rep_pen": 1,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0.63, "temp": 0.63,
"temperature_last": true,
"top_p": 0.98, "top_p": 0.98,
"top_k": 0, "top_k": 0,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.05, "rep_pen": 1.05,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 1.99, "temp": 1.99,
"temperature_last": true,
"top_p": 0.85, "top_p": 0.85,
"top_k": 12, "top_k": 12,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.15, "rep_pen": 1.15,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 1.07, "temp": 1.07,
"temperature_last": true,
"top_p": 1, "top_p": 1,
"top_k": 100, "top_k": 100,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.05, "rep_pen": 1.05,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0.44, "temp": 0.44,
"temperature_last": true,
"top_p": 1, "top_p": 1,
"top_k": 0, "top_k": 0,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.15, "rep_pen": 1.15,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 1.99, "temp": 1.99,
"temperature_last": true,
"top_p": 0.18, "top_p": 0.18,
"top_k": 30, "top_k": 30,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.15, "rep_pen": 1.15,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0.72, "temp": 0.72,
"temperature_last": true,
"top_p": 0.73, "top_p": 0.73,
"top_k": 0, "top_k": 0,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.1, "rep_pen": 1.1,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 1.53, "temp": 1.53,
"temperature_last": true,
"top_p": 0.64, "top_p": 0.64,
"top_k": 33, "top_k": 33,
"typical_p": 1,
"top_a": 0.04, "top_a": 0.04,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.07, "rep_pen": 1.07,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0.7, "temp": 0.7,
"temperature_last": true,
"top_p": 0.9, "top_p": 0.9,
"top_k": 20, "top_k": 20,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.15, "rep_pen": 1.15,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 1.31, "temp": 1.31,
"temperature_last": true,
"top_p": 0.29, "top_p": 0.29,
"top_k": 72, "top_k": 72,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.09, "rep_pen": 1.09,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0.02, "temp": 0.02,
"temperature_last": true,
"top_p": 0.95, "top_p": 0.95,
"top_k": 50, "top_k": 50,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1, "rep_pen": 1,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0.7, "temp": 0.7,
"temperature_last": true,
"top_p": 1, "top_p": 1,
"top_k": 0, "top_k": 0,
"typical_p": 1,
"top_a": 0.2, "top_a": 0.2,
"tfs": 0.95, "tfs": 0.95,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.15, "rep_pen": 1.15,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 1.01, "temp": 1.01,
"temperature_last": true,
"top_p": 0.21, "top_p": 0.21,
"top_k": 91, "top_k": 91,
"typical_p": 1,
"top_a": 0.75, "top_a": 0.75,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 10.78, "eta_cutoff": 10.78,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.21, "rep_pen": 1.21,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1.07, "encoder_rep_pen": 1.07,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -11,6 +11,8 @@
"min_p": 0.1, "min_p": 0.1,
"rep_pen": 1, "rep_pen": 1,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
@@ -19,24 +21,56 @@
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0, "freq_pen": 0,
"presence_pen": 0, "presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true, "add_bos_token": true,
"truncation_length": 2048,
"ban_eos_token": false, "ban_eos_token": false,
"skip_special_tokens": true, "skip_special_tokens": true,
"streaming": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1, "mirostat_eta": 0.1,
"guidance_scale": 1, "guidance_scale": 1,
"negative_prompt": "", "negative_prompt": "",
"grammar_string": "", "grammar_string": "",
"json_schema": {},
"banned_tokens": "", "banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false, "ignore_eos_token": false,
"spaces_between_special_tokens": true, "spaces_between_special_tokens": true,
"type": "ooba", "speculative_ngram": false,
"legacy_api": false,
"sampler_order": [ "sampler_order": [
5, 5,
6, 6,
@@ -46,5 +80,6 @@
3, 3,
4 4
], ],
"logit_bias": [],
"rep_pen_size": 0 "rep_pen_size": 0
} }

View File

@@ -11,6 +11,8 @@
"min_p": 0.1, "min_p": 0.1,
"rep_pen": 1, "rep_pen": 1,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
@@ -19,24 +21,56 @@
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0, "freq_pen": 0,
"presence_pen": 0, "presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true, "add_bos_token": true,
"truncation_length": 2048,
"ban_eos_token": false, "ban_eos_token": false,
"skip_special_tokens": true, "skip_special_tokens": true,
"streaming": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1, "mirostat_eta": 0.1,
"guidance_scale": 1, "guidance_scale": 1,
"negative_prompt": "", "negative_prompt": "",
"grammar_string": "", "grammar_string": "",
"json_schema": {},
"banned_tokens": "", "banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false, "ignore_eos_token": false,
"spaces_between_special_tokens": true, "spaces_between_special_tokens": true,
"type": "ooba", "speculative_ngram": false,
"legacy_api": false,
"sampler_order": [ "sampler_order": [
5, 5,
6, 6,
@@ -46,5 +80,6 @@
3, 3,
4 4
], ],
"logit_bias": [],
"rep_pen_size": 0 "rep_pen_size": 0
} }

View File

@@ -11,6 +11,8 @@
"min_p": 0.1, "min_p": 0.1,
"rep_pen": 1, "rep_pen": 1,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
@@ -19,24 +21,56 @@
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0, "freq_pen": 0,
"presence_pen": 0, "presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true, "add_bos_token": true,
"truncation_length": 2048,
"ban_eos_token": false, "ban_eos_token": false,
"skip_special_tokens": true, "skip_special_tokens": true,
"streaming": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1, "mirostat_eta": 0.1,
"guidance_scale": 1, "guidance_scale": 1,
"negative_prompt": "", "negative_prompt": "",
"grammar_string": "", "grammar_string": "",
"json_schema": {},
"banned_tokens": "", "banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false, "ignore_eos_token": false,
"spaces_between_special_tokens": true, "spaces_between_special_tokens": true,
"type": "ooba", "speculative_ngram": false,
"legacy_api": false,
"sampler_order": [ "sampler_order": [
5, 5,
6, 6,
@@ -46,5 +80,6 @@
3, 3,
4 4
], ],
"logit_bias": [],
"rep_pen_size": 0 "rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0.82, "temp": 0.82,
"temperature_last": true,
"top_p": 0.21, "top_p": 0.21,
"top_k": 72, "top_k": 72,
"typical_p": 1,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"typical_p": 1,
"min_p": 0,
"rep_pen": 1.19, "rep_pen": 1.19,
"rep_pen_range": 0, "rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0, "no_repeat_ngram_size": 0,
"penalty_alpha": 0, "penalty_alpha": 0,
"num_beams": 1, "num_beams": 1,
"length_penalty": 1, "length_penalty": 1,
"min_length": 0, "min_length": 0,
"encoder_rep_pen": 1, "encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true, "do_sample": true,
"early_stopping": false, "early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0, "mirostat_mode": 0,
"mirostat_tau": 5, "mirostat_tau": 5,
"mirostat_eta": 0.1 "mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
5,
6,
0,
1,
2,
3,
4
],
"logit_bias": [],
"rep_pen_size": 0
} }

View File

@@ -1,23 +1,85 @@
{ {
"temp": 0.65, "temp": 0.65,
"top_p": 0.47, "temperature_last": true,
"top_k": 42, "top_p": 0.47,
"typical_p": 1, "top_k": 42,
"top_a": 0, "top_a": 0,
"tfs": 1, "tfs": 1,
"epsilon_cutoff": 0, "epsilon_cutoff": 0,
"eta_cutoff": 0, "eta_cutoff": 0,
"rep_pen": 1.18, "typical_p": 1,
"rep_pen_range": 0, "min_p": 0,
"no_repeat_ngram_size": 0, "rep_pen": 1.18,
"penalty_alpha": 0, "rep_pen_range": 0,
"num_beams": 1, "rep_pen_decay": 0,
"length_penalty": 1, "rep_pen_slope": 1,
"min_length": 0, "no_repeat_ngram_size": 0,
"encoder_rep_pen": 1, "penalty_alpha": 0,
"do_sample": true, "num_beams": 1,
"early_stopping": false, "length_penalty": 1,
"mirostat_mode": 0, "min_length": 0,
"mirostat_tau": 5, "encoder_rep_pen": 1,
"mirostat_eta": 0.1 "freq_pen": 0,
} "presence_pen": 0,
"skew": 0,
"do_sample": true,
"early_stopping": false,
"dynatemp": false,
"min_temp": 0,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 2,
"dry_multiplier": 0,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\"\", \"*\"]",
"dry_penalty_last_n": 0,
"add_bos_token": true,
"ban_eos_token": false,
"skip_special_tokens": true,
"mirostat_mode": 0,
"mirostat_tau": 5,
"mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"temperature",
"dynamic_temperature",
"quadratic_sampling",
"top_k",
"top_p",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"tfs",
"top_a",
"min_p",
"mirostat"
],
"samplers": [
"top_k",
"tfs_z",
"typical_p",
"top_p",
"min_p",
"temperature"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
0,
1,
3,
4,
2,
5
],
"logit_bias": [],
"rep_pen_size": 0
}

View File

@@ -44,7 +44,6 @@
"preset": "Default", "preset": "Default",
"add_bos_token": true, "add_bos_token": true,
"stopping_strings": [], "stopping_strings": [],
"truncation_length": 2048,
"ban_eos_token": false, "ban_eos_token": false,
"skip_special_tokens": true, "skip_special_tokens": true,
"streaming": false, "streaming": false,

View File

@@ -9126,10 +9126,6 @@ jQuery(async function () {
$('#groupCurrentMemberListToggle .inline-drawer-icon').trigger('click'); $('#groupCurrentMemberListToggle .inline-drawer-icon').trigger('click');
}, 200); }, 200);
$('#chat').on('wheel touchstart', () => {
scrollLock = true;
});
$(document).on('click', '.api_loading', cancelStatusCheck); $(document).on('click', '.api_loading', cancelStatusCheck);
//////////INPUT BAR FOCUS-KEEPING LOGIC///////////// //////////INPUT BAR FOCUS-KEEPING LOGIC/////////////
@@ -9242,16 +9238,24 @@ jQuery(async function () {
const autoFitEditTextAreaDebounced = debounce(autoFitEditTextArea, debounce_timeout.short); const autoFitEditTextAreaDebounced = debounce(autoFitEditTextArea, debounce_timeout.short);
document.addEventListener('input', e => { document.addEventListener('input', e => {
if (e.target instanceof HTMLTextAreaElement && e.target.classList.contains('edit_textarea')) { if (e.target instanceof HTMLTextAreaElement && e.target.classList.contains('edit_textarea')) {
const immediately = e.target.scrollHeight > e.target.offsetHeight || e.target.value === ''; const scrollbarShown = e.target.clientWidth < e.target.offsetWidth && e.target.offsetHeight >= window.innerHeight * 0.75;
const immediately = (e.target.scrollHeight > e.target.offsetHeight && !scrollbarShown) || e.target.value === '';
immediately ? autoFitEditTextArea(e.target) : autoFitEditTextAreaDebounced(e.target); immediately ? autoFitEditTextArea(e.target) : autoFitEditTextAreaDebounced(e.target);
} }
}); });
document.getElementById('chat').addEventListener('scroll', function () { const chatElementScroll = document.getElementById('chat');
chatElementScroll.addEventListener('wheel', function () {
scrollLock = true;
}, { passive: true });
chatElementScroll.addEventListener('touchstart', function () {
scrollLock = true;
}, { passive: true });
chatElementScroll.addEventListener('scroll', function () {
if (is_use_scroll_holder) { if (is_use_scroll_holder) {
this.scrollTop = scroll_holder; this.scrollTop = scroll_holder;
is_use_scroll_holder = false; is_use_scroll_holder = false;
} }
}); }, { passive: true });
$(document).on('click', '.mes', function () { $(document).on('click', '.mes', function () {
//when a 'delete message' parent div is clicked //when a 'delete message' parent div is clicked
@@ -9802,7 +9806,7 @@ jQuery(async function () {
}); });
//confirms message deletion with the "ok" button //confirms message deletion with the "ok" button
$('#dialogue_del_mes_ok').click(async function () { $('#dialogue_del_mes_ok').on('click', async function () {
$('#dialogue_del_mes').css('display', 'none'); $('#dialogue_del_mes').css('display', 'none');
$('#send_form').css('display', css_send_form_display); $('#send_form').css('display', css_send_form_display);
$('.del_checkbox').each(function () { $('.del_checkbox').each(function () {
@@ -9818,7 +9822,7 @@ jQuery(async function () {
chat.length = this_del_mes; chat.length = this_del_mes;
await saveChatConditional(); await saveChatConditional();
chatElement.scrollTop(chatElement[0].scrollHeight); chatElement.scrollTop(chatElement[0].scrollHeight);
eventSource.emit(event_types.MESSAGE_DELETED, chat.length); await eventSource.emit(event_types.MESSAGE_DELETED, chat.length);
$('#chat .mes').removeClass('last_mes'); $('#chat .mes').removeClass('last_mes');
$('#chat .mes').last().addClass('last_mes'); $('#chat .mes').last().addClass('last_mes');
} else { } else {

View File

@@ -881,12 +881,14 @@ export function initRossMods() {
saveSettingsDebounced(); saveSettingsDebounced();
}); });
$(sendTextArea).on('input', () => { sendTextArea.addEventListener('input', () => {
if (sendTextArea.scrollHeight > sendTextArea.offsetHeight || sendTextArea.value === '') { const hasContent = sendTextArea.value !== '';
autoFitSendTextArea(); const fitsCurrentSize = sendTextArea.scrollHeight <= sendTextArea.offsetHeight;
} else { const isScrollbarShown = sendTextArea.clientWidth < sendTextArea.offsetWidth;
autoFitSendTextAreaDebounced(); const isHalfScreenHeight = sendTextArea.offsetHeight >= window.innerHeight / 2;
} const needsDebounce = hasContent && (fitsCurrentSize || (isScrollbarShown && isHalfScreenHeight));
if (needsDebounce) autoFitSendTextAreaDebounced();
else autoFitSendTextArea();
saveUserInputDebounced(); saveUserInputDebounced();
}); });

View File

@@ -2178,6 +2178,11 @@ function getQuietPrompt(mode, trigger) {
return stringFormat(extension_settings.sd.prompts[mode], trigger); return stringFormat(extension_settings.sd.prompts[mode], trigger);
} }
/**
* Sanitizes generated prompt for image generation.
* @param {string} str String to process
* @returns {string} Processed reply
*/
function processReply(str) { function processReply(str) {
if (!str) { if (!str) {
return ''; return '';
@@ -2187,7 +2192,8 @@ function processReply(str) {
str = str.replaceAll('“', ''); str = str.replaceAll('“', '');
str = str.replaceAll('.', ','); str = str.replaceAll('.', ',');
str = str.replaceAll('\n', ', '); str = str.replaceAll('\n', ', ');
str = str.replace(/[^a-zA-Z0-9,:_(){}[\]\-']+/g, ' '); str = str.normalize('NFD');
str = str.replace(/[^a-zA-Z0-9,:_(){}<>[\]\-']+/g, ' ');
str = str.replace(/\s+/g, ' '); // Collapse multiple whitespaces into one str = str.replace(/\s+/g, ' '); // Collapse multiple whitespaces into one
str = str.trim(); str = str.trim();

View File

@@ -333,6 +333,9 @@ export function formatInstructModeChat(name, mes, isUser, isNarrator, forceAvata
if (power_user.instruct.macro) { if (power_user.instruct.macro) {
prefix = substituteParams(prefix, name1, name2); prefix = substituteParams(prefix, name1, name2);
prefix = prefix.replace(/{{name}}/gi, name || 'System'); prefix = prefix.replace(/{{name}}/gi, name || 'System');
suffix = substituteParams(suffix, name1, name2);
suffix = suffix.replace(/{{name}}/gi, name || 'System');
} }
if (!suffix && power_user.instruct.wrap) { if (!suffix && power_user.instruct.wrap) {
@@ -398,6 +401,8 @@ export function formatInstructModeExamples(mesExamplesArray, name1, name2) {
inputPrefix = inputPrefix.replace(/{{name}}/gi, name1); inputPrefix = inputPrefix.replace(/{{name}}/gi, name1);
outputPrefix = outputPrefix.replace(/{{name}}/gi, name2); outputPrefix = outputPrefix.replace(/{{name}}/gi, name2);
inputSuffix = inputSuffix.replace(/{{name}}/gi, name1);
outputSuffix = outputSuffix.replace(/{{name}}/gi, name2);
if (!inputSuffix && power_user.instruct.wrap) { if (!inputSuffix && power_user.instruct.wrap) {
inputSuffix = '\n'; inputSuffix = '\n';

View File

@@ -53,6 +53,7 @@ import {
getFileText, getFileText,
getImageSizeFromDataURL, getImageSizeFromDataURL,
getSortableDelay, getSortableDelay,
getStringHash,
isDataURL, isDataURL,
parseJsonFile, parseJsonFile,
resetScrollHeight, resetScrollHeight,
@@ -72,6 +73,7 @@ import { SlashCommand } from './slash-commands/SlashCommand.js';
import { ARGUMENT_TYPE, SlashCommandArgument } from './slash-commands/SlashCommandArgument.js'; import { ARGUMENT_TYPE, SlashCommandArgument } from './slash-commands/SlashCommandArgument.js';
import { renderTemplateAsync } from './templates.js'; import { renderTemplateAsync } from './templates.js';
import { SlashCommandEnumValue } from './slash-commands/SlashCommandEnumValue.js'; import { SlashCommandEnumValue } from './slash-commands/SlashCommandEnumValue.js';
import { Popup, POPUP_RESULT } from './popup.js';
export { export {
openai_messages_count, openai_messages_count,
@@ -202,6 +204,15 @@ const custom_prompt_post_processing_types = {
CLAUDE: 'claude', CLAUDE: 'claude',
}; };
const sensitiveFields = [
'reverse_proxy',
'proxy_password',
'custom_url',
'custom_include_body',
'custom_exclude_body',
'custom_include_headers',
];
function getPrefixMap() { function getPrefixMap() {
return selected_group ? { return selected_group ? {
assistant: '', assistant: '',
@@ -388,7 +399,7 @@ let openai_settings;
let promptManager = null; let promptManager = null;
function validateReverseProxy() { async function validateReverseProxy() {
if (!oai_settings.reverse_proxy) { if (!oai_settings.reverse_proxy) {
return; return;
} }
@@ -402,6 +413,19 @@ function validateReverseProxy() {
resultCheckStatus(); resultCheckStatus();
throw err; throw err;
} }
const rememberKey = `Proxy_SkipConfirm_${getStringHash(oai_settings.reverse_proxy)}`;
const skipConfirm = localStorage.getItem(rememberKey) === 'true';
const confirmation = skipConfirm || await Popup.show.confirm('Connecting To Proxy', `<span>Are you sure you want to connect to the following proxy URL?</span><var>${DOMPurify.sanitize(oai_settings.reverse_proxy)}</var>`);
if (!confirmation) {
toastr.error('Update or remove your reverse proxy settings.');
setOnlineStatus('no_connection');
resultCheckStatus();
throw new Error('Proxy connection denied.');
}
localStorage.setItem(rememberKey, String(true));
} }
/** /**
@@ -1787,7 +1811,7 @@ async function sendOpenAIRequest(type, messages, signal) {
// Proxy is only supported for Claude, OpenAI, Mistral, and Google MakerSuite // Proxy is only supported for Claude, OpenAI, Mistral, and Google MakerSuite
if (oai_settings.reverse_proxy && [chat_completion_sources.CLAUDE, chat_completion_sources.OPENAI, chat_completion_sources.MISTRALAI, chat_completion_sources.MAKERSUITE].includes(oai_settings.chat_completion_source)) { if (oai_settings.reverse_proxy && [chat_completion_sources.CLAUDE, chat_completion_sources.OPENAI, chat_completion_sources.MISTRALAI, chat_completion_sources.MAKERSUITE].includes(oai_settings.chat_completion_source)) {
validateReverseProxy(); await validateReverseProxy();
generate_data['reverse_proxy'] = oai_settings.reverse_proxy; generate_data['reverse_proxy'] = oai_settings.reverse_proxy;
generate_data['proxy_password'] = oai_settings.proxy_password; generate_data['proxy_password'] = oai_settings.proxy_password;
} }
@@ -3200,7 +3224,7 @@ async function getStatusOpen() {
}; };
if (oai_settings.reverse_proxy && (oai_settings.chat_completion_source === chat_completion_sources.OPENAI || oai_settings.chat_completion_source === chat_completion_sources.CLAUDE)) { if (oai_settings.reverse_proxy && (oai_settings.chat_completion_source === chat_completion_sources.OPENAI || oai_settings.chat_completion_source === chat_completion_sources.CLAUDE)) {
validateReverseProxy(); await validateReverseProxy();
} }
if (oai_settings.chat_completion_source === chat_completion_sources.CUSTOM) { if (oai_settings.chat_completion_source === chat_completion_sources.CUSTOM) {
@@ -3495,6 +3519,26 @@ async function onPresetImportFileChange(e) {
return; return;
} }
const fields = sensitiveFields.filter(field => presetBody[field]).map(field => `<b>${field}</b>`);
const shouldConfirm = fields.length > 0;
if (shouldConfirm) {
const textHeader = 'The imported preset contains proxy and/or custom endpoint settings.';
const textMessage = fields.join('<br>');
const cancelButton = { text: 'Cancel import', result: POPUP_RESULT.CANCELLED, appendAtEnd: true };
const popupOptions = { customButtons: [cancelButton], okButton: 'Remove them', cancelButton: 'Import as-is' };
const popupResult = await Popup.show.confirm(textHeader, textMessage, popupOptions);
if (popupResult === POPUP_RESULT.CANCELLED) {
console.log('Import cancelled by user');
return;
}
if (popupResult === POPUP_RESULT.AFFIRMATIVE) {
sensitiveFields.forEach(field => delete presetBody[field]);
}
}
if (name in openai_setting_names) { if (name in openai_setting_names) {
const confirm = await callPopup('Preset name already exists. Overwrite?', 'confirm'); const confirm = await callPopup('Preset name already exists. Overwrite?', 'confirm');
@@ -3541,8 +3585,22 @@ async function onExportPresetClick() {
const preset = structuredClone(openai_settings[openai_setting_names[oai_settings.preset_settings_openai]]); const preset = structuredClone(openai_settings[openai_setting_names[oai_settings.preset_settings_openai]]);
delete preset.reverse_proxy; const fieldValues = sensitiveFields.filter(field => preset[field]).map(field => `<b>${field}</b>: <code>${preset[field]}</code>`);
delete preset.proxy_password; const shouldConfirm = fieldValues.length > 0;
const textHeader = 'Your preset contains proxy and/or custom endpoint settings.';
const textMessage = `<div>Do you want to remove these fields before exporting?</div><br>${DOMPurify.sanitize(fieldValues.join('<br>'))}`;
const cancelButton = { text: 'Cancel', result: POPUP_RESULT.CANCELLED, appendAtEnd: true };
const popupOptions = { customButtons: [cancelButton] };
const popupResult = await Popup.show.confirm(textHeader, textMessage, popupOptions);
if (popupResult === POPUP_RESULT.CANCELLED) {
console.log('Export cancelled by user');
return;
}
if (!shouldConfirm || popupResult === POPUP_RESULT.AFFIRMATIVE) {
sensitiveFields.forEach(field => delete preset[field]);
}
const presetJsonString = JSON.stringify(preset, null, 4); const presetJsonString = JSON.stringify(preset, null, 4);
const presetFileName = `${oai_settings.preset_settings_openai}.json`; const presetFileName = `${oai_settings.preset_settings_openai}.json`;

View File

@@ -301,6 +301,9 @@ class PresetManager {
const filteredKeys = [ const filteredKeys = [
'preset', 'preset',
'streaming',
'truncation_length',
'n',
'streaming_url', 'streaming_url',
'stopping_strings', 'stopping_strings',
'can_use_tokenization', 'can_use_tokenization',

View File

@@ -3953,6 +3953,8 @@ input[type="range"]::-webkit-slider-thumb {
outline: none; outline: none;
background-color: var(--black50a); background-color: var(--black50a);
line-height: calc(var(--mainFontSize) + .25rem); line-height: calc(var(--mainFontSize) + .25rem);
max-height: 75vh;
max-height: 75dvh;
} }
#anchor_order { #anchor_order {