diff options
| -rw-r--r-- | bot.py | 2 | ||||
| -rw-r--r-- | config/params.json | 8 |
2 files changed, 9 insertions, 1 deletions
@@ -19,7 +19,7 @@ def ignore_connection_closed_ok(loop, context): #this doesn't fucking work def load_system_prompt() -> str: - return Path("system_prompt.txt").read_text(encoding="utf-8") + return Path("config/system_prompt.txt").read_text(encoding="utf-8") FILES_DIR = Path("files") LOG_DIR = FILES_DIR / "log" diff --git a/config/params.json b/config/params.json new file mode 100644 index 0000000..aeca445 --- /dev/null +++ b/config/params.json @@ -0,0 +1,8 @@ +{ + "temperature": 0.79, + "top_p": 0.89, + "top_k": 50, + "repeat_penalty": 1.2, + "num_predict": 1024, + "num_thread": 6 +} |
