Mistral AI Launches Code Generation Model Codestral, Supporting 80+ Programming Languages

2024-05-30

Mistral recently launched Codestral, a new open-source AI model designed to assist developers in writing and interacting with code more efficiently. Codestral boasts 22 billion parameters and a 32K context window, making it a powerful tool. What's even more impressive is that it has been trained on over 80 programming languages, including Swift, Bash, Python, Java, C++, and JavaScript. Developers can easily download Codestral on HuggingFace and access the model through Mistral's API platform. Additionally, Mistral's conversational AI platform, Le Chat, offers free usage of Codestral. In terms of code generation performance, Codestral sets a new benchmark, particularly in terms of latency. It has achieved significant results in Python and SQL benchmark tests compared to existing code-focused models. Whether through API calls or complete offline operation, Codestral demonstrates astonishing processing speed. A comparison between Codestral and Mistral 7b by Nick Dobos yielded impressive results. Mistral has collaborated closely with community partners to integrate Codestral into popular development tools and frameworks, including LlamaIndex, LangChain, Continue.dev, and Tabnine. This means that developers can easily use Codestral in familiar environments such as VSCode and JetBrains. Initial feedback from developers highly recognizes Codestral's speed, accuracy, and its potential to revolutionize the coding process. However, it is important to note that Codestral is currently released under Mistral AI's non-production license, which means it is limited to research and testing purposes. Therefore, users are not allowed to use Codestral models or their outputs for commercial activities, including the daily business operations of company employees.