{"id":11793,"date":"2024-05-30T17:22:38","date_gmt":"2024-05-30T09:22:38","guid":{"rendered":"https:\/\/www.1ai.net\/?p=11793"},"modified":"2024-05-30T17:22:38","modified_gmt":"2024-05-30T09:22:38","slug":"220-%e4%ba%bf%e5%8f%82%e6%95%b0%ef%bc%8cmistral-ai-%e5%8f%91%e5%b8%83%e7%bc%96%e7%a8%8b%e5%a4%a7%e6%a8%a1%e5%9e%8b-codestral%ef%bc%9a%e6%94%af%e6%8c%81-python-%e7%ad%89-80-%e5%a4%9a%e7%a7%8d%e8%af%ad","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/11793.html","title":{"rendered":"Mistral AI releases Codestral, a large programming model with 22 billion parameters: supports more than 80 languages including Python"},"content":{"rendered":"<p>French AI Startups <a href=\"https:\/\/www.1ai.net\/en\/tag\/mistral-ai\" title=\"[See articles with [Mistral AI] label]\" target=\"_blank\" >Mistral AI<\/a> Today we announced Codestral, the company\u2019s first large language model (LLM) designed specifically for programming.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11794\" title=\"eb14cb51-f1aa-4c3b-b852-aee59ee41606\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2024\/05\/eb14cb51-f1aa-4c3b-b852-aee59ee41606.jpg\" alt=\"eb14cb51-f1aa-4c3b-b852-aee59ee41606\" width=\"760\" height=\"428\" \/><\/p>\n<p>Codestral is proficient in more than 80 programming languages, including Python, Java, C, C++, JavaScript, Bash, Swift, and even Fortran, which was invented in 1957.<\/p>\n<p>Similar to other programming LLMs, Codestral can help developers complete various functions, including completing functions, writing tests, filling in code, etc., reducing the risk of errors and vulnerabilities in the code.<\/p>\n<p>Mistral AI also used a chart to compare Codestral 22B with similar large models such as CodeLlama 70B, DeepSeek Coder 33B and Llama 3 70B, indicating that although Codestral has only 22 billion parameters, its context length reaches 32,000 tokens. According to several benchmark tests conducted, it generally performs better in Python, SQL and other languages.<\/p>\n<p>In the SQL spider benchmark, Llama 3 70B scored 67.1% and Codestral 22B scored 63.5%; in the MBPP Python benchmark, DeepSeek Code 33B scored 80.2% and Codestral 22B scored 78.2%.<\/p>","protected":false},"excerpt":{"rendered":"<p>French AI startup Mistral AI today announced Codestral, the company's first Large Language Model (LLM) designed for programming. Codestral is fluent in more than 80 programming languages, including Python, Java, C, C++, JavaScript, Bash, Swift, and even Fortran, which was introduced in 1957. Like other programming LLMs, Codestral helps developers perform a variety of functions, including completing functions, writing tests, populating code, and more. tests, populate code, and more, reducing the risk of errors and bugs in the code. Mistral AI also makes Codestral 2 available through diagrams.<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[146],"tags":[1375,2856],"collection":[],"class_list":["post-11793","post","type-post","status-publish","format-standard","hentry","category-news","tag-mistral-ai","tag-2856"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/11793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/comments?post=11793"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/11793\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=11793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=11793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=11793"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=11793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}