diff --git a/modules/shared.py b/modules/shared.py index a6f58778..902d7609 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -45,6 +45,7 @@ settings = { 'chat_default_extensions': ["gallery"], 'presets': { 'default': 'NovelAI-Sphinx Moth', + '.*(alpaca|llama)': "LLaMA-Precise", '.*pygmalion': 'NovelAI-Storywriter', '.*RWKV': 'Naive', }, diff --git a/presets/LLaMA-Precise.txt b/presets/LLaMA-Precise.txt new file mode 100644 index 00000000..8098b390 --- /dev/null +++ b/presets/LLaMA-Precise.txt @@ -0,0 +1,6 @@ +do_sample=True +top_p=0.1 +top_k=40 +temperature=0.7 +repetition_penalty=1.18 +typical_p=1.0