Jump to content

Mistral AI

From Wikipedia, the free encyclopedia
(Redirected from Draft:Mistral AI)
Mistral AI
Company typePrivate
IndustryArtificial intelligence
Founded28 April 2023
Founders
  • Arthur Mensch
    (Co-Founder & CEO)
  • Guillaume Lample
    (Co-Founder & Chief Scientist)
  • Timothée Lacroix
    (Co-Founder & CTO)
Headquarters
Paris
,
France
Products
  • Mistral 7B
  • Mixtral 8x7B
  • Mistral Medium
  • Mistral Large
  • Mistral Large 2 (123B)
  • Mixtral 8x22B
  • Codestral 22B
  • Codestral Mamba (7B)
  • Mathstral (7B)
  • Mistral NeMo 12B
  • Mistral Embed
Websitemistral.ai

Mistral AI is a French company specializing in artificial intelligence (AI) products, headquartered in Paris. Founded in April 2023 by former employees of Meta Platforms and Google DeepMind,[1] it has quickly risen to prominence in the AI sector. The company is named after the mistral, a strong, cold, northwesterly wind that blows in southern France.[2]

Mistral AI focuses on producing open source large language models,[3] emphasizing the foundational importance of free and open-source software, and positioning itself as an alternative to proprietary models.[4]

In October 2023, Mistral AI raised €385 million.[5] By December 2023, it was valued at over $2 billion.[6][7][8]

In June 2024, Mistral AI announced a new funding round of €600 million ($645 million), significantly boosting its valuation to €5.8 billion ($6.2 billion).[9] This round was led by the venture capital firm General Catalyst, with participation from existing investors.[10]

Mistral AI has published three open-source models available as weights.[11] Additionally, three more models—Small, Medium, and Large—are available via API only.[12][13]

Based on valuation, the company is in fourth place in the global AI race and in first place outside the San Francisco Bay Area, ahead of several of its peers, such as Cohere, Hugging Face, Inflection, Perplexity and Together.[14] Mistral AI aims to "democratize" AI by focusing on open-source innovation.[15]

History

[edit]

Mistral AI was founded in April 2023 by three French AI researchers: Arthur Mensch, Guillaume Lample and Timothée Lacroix.[16] Prior to founding Mistral AI, Mensch worked at Google DeepMind which is Google's artificial intelligence laboratory, while Lample and Lacroix worked at Meta Platforms.[17] The three co-founders met while students at École polytechnique.[18]

In June 2023, the start-up carried out a first fundraising of €105 million ($117 million) with investors including the American fund Lightspeed Venture Partners, Eric Schmidt, Xavier Niel and JCDecaux. The valuation is then estimated by the Financial Times at €240 million ($267 million).

On 27 September 2023, the company made its language processing model “Mistral 7B” available under the free Apache 2.0 license. This model has 7 billion parameters, a small size compared to its competitors.

On 10 December 2023, Mistral AI announced that it had raised €385 million ($428 million) as part of its second fundraising. This round of financing notably involves the Californian fund Andreessen Horowitz, BNP Paribas and the software publisher Salesforce.[19]

On 11 December 2023, the company released the Mixtral 8x7B model with 46.7 billion parameters but using only 12.9 billion per token thanks to the mixture of experts architecture. The model masters 5 languages (French, Spanish, Italian, English and German) and outperforms, according to its developers' tests, the "LLama 2 70B" model from Meta. A version trained to follow instructions and called “Mixtral 8x7B Instruct” is also offered.[20]

On 26 February 2024, Microsoft announced a new partnership with the company to expand its presence in the rapidly evolving artificial intelligence industry. Under the agreement, Mistral's rich language models will be available on Microsoft's Azure cloud, while the multilingual conversational assistant "Le Chat" will be launched in the style of ChatGPT.[21]

On 10 April 2024, the company released the mixture of expert models, Mixtral 8x22B, offering high performance on various benchmarks compared to other open models.[22]

On 16 April 2024, reporting revealed that Mistral was in talks to raise €500 million, a deal that would more than double its current valuation to at least €5 billion.[23]

Models

[edit]

Open Weight Models

[edit]

Mistral 7B

[edit]

Mistral 7B is a 7.3B parameter language model using the transformers architecture. Officially released on September 27, 2023, via a BitTorrent magnet link,[24] and Hugging Face.[25] The model was released under the Apache 2.0 license. The release blog post claimed the model outperforms LLaMA 2 13B on all benchmarks tested, and is on par with LLaMA 34B on many benchmarks tested.[26]

Mistral 7B uses grouped-query attention (GQA), which is a variant of the standard attention mechanism. Instead of computing attention over all the hidden states, it computes attention over groups of hidden states.[27]

Both a base model and "instruct" model were released with the latter receiving additional tuning to follow chat-style prompts. The fine-tuned model is only intended for demonstration purposes, and does not have guardrails or moderation built-in.[26]

Mixtral 8x7B

[edit]

Much like Mistral's first model, Mixtral 8x7B was released via a BitTorrent link posted on Twitter on December 9, 2023,[3] and later Hugging Face and a blog post were released two days later.[20]

Unlike the previous Mistral model, Mixtral 8x7B uses a sparse mixture of experts architecture. The model has 8 distinct groups of "experts", giving the model a total of 46.7B usable parameters.[28][29] Each single token can only use 12.9B parameters, therefore giving the speed and cost that a 12.9B parameter model would incur.[20]

Mistral AI's testing shows the model beats both LLaMA 70B, and GPT-3.5 in most benchmarks.[30]

In March 2024, research conducted by Patronus AI comparing performance of LLMs on a 100-question test with prompts to generate text from books protected under U.S. copyright law found that Open AI's GPT-4, Mixtral, Meta AI's LLaMA-2, and Anthropic's Claude2 generated copyrighted text verbatim in 44%, 22%, 10%, and 8% of responses respectively.[31][32]

Mixtral 8x22B

[edit]

Similar to Mistral's previous open models, Mixtral 8x22B was released via a BitTorrent link on Twitter on April 10, 2024,[33] with a release on Hugging Face soon after.[34] The model uses an architecture similar to that of Mistral 8x7B, but with each expert having 22 billion parameters instead of 7. In total, the model contains 141 billion parameters, as some parameters are shared among the experts.[34]

Mistral Large 2

[edit]

Mistral Large 2 was announced on July 24, 2024, and released on Hugging Face. Unlike the previous Mistral Large, this version was released with open weights. It is available for free with a Mistral Research Licence, and with a commercial licence for commercial purposes. Mistral AI claims that it is fluent in dozens of languages, including many programming languages. The model has 123 billion parameters and a context length of 128,000 tokens. Its performance in benchmarks is competitive with Llama 3.1 405B, particularly in programming-related tasks.[35][36]

Codestral 22B

[edit]

Codestral is Mistral's first code focused open weight model. Codestral was launched on 29 May 2024. It is a lightweight model specifically built for code generation tasks. As of its release date, this model surpasses Meta's Llama3 70B and DeepSeek Coder 33B (78.2% - 91.6%), another code-focused model on the HumanEval FIM benchmark.[37] Mistral claims Codestral is fluent in more than 80 Programming languages[38] Codestral has its own license which forbids the usage of Codestral for Commercial purposes.[39]

Mathstral 7B

Mathstral 7B is a model with 7 billion parameters released by Mistral AI on July 16, 2024. It focuses on STEM subjects, achieving a score of 56.6% on the MATH benchmark and 63.47% on the MMLU benchmark.[40] The model was produced in collaboration with Project Numina,[41] and was released under the Apache 2.0 License. It has a context length of 32k tokens.[40]

Codestral Mamba 7B

Codestral Mamba is based on the Mamba 2 architecture, which allows it to generate responses even with longer input.[41] Unlike Codestral, it was released under the Apache 2.0 license. While previous releases often included both the base model and the instruct version, only the instruct version of Codestral Mamba was released.[42]

API-Only Models

[edit]

Unlike Mistral 7B, Mixtral 8x7B and Mixtral 8x22B, the following models are closed-source and only available through the Mistral API.[43]

Mistral Large

[edit]

Mistral Large was launched on February 26, 2024, and Mistral claims it is second in the world only to OpenAI's GPT-4.

It is fluent in English, French, Spanish, German, and Italian, with Mistral claiming understanding of both grammar and cultural context, and provides coding capabilities. As of early 2024, it is Mistral's flagship AI.[44] It is also available on Microsoft Azure.

In July 2024, Mistral Large 2 was released, replacing the original Mistral Large.[45] Unlike the original model, it was released with open weights.[36]

Mistral Medium

[edit]

Mistral Medium is trained in various languages including English, French, Italian, German, Spanish and code with a score of 8.6 on MT-Bench.[46] It is ranked in performance above Claude and below GPT-4 on the LMSys ELO Arena benchmark.[47]

The number of parameters, and architecture of Mistral Medium is not known as Mistral has not published public information about it.

Mistral Small

[edit]

Like the Large model, Small was launched on February 26, 2024. It is intended to be a light-weight model for low latency, with better performance than Mixtral 8x7B.[48]

References

[edit]
  1. ^ "France's unicorn start-up Mistral AI embodies its artificial intelligence hopes". Le Monde.fr. 2023-12-12. Retrieved 2023-12-16.
  2. ^ Journal, Sam Schechner | Photographs by Edouard Jacquinet for The Wall Street. "The 9-Month-Old AI Startup Challenging Silicon Valley's Giants". WSJ. Retrieved 2024-03-31.
  3. ^ a b "Buzzy Startup Just Dumps AI Model That Beats GPT-3.5 Into a Torrent Link". Gizmodo. 2023-12-12. Retrieved 2023-12-16.
  4. ^ "Bringing open AI models to the frontier". Mistral AI. 27 September 2023. Retrieved 4 January 2024.
  5. ^ Metz, Cade (10 December 2023). "Mistral, French A.I. Start-Up, Is Valued at $2 Billion in Funding Round". The New York Times.
  6. ^ Fink, Charlie. "This Week In XR: Epic Triumphs Over Google, Mistral AI Raises $415 Million, $56.5 Million For Essential AI". Forbes. Retrieved 2023-12-16.
  7. ^ "A French AI start-up may have commenced an AI revolution, silently". Hindustan Times. December 12, 2023.
  8. ^ "French AI start-up Mistral secures €2bn valuation". ft.com Financial Times.
  9. ^ Kharpal, Arjun (2024-05-24). "CEOs of AI startups backed by Microsoft and Amazon are the new tech rockstars". CNBC. Retrieved 2024-06-13.
  10. ^ "Tripling Down on Mistral AI | General Catalyst". www.generalcatalyst.com. Retrieved 2024-06-13.
  11. ^ "Open-weight models and Mistral AI Large Language Models". docs.mistral.ai. Retrieved 2024-01-04.
  12. ^ "Endpoints and Mistral AI Large Language Models". docs.mistral.ai.
  13. ^ "Endpoints and benchmarks | Mistral AI Large Language Models". docs.mistral.ai. Retrieved 2024-03-06.
  14. ^ Bratton, Laura (2024-06-12). "OpenAI's French rival Mistral AI is now worth $6 billion. That's still a fraction of its top competitors". Quartz (publication). Retrieved 2024-06-13.
  15. ^ Webb, Maria (2024-01-02). "Mistral AI: Exploring Europe's Latest Tech Unicorn". techopedia.com. Retrieved 2024-06-13.
  16. ^ "Spotlight Interview: Mistral AI CEO Arthur Mensch". The French Tech Journal. 24 June 2024.
  17. ^ "France's unicorn start-up Mistral AI embodies its artificial intelligence hopes". Le Monde.fr. 12 December 2023.
  18. ^ Journal, Sam Schechner | Photographs by Edouard Jacquinet for The Wall Street. "The 9-Month-Old AI Startup Challenging Silicon Valley's Giants". WSJ. Retrieved 2024-03-31.
  19. ^ "Mistral lève 385 M€ et devient une licorne française - le Monde Informatique". 11 December 2023.
  20. ^ a b c "Mixtral of experts". mistral.ai. 2023-12-11. Retrieved 2024-01-04.
  21. ^ Bableshwar (2024-02-26). "Mistral Large, Mistral AI's flagship LLM, debuts on Azure AI Models-as-a-Service". techcommunity.microsoft.com. Retrieved 2024-02-26.
  22. ^ "Mistral Releases Latest Open Source Model, Mixtral 8x22B". Pure AI. 17 April 2024.
  23. ^ "Mistral in talks to raise €500mn at €5bn valuation". www.ft.com. Retrieved 2024-04-19.
  24. ^ Goldman, Sharon (2023-12-08). "Mistral AI bucks release trend by dropping torrent link to new open source LLM". VentureBeat. Retrieved 2024-01-04.
  25. ^ Coldewey, Devin (27 September 2023). "Mistral AI makes its first large language model free for everyone". TechCrunch. Retrieved 4 January 2024.
  26. ^ a b "Mistral 7B". mistral.ai. Mistral AI. 27 September 2023. Retrieved 4 January 2024.
  27. ^ Jiang, Albert Q.; Sablayrolles, Alexandre; Mensch, Arthur; Bamford, Chris; Chaplot, Devendra Singh; Casas, Diego de las; Bressand, Florian; Lengyel, Gianna; Lample, Guillaume (2023-10-10). "Mistral 7B". arXiv:2310.06825v1 [cs.CL].
  28. ^ "Mixture of Experts Explained". huggingface.co. Retrieved 2024-01-04.
  29. ^ Marie, Benjamin (2023-12-15). "Mixtral-8x7B: Understanding and Running the Sparse Mixture of Experts". Medium. Retrieved 2024-01-04.
  30. ^ Franzen, Carl (2023-12-11). "Mistral shocks AI community as latest open source model eclipses GPT-3.5 performance". VentureBeat. Retrieved 2024-01-04.
  31. ^ Field, Hayden (March 6, 2024). "Researchers tested leading AI models for copyright infringement using popular books, and GPT-4 performed worst". CNBC. Retrieved March 6, 2024.
  32. ^ "Introducing CopyrightCatcher, the first Copyright Detection API for LLMs". Patronus AI. March 6, 2024. Retrieved March 6, 2024.
  33. ^ @MistralAI (April 10, 2024). "Torrent" (Tweet) – via Twitter.
  34. ^ a b "mistralai/Mixtral-8x22B-v0.1 · Hugging Face". huggingface.co. Retrieved 2024-05-05.
  35. ^ AI, Mistral (2024-07-24). "Large Enough". mistral.ai. Retrieved 2024-07-24.
  36. ^ a b "mistralai/Mistral-Large-Instruct-2407 · Hugging Face". huggingface.co. Retrieved 2024-08-24.
  37. ^ AI, Mistral (2024-05-29). "Codestral: Hello, World!". mistral.ai. Retrieved 2024-05-30.
  38. ^ Sharma, Shubham (2024-05-29). "Mistral announces Codestral, its first programming focused AI model". VentureBeat. Retrieved 2024-05-30.
  39. ^ Wiggers, Kyle (2024-05-29). "Mistral releases Codestral, its first generative AI model for code". TechCrunch. Retrieved 2024-05-30.
  40. ^ a b AI, Mistral (2024-07-16). "MathΣtral". mistral.ai. Retrieved 2024-07-16.
  41. ^ a b David, Emilia (2024-07-16). "Mistral releases Codestral Mamba for faster, longer code generation". VentureBeat. Retrieved 2024-07-17.
  42. ^ AI, Mistral (2024-07-16). "Codestral Mamba". mistral.ai. Retrieved 2024-07-16.
  43. ^ "Pricing and rate limits | Mistral AI Large Language Models". docs.mistral.ai. Retrieved 2024-01-22.
  44. ^ AI, Mistral (2024-02-26). "Au Large". mistral.ai. Retrieved 2024-03-06.
  45. ^ "Models | Mistral AI Large Language Models". docs.mistral.ai. Retrieved 2024-08-24.
  46. ^ AI, Mistral (2023-12-11). "La plateforme". mistral.ai. Retrieved 2024-01-22.
  47. ^ "LMSys Chatbot Arena Leaderboard - a Hugging Face Space by lmsys". huggingface.co. Retrieved 2024-01-22.
  48. ^ AI, Mistral (2024-02-26). "Au Large". mistral.ai. Retrieved 2024-03-06.
[edit]