From e730acbbe17371911aea8d9801d320dcb446ccaa Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Tue, 24 Sep 2024 12:55:25 +0300 Subject: [PATCH] Port Erato presets --- default/content/index.json | 18 ++++++++++- .../presets/novel/Erato-Dragonfruit.json | 31 +++++++++++++++++++ .../presets/novel/Erato-Golden Arrow.json | 27 ++++++++++++++++ .../content/presets/novel/Erato-Shosetsu.json | 27 ++++++++++++++++ .../content/presets/novel/Erato-Wilder.json | 27 ++++++++++++++++ .../presets/novel/Erato-Zany Scribe.json | 27 ++++++++++++++++ .../presets/novel/Universal-Erato.json | 27 ---------------- public/scripts/nai-settings.js | 2 +- 8 files changed, 157 insertions(+), 29 deletions(-) create mode 100644 default/content/presets/novel/Erato-Dragonfruit.json create mode 100644 default/content/presets/novel/Erato-Golden Arrow.json create mode 100644 default/content/presets/novel/Erato-Shosetsu.json create mode 100644 default/content/presets/novel/Erato-Wilder.json create mode 100644 default/content/presets/novel/Erato-Zany Scribe.json delete mode 100644 default/content/presets/novel/Universal-Erato.json diff --git a/default/content/index.json b/default/content/index.json index 35bc4b1c2..8c2ca66be 100644 --- a/default/content/index.json +++ b/default/content/index.json @@ -320,7 +320,23 @@ "type": "novel_preset" }, { - "filename": "presets/novel/Universal-Erato.json", + "filename": "presets/novel/Erato-Dragonfruit.json", + "type": "novel_preset" + }, + { + "filename": "presets/novel/Erato-Golden Arrow.json", + "type": "novel_preset" + }, + { + "filename": "presets/novel/Erato-Shosetsu.json", + "type": "novel_preset" + }, + { + "filename": "presets/novel/Erato-Wilder.json", + "type": "novel_preset" + }, + { + "filename": "presets/novel/Erato-Zany Scribe.json", "type": "novel_preset" }, { diff --git a/default/content/presets/novel/Erato-Dragonfruit.json b/default/content/presets/novel/Erato-Dragonfruit.json new file mode 100644 index 000000000..63fec152e --- /dev/null +++ b/default/content/presets/novel/Erato-Dragonfruit.json @@ -0,0 +1,31 @@ +{ + "max_context": 8000, + "temperature": 1.37, + "max_length": 150, + "min_length": 1, + "top_k": 0, + "top_p": 1, + "top_a": 0.1, + "typical_p": 0.875, + "tail_free_sampling": 0.87, + "repetition_penalty": 3.25, + "repetition_penalty_range": 6000, + "repetition_penalty_slope": 3.25, + "repetition_penalty_frequency": 0, + "repetition_penalty_presence": 0, + "phrase_rep_pen": "off", + "mirostat_lr": 0.2, + "mirostat_tau": 4, + "math1_temp": 0.9, + "math1_quad": 0.07, + "math1_quad_entropy_scale": -0.05, + "min_p": 0.035, + "order": [ + 0, + 5, + 9, + 10, + 8, + 4 + ] +} \ No newline at end of file diff --git a/default/content/presets/novel/Erato-Golden Arrow.json b/default/content/presets/novel/Erato-Golden Arrow.json new file mode 100644 index 000000000..073cd14ca --- /dev/null +++ b/default/content/presets/novel/Erato-Golden Arrow.json @@ -0,0 +1,27 @@ +{ + "max_context": 8000, + "temperature": 1, + "max_length": 150, + "min_length": 1, + "top_k": 0, + "top_p": 0.995, + "top_a": 1, + "typical_p": 1, + "tail_free_sampling": 0.87, + "repetition_penalty": 1.5, + "repetition_penalty_range": 2240, + "repetition_penalty_slope": 1, + "repetition_penalty_frequency": 0, + "repetition_penalty_presence": 0, + "phrase_rep_pen": "light", + "mirostat_lr": 1, + "mirostat_tau": 0, + "math1_temp": 0.3, + "math1_quad": 0.19, + "math1_quad_entropy_scale": 0, + "min_p": 0, + "order": [ + 9, + 2 + ] +} \ No newline at end of file diff --git a/default/content/presets/novel/Erato-Shosetsu.json b/default/content/presets/novel/Erato-Shosetsu.json new file mode 100644 index 000000000..422e2dbeb --- /dev/null +++ b/default/content/presets/novel/Erato-Shosetsu.json @@ -0,0 +1,27 @@ +{ + "max_context": 8000, + "temperature": 1, + "max_length": 150, + "min_length": 1, + "top_k": 50, + "top_p": 0.85, + "top_a": 1, + "typical_p": 1, + "tail_free_sampling": 0.895, + "repetition_penalty": 1.63, + "repetition_penalty_range": 1024, + "repetition_penalty_slope": 3.33, + "repetition_penalty_frequency": 0.0035, + "repetition_penalty_presence": 0, + "phrase_rep_pen": "medium", + "mirostat_lr": 1, + "mirostat_tau": 0, + "math1_temp": 0.3, + "math1_quad": 0.0645, + "math1_quad_entropy_scale": 0.05, + "min_p": 0.05, + "order": [ + 9, + 10 + ] +} \ No newline at end of file diff --git a/default/content/presets/novel/Erato-Wilder.json b/default/content/presets/novel/Erato-Wilder.json new file mode 100644 index 000000000..58a57e0e3 --- /dev/null +++ b/default/content/presets/novel/Erato-Wilder.json @@ -0,0 +1,27 @@ +{ + "max_context": 8000, + "temperature": 1, + "max_length": 150, + "min_length": 1, + "top_k": 300, + "top_p": 0.98, + "top_a": 0.004, + "typical_p": 0.96, + "tail_free_sampling": 0.96, + "repetition_penalty": 1.48, + "repetition_penalty_range": 2240, + "repetition_penalty_slope": 0.64, + "repetition_penalty_frequency": 0, + "repetition_penalty_presence": 0, + "phrase_rep_pen": "medium", + "mirostat_lr": 1, + "mirostat_tau": 0, + "math1_temp": -0.0485, + "math1_quad": 0.145, + "math1_quad_entropy_scale": 0, + "min_p": 0.02, + "order": [ + 9, + 10 + ] +} \ No newline at end of file diff --git a/default/content/presets/novel/Erato-Zany Scribe.json b/default/content/presets/novel/Erato-Zany Scribe.json new file mode 100644 index 000000000..5e35b4a62 --- /dev/null +++ b/default/content/presets/novel/Erato-Zany Scribe.json @@ -0,0 +1,27 @@ +{ + "max_context": 8000, + "temperature": 1, + "max_length": 150, + "min_length": 1, + "top_k": 0, + "top_p": 0.99, + "top_a": 1, + "typical_p": 1, + "tail_free_sampling": 0.99, + "repetition_penalty": 1, + "repetition_penalty_range": 64, + "repetition_penalty_slope": 1, + "repetition_penalty_frequency": 0.75, + "repetition_penalty_presence": 1.5, + "phrase_rep_pen": "medium", + "mirostat_lr": 1, + "mirostat_tau": 1, + "math1_temp": -0.4, + "math1_quad": 0.6, + "math1_quad_entropy_scale": -0.1, + "min_p": 0.08, + "order": [ + 9, + 2 + ] +} \ No newline at end of file diff --git a/default/content/presets/novel/Universal-Erato.json b/default/content/presets/novel/Universal-Erato.json deleted file mode 100644 index 1283c2ca4..000000000 --- a/default/content/presets/novel/Universal-Erato.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "temperature": 1.25, - "repetition_penalty": 1.00, - "repetition_penalty_range": 0, - "repetition_penalty_slope": 0, - "repetition_penalty_frequency": 0, - "repetition_penalty_presence": 0, - "tail_free_sampling": 1, - "top_k": 0, - "top_p": 1, - "top_a": 0, - "typical_p": 1, - "min_p": 0.1, - "math1_temp": 1, - "math1_quad": 0, - "math1_quad_entropy_scale": 0, - "min_length": 1, - "prefix": "vanilla", - "banned_tokens": "", - "order": [ - 0, - 10 - ], - "phrase_rep_pen": "off", - "mirostat_lr": 0, - "mirostat_tau": 0 -} diff --git a/public/scripts/nai-settings.js b/public/scripts/nai-settings.js index 34207ada3..cbe0934fa 100644 --- a/public/scripts/nai-settings.js +++ b/public/scripts/nai-settings.js @@ -22,7 +22,7 @@ const maximum_output_length = 150; const default_presets = { 'clio-v1': 'Talker-Chat-Clio', 'kayra-v1': 'Carefree-Kayra', - 'llama-3-erato-v1': 'Universal-Erato', + 'llama-3-erato-v1': 'Erato-Dragonfruit', }; export const nai_settings = {