Codestral is Mistral AI’s first-ever code model designed for code generation tasks.

22b

180.9K 3 months ago

Readme

Codestral

Codestral Hello World

Codestral is Mistral AI’s first-ever code model designed for code generation tasks. It is a 22B model.

Fluent in 80+ programming languages

Codestral is trained on a dataset of over 80 programming languages, including Python, Java, C, C++, JavaScript, Swift, Fortran and Bash.

The model can complete coding functions, write tests, and complete any partial code using a fill-in-the-middle mechanism.

Benchmarks

With its larger context window of 32k (compared to 4k, 8k or 16k for competitors), Codestral outperforms all other models in RepoBench, a long-range eval for code generation

Benchmarks

FIM benchmarks

Reference

Mistral AI - Codestral: Hello, World