//clika-runtime/io.clika.modelverse/TranslateOptions
TranslateOptions
[common]
data class TranslateOptions(val maxNewTokens: Int = 0)
How a translation runs.
Constructors
| TranslateOptions | [common] constructor(maxNewTokens: Int = 0) |
Properties
| Name | Summary |
|---|---|
| maxNewTokens | [common] val maxNewTokens: Int = 0 The most tokens one translation may produce; 0 keeps the model's own budget (the model's window caps either). |