Browse Source

update default NumKeep

Michael Yang 1 năm trước cách đây
mục cha
commit
6db3691b8f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      api/types.go

+ 1 - 1
api/types.go

@@ -293,7 +293,7 @@ func DefaultOptions() Options {
 	return Options{
 		// options set on request to runner
 		NumPredict:       -1,
-		NumKeep:          -1,
+		NumKeep:          0,
 		Temperature:      0.8,
 		TopK:             40,
 		TopP:             0.9,