From 57f768eaad73db18f09d40545cea4247269b3696 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Sun, 9 Apr 2023 22:18:40 -0300 Subject: [PATCH] Better preset in api-example.py --- api-example.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api-example.py b/api-example.py index 10be0a88..a3aaa0f0 100644 --- a/api-example.py +++ b/api-example.py @@ -22,10 +22,10 @@ server = "127.0.0.1" params = { 'max_new_tokens': 200, 'do_sample': True, - 'temperature': 0.5, - 'top_p': 0.9, + 'temperature': 0.72, + 'top_p': 0.73, 'typical_p': 1, - 'repetition_penalty': 1.05, + 'repetition_penalty': 1.1, 'encoder_repetition_penalty': 1.0, 'top_k': 0, 'min_length': 0,