-
-
Save skydoves/d567e9bda63f505dd8150fac643795c9 to your computer and use it in GitHub Desktop.
generation_config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val generativeModel = GenerativeModel( | |
.. | |
generationConfig = generationConfig { | |
this.temperature = 0.75f | |
this.candidateCount = 1 | |
this.topK = 30 | |
this.topP = 0.5f | |
this.maxOutputTokens = 300 | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment