From 5f0aaf8bdb166ea3b5bfd578c2b19f61b583e6a9 Mon Sep 17 00:00:00 2001 From: AMOGUS <137312610+Amogus8P@users.noreply.github.com> Date: Tue, 18 Jul 2023 05:37:01 +0300 Subject: [PATCH] python binding's TopP also needs some love Changed the Python binding's TopP from 0.1 to 0.4 Signed-off-by: AMOGUS <137312610+Amogus8P@users.noreply.github.com> --- gpt4all-bindings/python/gpt4all/gpt4all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpt4all-bindings/python/gpt4all/gpt4all.py b/gpt4all-bindings/python/gpt4all/gpt4all.py index e0091972..bf409b51 100644 --- a/gpt4all-bindings/python/gpt4all/gpt4all.py +++ b/gpt4all-bindings/python/gpt4all/gpt4all.py @@ -212,7 +212,7 @@ class GPT4All: max_tokens: int = 200, temp: float = 0.7, top_k: int = 40, - top_p: float = 0.1, + top_p: float = 0.4, repeat_penalty: float = 1.18, repeat_last_n: int = 64, n_batch: int = 8,