Explorar el Código

Merge pull request #979 from jmorganca/mxyng/num-keep

update default NumKeep
Michael Yang hace 1 año
padre
commit
c01bbe94fd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,