Usage
Signature
Parameters
Optional[int]
default:"None"
Maximum number of tokens to generate.
Optional[float]
default:"None"
Temperature for the model (randomness). Higher values make the output more random, lower values make it more deterministic.
Optional[float]
default:"None"
Restriction on the cumulative probability of prediction candidates. Also known as nucleus sampling.
Optional[int]
default:"None"
Number of top prediction candidates to consider.
Optional[float]
default:"None"
Penalty for tokens which appear frequently. Positive values decrease the likelihood of repeating tokens based on their frequency in the text so far.
Optional[float]
default:"None"
Penalty for tokens which already appeared at least once. Positive values encourage the model to use new tokens.