Explorar o código

Add LLaMA-Precise preset (#767)

SDS %!s(int64=2) %!d(string=hai) anos
pai
achega
378d21e80c
Modificáronse 2 ficheiros con 7 adicións e 0 borrados
  1. 1 0
      modules/shared.py
  2. 6 0
      presets/LLaMA-Precise.txt

+ 1 - 0
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',
     },

+ 6 - 0
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