From 59bcd84d331e90f2fdc35e2421296a17f29ce4c4 Mon Sep 17 00:00:00 2001 From: Kirill Starkov Date: Thu, 11 Jan 2024 16:54:31 +0800 Subject: [PATCH] change default max_tokens for completion --- src/main/kotlin/com/smallcloud/refactai/struct/SMCRequest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/smallcloud/refactai/struct/SMCRequest.kt b/src/main/kotlin/com/smallcloud/refactai/struct/SMCRequest.kt index 3bb89c2e..de5f6cf3 100644 --- a/src/main/kotlin/com/smallcloud/refactai/struct/SMCRequest.kt +++ b/src/main/kotlin/com/smallcloud/refactai/struct/SMCRequest.kt @@ -34,7 +34,7 @@ data class SMCInputs( data class SMCParameters( var temperature: Float = 0.2f, - @SerializedName("max_new_tokens") var maxNewTokens: Int = 20 + @SerializedName("max_new_tokens") var maxNewTokens: Int = 50 ) data class SMCRequestBody(