AI Briefing
KO

Codestral

·2024.05.29 09:00

Key point

Mistral AI has released Codestral, a 22B-scale open-weight code generation model supporting over 80 programming languages.

1 / 2

Details

Mistral AI has unveiled Codestral, its first code-specific model. Codestral is a 22B-scale open-weight generative AI model specialized for code generation tasks.

The model supports over 80 programming languages, ranging from popular languages like Python, Java, C, C++, JavaScript, and Bash to more specialized ones such as Swift and Fortran. Developers can use it to perform tasks such as:

  • Completing code functions and writing partial code
  • Writing test code
  • Completing code via the Fill-in-the-middle (FIM) mechanism

Codestral offers an optimal balance between performance and latency, and notably supports a wide context window of 32k. This outperforms competing models (4k–16k) and has demonstrated excellent results on the RepoBench benchmark, which requires long-term dependencies.

Codestral is currently available for download via HuggingFace, under the Mistral AI Non-Production License, which permits use for research and testing purposes. It is also available through a dedicated endpoint (codestral.mistral.ai).

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.