diff --git a/public/NovelAI Settings/Carefree-Kayra.settings b/public/NovelAI Settings/Carefree-Kayra.settings new file mode 100644 index 000000000..4aff97b23 --- /dev/null +++ b/public/NovelAI Settings/Carefree-Kayra.settings @@ -0,0 +1,20 @@ +{ + "order": [2, 3, 0, 4, 1], + "temperature": 1.05, + "max_length": 300, + "min_length": 1, + "top_k": 12, + "top_p": 0.85, + "top_a": 0.1, + "typical_p": 1, + "tail_free_sampling": 0.915, + "repetition_penalty": 2.8, + "repetition_penalty_range": 2048, + "repetition_penalty_slope": 0.02, + "repetition_penalty_frequency": 0.03, + "repetition_penalty_presence": 0.0, + "use_cache": false, + "return_full_text": false, + "prefix": "vanilla", + "max_context": 8192 +} diff --git a/public/index.html b/public/index.html index fbe340e96..668685345 100644 --- a/public/index.html +++ b/public/index.html @@ -1492,6 +1492,7 @@ +
@@ -1886,7 +1887,7 @@ - +
diff --git a/public/script.js b/public/script.js index d981fadf1..157d79a99 100644 --- a/public/script.js +++ b/public/script.js @@ -3064,9 +3064,9 @@ function getMaxContextSize() { // Should be used with nerdstash tokenizer for best results this_max_context = Math.min(max_context, 2048); } - if (nai_settings.model_novel == 'clio-v1') { - // Clio has a max context of 8192 - // Should be used with nerdstash_v2 tokenizer for best results + if (nai_settings.model_novel == 'clio-v1' || nai_settings.model_novel == 'kayra-v1') { + // Clio and Kayra has a max context of 8192 + // Should be used with nerdstash / nerdstash_v2 tokenizer for best results this_max_context = Math.min(max_context, 8192); } }