Mistral Unveils Codestral, an AI Code Assistant Trained on 80+ Programming Languages



Mistral has launched Codestral, a new open-weight AI model designed to help developers write and interact with code. Codestral is a 22B parameter model with a 32K context window. It was trained on over 80 programming languages, including Swift, Bash, Python, Java, C++, and JavaScript.

The model can be downloaded on HuggingFace and is available through Mistral’s API platform. Developers can also use Codestral for free on Mistral’s conversational AI platform, Le Chat.

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..

Codestral sets a new standard for code generation performance, particularly in the context of latency. When compared to existing code-specific models, Codestral delivers impressive results in Python and SQL benchmarks.

Codestral’s performance in multiple HumanEval pass@1 across six different languages in addition to Python: C++, bash, Java, PHP, Typescript, and C#, and calculated the average of these evaluations.

The model is impressively fast—whether using the API or running completely offline. See this side-by-side by Nick Dobos of Codestral with Mistral 7b.

Mistral has worked with community partners to integrate Codestral into popular developer tools and frameworks, including LlamaIndex, LangChain, Continue.dev, and Tabnine. This allows developers to use Codestral within familiar environments like VSCode and JetBrains. Early feedback from developers highlights Codestral’s speed, accuracy, and potential to revolutionize the coding process.

It’s important to note that Codestral is licensed under their new Mistral AI Non-Production License, which restricts its use to research and testing purposes only. This means that users cannot utilize the model or its outputs for commercial activities, including internal usage by employees within a company’s business context.





Source link

Check out hhttps://www.maginative.com/
for Get high-quality, in-depth AI news and analysis, as well as tailored AI training and education for your teams.

Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement