mistralM

Docs

ImprovementAPI

New sampling parameters (presence_penalty, frequency_penalty, n) and temperature scaling

We expanded sampling controls in the Chat Completions API and unified temperature scaling across our recent small and multimodal models.

New API parameters

  • presence_penalty: penalizes the repetition of words or phrases that have already appeared in the generated text.
  • frequency_penalty: penalizes repeated tokens proportionally to how frequently they appear in the output.
  • n: specifies the number of completions to generate for a single request; input tokens are billed only once.

Temperature calibration

  • We downscaled the temperature parameter of pixtral-12b, ministral-3b-2410, and ministral-8b-2410 by a multiplier of 0.43 to improve output consistency, quality, and behavioral uniformity across models.