Mistral: Mistral Nemo
mistralai/mistral-nemo- Modalities
- text->text
- In / out price
- $0.029 / $0.03
- Context
- 131K
- Released
- Jul 19, 2024
- Knowledge cutoff
- 2024-04-30
per 1M
A 12B parameter model with a 128k token context length built by Mistral in collaboration with NVIDIA. The model is multilingual, supporting English, French, German, Spanish, Italian, Portuguese, Chinese, Japanese,...
Supported parameters
frequency_penaltyFrequency penalty
Lowers the chance of a token in proportion to how often it already appeared.
logit_biasLogit bias
Add or subtract from token ids to encourage or ban them.
logprobsLogprobs
Return the log probability of each output token.
max_tokensMax tokens
Upper bound on generated tokens. Output stops at the limit.
min_pMin-p
Drops tokens below this probability threshold.
presence_penaltyPresence penalty
Lowers the chance of any token that has already appeared.
repetition_penaltyRepetition penalty
Penalizes text that already appeared. Common on open models.
response_formatResponse format
For example json_object or json_schema, to constrain the shape.
seedSeed
A fixed seed helps reproduce sampling. It does not guarantee byte-identical output.
stopStop
Stop when these strings are produced. A string or an array of strings.
structured_outputsStructured outputs
Generate a parseable structure that follows a JSON Schema.
temperatureTemperature
Sampling temperature. Lower is steadier, higher is more varied. Often 0 to 2.Default 0.3
tool_choiceTool choice
Whether to call a tool: auto, none, or a named function.
toolsTools
Function definitions the model may call via tool_calls.
top_kTop-K
Sample only from the K most likely tokens.
top_logprobsTop logprobs
Also return the most likely alternatives at each position.
top_pTop-p
Sample only from tokens whose cumulative probability reaches top_p.