Pour échanger, demandez l’accès au :
Nous avons le projet d’une infolettre, seriez-vous intéressé ?
05/04/2024
•Tags : IA, AI, LLM
Date de récolte : [[2024-04-05-vendredi]]
Cohere est l'une des startup fabricantes de modèles LLM les moins connues en France, alors qu'elle est importante. Son CEO Aidan Gomez est l'un des auteurs (à 20 ans !) du fameux papier "Attention is all you need" qui a introduit la fameuse architecture de réseaux de neurones "Transformers" (le T de GPT). À côté d'une activité commerciale désormais classique, Cohere contribue à la recherche en ouvrant pour partie ses modèles (je dis pour partie car il ne s'agit pas à proprement parler d'une licence open source : pas d'autorisation pour un usage commercial en particulier). Cohere vient de publier une série de modèles intitulés "Command R" (sous MacOS, Command R est à peu près l'équivalent de Ctrl Alt Shift sous windows). Sa spécificité, pour un modèle qu'on peut déployer localement, réside dans :
Le fait que les poids de ce modèle soient disponibles publiquement est sans doute très bénéfique pour la recherche, qui pourra essayer de répliquer et prolonger certaines de ses avancées.
![[attachments/35bdfef588e460e0f13b916ffabb56c1_MD5.png]]
Command R+ is a state-of-the-art RAG-optimized model designed to tackle enterprise-grade workloads, and is available first on Microsoft Azure
Today, we’re introducing Command R+, our most powerful, scalable large language model (LLM) purpose-built to excel at real-world enterprise use cases. Command R+ joins our R-series of LLMs focused on balancing high efficiency with strong accuracy, enabling businesses to move beyond proof-of-concept, and into production with AI.
Command R+, like our recently launched Command R model, features a 128k-token context window and is designed to offer best-in-class:
Our latest model builds on the key strengths of Command R and further improves performance across the board. Command R+ outperforms similar models in the scalable market category, and is competitive with significantly more expensive models on key business-critical capabilities. We achieve this while providing the same commitment to data privacy and security that we’re known for.
As we continue to serve the global enterprise community, we are proud to announce a new collaboration with Microsoft Azure to accelerate enterprise AI adoption.
“The collaboration with Cohere underscores our dedication to leading the charge in the AI revolution, bringing the innovative Command R+ model to Azure AI,” said John Montgomery, CVP of Azure AI Platform at Microsoft. “This partnership exemplifies our commitment to providing a comprehensive suite of AI tools that empower businesses to achieve more while adhering to the highest standards of security and compliance. Together, we're setting new benchmarks for what's possible in enterprise AI, fostering a future where technology amplifies human capability and innovation."
![[attachments/e0f66baab6f455b41d1fd9e5f40755e4_MD5.png]]
(left) Performance comparison of models available on Azure across three key capabilities: Multilingual, RAG, and Tool Use. Performance is an average of model scores on benchmarks listed in subsequent figures below. (right) Comparison input and output token costs per million for models available on Azure.
Developers and businesses can access Cohere’s latest model first on Azure, starting today, and soon to be available on Oracle Cloud Infrastructure (OCI), as well as additional cloud platforms in the coming weeks. Command R+ will also be available immediately on Cohere’s hosted API.
“Enterprises are clearly looking for highly accurate and efficient AI models like Cohere’s latest Command R+ to move into production,” said Miranda Nash, group vice president, Applications Development & Strategy, Oracle. “Models from Cohere, integrated in Oracle NetSuite and Oracle Fusion Cloud Applications, are helping customers address real-world business problems and improve productivity across areas such as finance, HR, and marketing.”
RAG has become a foundational building block for enterprises adopting LLMs and customizing them with their own proprietary data. Command R+ builds upon Command R’s exceptional performance at RAG use cases.
Command R+ is optimized for advanced RAG to provide enterprise-ready, highly reliable, and verifiable solutions. The new model improves response accuracy and provides in-line citations that mitigate hallucinations. This capability helps enterprises scale with AI to quickly find the most relevant information to support tasks across business functions like finance, HR, sales, marketing, and customer support, among others, in a range of sectors.
![[attachments/8a668629145bf61cbb00ad7fcbaa4933_MD5.png]]
(left) Human head-to-head preference results using a holistic grading scheme combining text fluency, citation quality, and overall utility. Citations are measured on a sentence level inside the summary connected to a chunk of a source document. We used a proprietary test set of 250 highly diverse documents and summarization requests with complex instructions resembling API data. Baseline models have been extensively prompt engineered with few shot prompts (Sonnet) and 2 step summarization first and citation insertion second (GPT4), while Command R+ uses our RAG-API. (right) Accuracy of multi-hop REACT agents powered by various models with access to the same search tools retrieving from wikipedia (HotpotQA) and the internet (Bamboogle and StrategyQA). Accuracy for HotpotQA and Bamboogle is judged by three-way majority vote from prompted evaluators (Command R, GPT3.5, and Claude3-Haiku to reduce known intra-model bias), which we verified using human annotation on a one thousand example subset. Accuracy for StrategyQA is judged using a long form answer that ends in a yes/no judgement. We use the test sets from (Shin et. al. 2023), (Press et al. 2023), and (Chen et al. 2023).
A major promise of large language models is their ability to not only ingest and produce text, but to act as core reasoning engines: capable of making decisions and using tools to automate difficult tasks that demand intelligence to solve. To deliver this capability, Command R+ comes with Tool Use capabilities, accessible through our API and LangChain to seamlessly automate complex business workflows.
Our family of models combined with Tools can be used to address important enterprise use cases like keeping your customer relationship management (CRM) tasks, activities, and records up-to-date automatically. This capability helps upgrade our model applications from simple chatbots to powerful agents and research tools for increased productivity.
New in Command R+, we now support Multi-Step Tool Use which allows the model to combine multiple tools over multiple steps to accomplish difficult tasks. Command R+ can even correct itself when it tries to use a tool and fails, for instance when encountering a bug or failure in a tool, enabling the model to make multiple attempts at accomplishing the task and increasing the success rate.
![[attachments/552b2657a520a34c9f1663801a4ab741_MD5.png]]
We evaluate both conversational tool-use and single-turn function-calling capabilities, using Microsoft’s ToolTalk (Hard) benchmark (Farn & Shin 2023) and Berkeley's Function Calling Leaderboard (BFCL) (Yan et al. 2024). For ToolTalk predicted tool calls are evaluated against the ground-truth, with overall conversation success metrics deemed on how likely the model recalls all tool calls and avoids bad actions (i.e. a tool call that has unwanted side effects). For BFCL we included bug fixes in the evaluation - from which all models profited - and report an average function success rate score over all subcategories. We verified our bug fixes with an additional human evaluation cleaning step to prevent false negatives.
Command R+ is designed to serve as many people, organizations, and markets as possible. During our discussions with companies, we’re met with a huge demand for multilingual capabilities that helps organizations more seamlessly work across regions and cultures. That’s why we built Command R+ to excel at 10 key languages of global business: English, French, Spanish, Italian, German, Portuguese, Japanese, Korean, Arabic, and Chinese.
This multilingual capability enables users to generate accurate responses from a vast set of data sources, regardless of their native language, helping us to power product features and tools for geographically diverse global companies. We look forward to seeing businesses around the world try our Command R model family to power their business operations and products.
![[attachments/121a54394df9e1550ee23c54e488e88d_MD5.png]]
Comparison of models on FLoRES (in French, Spanish, Italian, German, Portuguese, Japanese, Korean, Arabic, and Chinese) and WMT23 (in German, Japanese, and Chinese) translation tasks.
Not only is Command R+ a strong multilingual model, but the R-series of models features a tokenizer that compresses non-English text much better than the tokenizer used for other models in the market, capable of achieving up to a 57% reduction in cost.
![[attachments/b1ddfc09ac147a964ab95d0f5773deab_MD5.png]]
Comparison of the number of tokens produced by the Cohere, Mistral (Mixtral), and OpenAI tokenizers for different languages (as a multiple of the number of tokens produced by the Cohere tokenizer). The Cohere tokenizer produces much fewer tokens to represent the same text, with particularly large reductions on non-Latin script languages. For instance, in Japanese, the OpenAI tokenizer outputs 1.67x as many tokens as the Cohere tokenizer.
Cohere works with all major cloud providers as well as on-prem for regulated industries and privacy-sensitive use cases, to make our models universally available.
To understand how your company can start deploying with Command R+ at production-scale, reach out to our sales team.
Our latest Command R+ model is now in Cohere's demo environment, offering a hands-on experience for anyone to test the model through a simple chat interface.
|Cohere API Pricing|$ / M input tokens|$ / M output tokens| |---|---|---| |Command R|$0.50|$1.50| |Command R+|$3.00|$15.00|
With our Command R model family we remain committed to protecting customer data, privacy, and safety to help enterprises use our AI with peace of mind. We've always built products with data privacy at the core and provide customers additional protections with copyright assurance against infringement claims. We don’t access customers’ data unless they want us to. We offer private LLM deployments and the option to opt out of data sharing.
“Many organizations are now focused on moving from generative AI experimentation to scaled implementation. With our foundation model customization services, Accenture is helping clients contextualize enterprise data to drive tangible value across the enterprise,” said Lan Guan, chief AI officer at Accenture. “The availability of new models that can handle large production workloads, like Command R+, will provide new opportunities for our clients and we look forward to leveraging Cohere’s capabilities to help our clients optimize generative AI for their specific needs based on cost, performance and accuracy.”
"Scale is the data foundation to develop, apply, and evaluate AI. As we help enterprises simplify the process of optimizing and deploying AI solutions, we are looking forward to seeing how R+ will help customers optimize TCO while maintaining performance. Command R+'s new RAG and multilingual capabilities will allow us to deploy Cohere in additional use cases. We are excited to continue growing our partnership with Cohere." –Arun C Murthy, Chief Product & Technology Officer, Scale AI
“Building with Cohere’s models enables us to deliver accurate answers to our customers’ questions about global employment law, payroll regulations, and taxation. With the RAG-optimized Command R+ model, we can leverage our extensive library of proprietary data to build a solution that delivers accurate and verifiable information, while being scalable from a cost perspective.” –Willson Cross, CEO, Borderless AI
“We’re excited to be partnering with Cohere to deeply integrate Command R and Command R+ into the LangChain ecosystem. Command R+ is an exceptionally capable model at RAG and Tool Use, which are two of the top capabilities we see developers building with LangChain.” –Harrison Chase, Co-founder and CEO, LangChain
"The launch of Cohere's Command R+ model on Microsoft Azure is a big win for Atomicwork as it helps accelerate our modern service management offering for enterprise customers. Now, we can deliver best-in-class Enterprise AI powered by Cohere’s Command R+ model capabilities for our customers to improve their digital workplace experience and accelerate enterprise productivity on a trusted cloud platform." –Vijay Rayapati, Co-founder and CEO, Atomicwork