AI & XML / LLM test suite / Results / Models / codestral:latest
Model description
Codestral is Mistral AI’s first code model developed for code generation tasks.
Model family | codestral |
|---|---|
Context | 32K |
Input | Text |
Size | 13 GB |
Family sizes | 22b |
Readme excerpt
Codestral
Codestral is Mistral AI’s first code model developed for code generation tasks. It is a 22B model.
Proficient in more than 80 programming languages
Codestral was trained on a dataset containing more than 80 programming languages, including Python, Java, C, C++, JavaScript, Swift, Fortran and Bash.
The model can complete programming functions, write tests and fill in any incomplete code using a fill-in-the-middle mechanism.
Benchmarks
Reference
Mistral AI: Codestral: Hello World
1270 Runs 1340 evaluated 37.1 % Score 7.1 % exactly correct
Help on evaluation, score and exact correctness
Score is a graded quality measure: correct = 100 %, mostly_correct = 80 %, partial = 50 %, wrong/not_answered = 0 %.
Exactly correct is stricter: only correct-labeled runs count. Mostly correct increases score but does not count as exactly correct.
Evaluated counts all runs with a substantive judgment. LLM-judge errors also count as evaluated, with score 0 %.
Test case Category