From 06589a3b301586210ea1ecef24c58c5395604f12 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Thu, 2 Nov 2023 17:26:11 -0700 Subject: [PATCH] Set `NumKeep` to `4` by default (#982) --- api/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/types.go b/api/types.go index e861ee3a..ba23d74a 100644 --- a/api/types.go +++ b/api/types.go @@ -293,7 +293,7 @@ func DefaultOptions() Options { return Options{ // options set on request to runner NumPredict: -1, - NumKeep: 0, + NumKeep: 4, Temperature: 0.8, TopK: 40, TopP: 0.9,