Zum Inhalt springen

Cohere Release Notes

Einträge
68
Quellen
1
Zuletzt aktualisiert

Folge Cohere, um die Release Notes in deinen Feed zu holen.

Cohere

Command R7B Arabic: auf Arabisch optimiertes Modell

Cohere veröffentlicht Command R7B Arabic (c4ai-command-r7b-12-2024), ein offenes Modell mit 8 Milliarden Parametern und 128.000 Tokens Kontext, optimiert für Arabisch (MSA) und Englisch.

Cohere is thrilled to announce the release of Command R7B Arabic (c4ai-command-r7b-12-2024). This is an open weights release of an advanced, 8-billion parameter custom model optimized for the Arabic language (MSA dialect), in addition to English. As with Cohere's other command models, this one comes with context length of 128,000 tokens; it excels at a number of critical enterprise tasks -- instruction following, length control, retrieval-augmented generation (RAG), minimizing code-switching -- and it demonstrates excellent general purpose knowledge and understanding of the Arabic language and culture.

Try Command R7B Arabic

If you want to try Command R7B Arabic, it's very easy: you can use it through the Cohere playground or in our dedicated Hugging Face Space.

Alternatively, you can use the model in your own code. To do that, first install the transformers library from its source repository:

pip install 'git+https://github.com/huggingface/transformers.git'

Then, use this Python snippet to run a simple text-generation task with the model:

from transformers import AutoTokenizer, AutoModelForCausalLM

model_id = "CohereForAI/c4ai-command-r7b-12-2024"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id) …

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Cohere-Modelle über das OpenAI SDK mit der Compatibility API

Mit der neuen Compatibility API lassen sich Cohere-Modelle über das OpenAI SDK nutzen, inklusive Chat Completions mit Function Calling und Structured Outputs sowie Text Embeddings.

Today, we are releasing our Compatibility API, enabling developers to seamlessly use Cohere's models via OpenAI's SDK.

This API enables you to switch your existing OpenAI-based applications to use Cohere's models without major refactoring.

It includes comprehensive support for chat completions, such as function calling and structured outputs, as well as support for text embeddings generation.

Check out our documentation on how to get started with the Compatibility API, with examples in Python, TypeScript, and cURL.

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Cohere Rerank v3.5 jetzt auf Azure AI Foundry verfügbar

Das im Dezember 2024 veröffentlichte Modell Rerank v3.5, bisher über die Cohere API verfügbar, kann nun auch über Microsoft Azure AI Foundry genutzt werden.

In December 2024, Cohere released Rerank v3.5 model. It demonstrates SOTA performance on multilingual retrieval, reasoning, and tasks in domains as varied as finance, eCommerce, hospitality, project management, and email/messaging retrieval.

This model has been available through the Cohere API, but today we’re pleased to announce that it can also be utilized through Microsoft Azure's AI Foundry!

You can find more information about using Cohere’s embedding models on AI Foundry in the Cohere on the Microsoft Azure Platform section.

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Classify mit Standard-Embed-Modellen wird eingestellt

Ab dem 31. Januar 2025 wird die Nutzung des Classify-Endpunkts mit Standard-Embed-Modellen eingestellt, während feinabgestimmte Embed-Modelle weiterhin unterstützt werden.

Effective January 31st, 2025, we are deprecating the use of default Embed models with the Classify endpoint.

This deprecation does not affect usage of the Classify endpoint with fine-tuned Embed models. Fine-tuned models continue to be fully supported and are recommended for achieving optimal classification performance.

For guidance on implementing Classify with fine-tuned models, please refer to our Classify fine-tuning documentation.

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Multimodale Embedding-Modelle von Cohere jetzt auf Amazon Bedrock

Die Embedding-Modelle von Cohere, die Bilder und Text verarbeiten können, sind nun zusätzlich über Amazon Bedrock verfügbar.

In October, Cohere updated our embeddings models to be able to process images in addition to text.

These enhanced models have been available through the Cohere API, but today we’re pleased to announce that they can also be utilized through the powerful Amazon Bedrock cloud computing platform!

You can find more information about using Cohere’s embedding models on Bedrock in the Cohere Models on Amazon Bedrock section.

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Aya Expanse jetzt auf WhatsApp verfügbar

Das mehrsprachige Modell Aya Expanse, optimiert für 23 Sprachen, lässt sich nun direkt über WhatsApp nutzen, mit allen Aya-Funktionen in der App.

Aya Expanse is a multilingual large language model that is designed to expand the number of languages covered by generative AI. It is optimized to perform well in 23 languages, including Arabic, Chinese (simplified & traditional), Czech, Dutch, English, French, German, Greek, Hebrew, Russian, Spanish, and more.

Now, you can talk to Aya Expanse directly in the popular messaging service WhatsApp! All of Aya's functionality is avaible through the app, and you can find more details in the Aya Family of Models section.

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Command R7B veröffentlicht

Cohere veröffentlicht Command R7B, das kleinste und schnellste Modell der R-Familie mit 128K Kontextfenster, verfügbar auf der Cohere Platform, HuggingFace und im SDK als command-r7b-12-2024.

We're thrilled to announce the release of Command R7B, the smallest, fastest, and final model in our R family of enterprise-focused large language models (LLMs). With a context window of 128K, Command R7B offers state-of-the-art performance across a variety of real-world tasks, and is designed for use cases in which speed, cost, and compute are important. Specifically, Command R7B is excellent for retrieval-augmented generation, tool use, and agentic applications where complex reasoning, multiple actions, and information-seeking are important for success.

Command R7B is available today on the Cohere Platform as well as accessible on HuggingFace, or you can access it in the SDK with command-r7b-12-2024. For more information, check out our dedicated blog post.

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Rerank v3.5 mit neuer Rerank API V2

Rerank 3.5 bietet 4096 Kontextlänge und starke Leistung bei mehrsprachiger Suche, und die neue Rerank API V2 macht model zur Pflicht, ersetzt max_chunks_per_doc durch max_tokens_per_doc und entfernt Objektlisten für documents.

We're pleased to announce the release of Rerank 3.5 our newest and most performant foundational model for ranking. Rerank 3.5 has a context length of 4096, SOTA performance on Multilingual Retrieval tasks and Reasoning Capabilities. In addition, Rerank 3.5 has SOTA performance on BEIR and domains such as Finance, E-commerce, Hospitality, Project Management, and Email/Messaging Retrieval tasks.

In the rest of these release notes, we’ll provide more details about changes to the api.

Technical Details

API Changes

Along with the model, we are releasing V2 of the Rerank API. It includes the following major changes:

  • model is now a required parameter
  • max_chunks_per_doc has been replaced by max_tokens_per_doc; max_tokens_per_doc will determine the maximum amount of tokens a document can have before truncation. The default value for max_tokens_per_doc is 4096.
  • support for passing a list of objects for the documents parameter has been removed - if your documents contain structured data, for best performance we recommend formatting them as YAML strings.

Example request

POST https://api.cohere.ai/v2/rerank
{
    "model": "rerank-v3.5",
    "query": "What is the capital of the United States?",
    "top_n": 3,
    "documents": ["Carson City is the capital city of the American state of Nevada.", …

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Structured Outputs für Tool Use in der Chat API

In der Chat API stellt der Parameter strict_tools bei Wert true sicher, dass Tool-Aufrufe exakt dem vorgegebenen Tool-Schema folgen.

Today, we're pleased to announce that we have added Structured Outputs support for tool use in the Chat API.

In addition to supporting Structured Outputs with JSON generation via the response_format parameter, Structured Outputs will be available with Tools as well via the strict_tools parameter.

Setting strict_tools to true ensures that tool calls will follow the provided tool schema exactly. This means the tool calls are guaranteed to adhere to the tool names, parameter names, parameter data types, and required parameters, without the risk of hallucinations.

See the Structured Outputs documentation to learn more.

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Embed v3.0 Modelle sind jetzt multimodal

Die embed-v3.0-Modelle können nun auch Bilder in Embeddings umwandeln, über den neuen input_type image und den Parameter images, wobei Bilder base64-kodiert, höchstens 5 MB groß und einzeln pro Anfrage zu senden sind.

Today we’re announcing updates to our embed-v3.0 family of models. These models now have the ability to process images into embeddings. There is no change to existing text capabilities which means there is no need to re-embed texts you have already processed with our embed-v3.0 models.

In the rest of these release notes, we’ll provide more details about technical enhancements, new features, and new pricing.

Technical Details

API Changes

The Embed API has two major changes:

  • Introduced a new input_type called image
  • Introduced a new parameter called images

Example request on how to process

POST https://api.cohere.ai/v1/embed
{
    "model": "embed-multilingual-v3.0",
    "input_type": "image",
    "embedding_types": ["float"],
    "images": [enc_img]
}

Restrictions

  • The API only accepts images in the base format of the following: png, jpeg,Webp, and gif
  • Image embeddings currently does not support batching so the max images sent per request is 1
  • The maximum image sizez is 5mb
  • The images parameter only accepts a base64 encoded image formatted as a Data Url

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Fine-Tuning für Command R 08-2024 verfügbar

Command R 08-2024 lässt sich nun feinabstimmen, mit Unterstützung für 16384 Kontextlänge im Training und MultiLoRA sowie Weights-&-Biases-Integration zur Echtzeit-Verfolgung von Experimenten.

Today, we're pleased to announce that fine-tuning is now available for Command R 08-2024!

We're also introducing other chat fine-tuning features:

  • Support for 16384 context lengths (up from 8192) for fine-tuning training and MultiLoRA.
  • Integration with Weights & Biases for tracking fine-tuning experiments in real time.

See the Chat fine-tuning documentation to learn more about creating a fine-tuned model.

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Neue V2-APIs für Chat, Classify, Embed und Rerank

Cohere veröffentlicht V2 der Chat-, Classify-, Embed- und Rerank-APIs mit Pflichtparameter model, vereinheitlichtem messages-Array in Chat und neuen SDK-Versionen mit cohere.ClientV2.

We're excited to introduce improvements to our Chat, Classify, Embed, and Rerank APIs in a major version upgrade, making it easier and faster to build with Cohere. We are also releasing new versions of our Python, TypeScript, Java, and Go SDKs which feature cohere.ClientV2 for access to the new API.

New at a glance

  • V2 Chat, Classify, Embed, and Rerank: model is a required parameter
  • V2 Embed: embedding_types is a required parameter
  • V2 Chat: Message and chat history are combined in a single messages array
  • V2 Chat: Tools are defined in JSON schema
  • V2 Chat: Introduces tool_call_ids to match tool calls with tool results
  • V2 Chat: documentssupports a list of strings or a list of objects with document metadata
  • V2 Chat streaming: Uses server-sent events

Other updates

We are simplifying the Chat API by removing support for the following parameters available in V1:

  • search_queries_only, which generates only a search query given a user’s message input. search_queries_only is not supported in the V2 Chat API today, but will be supported at a later date. …

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Aktualisierte Command R und R+ Modelle jetzt auf Azure

Die im August aktualisierten Modelle Command R und Command R+ sind nun auf der Azure-Cloud-Plattform verfügbar.

You'll recall that we released refreshed models of Command R and Command R+ in August.

Today, we're pleased to announce that these models are available on the Azure cloud computing platform!

You can find more information about using Cohere's Command models on Azure here.

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Command R und R+ mit August-Update

Die aktualisierten Modelle command-r-08-2024 und command-r-plus-08-2024 bieten bessere Leistung, etwa 50 % höheren Durchsatz und geringere Latenz sowie verbesserte Tool-Entscheidungen und Instruktionsbefolgung.

Today we’re announcing updates to our flagship generative AI model series: Command R and Command R+. These models demonstrate improved performance on a variety of tasks.

The latest model versions are designated with timestamps, as follows:

  • The updated Command R is command-r-08-2024 on the API.
  • The updated Command R+ is command-r-plus-08-2024 on the API.

In the rest of these release notes, we’ll provide more details about technical enhancements, new features, and new pricing.

Technical Details

command-r-08-2024 shows improved performance for multilingual retrieval-augmented generation (RAG) and tool use. More broadly, command-r-08-2024 is better at math, code and reasoning and is competitive with the previous version of the larger Command R+ model.

command-r-08-2024 delivers around 50% higher throughput and 20% lower latencies as compared to the previous Command R version, while cutting the hardware footprint required to serve the model by half. Similarly, command-r-plus-08-2024 delivers roughly 50% higher throughput and 25% lower latencies as compared to the previous Command R+ version, while keeping the hardware footprint the same.

Both models include the following feature improvements:

  • For tool use, command-r-08-2024 and command-r-plus-08-2024 have demonstrated improved decision-making around which tool to use in which context, and whether or not to use a tool.
  • Improved instruction following in the preamble. …

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

JSON-Objekt-Ausgabeformat in der Chat API erzwingen

Über den Parameter response_format in der Chat API lässt sich für command-nightly die Ausgabe als JSON-Objekt erzwingen, optional mit eigenem JSON-Schema, in allen Cohere-SDKs.

Users can now force command-nightlyto generate outputs in JSON objects by setting the response_format parameter in the Chat API. Users can also specify a JSON schema for the output.

This feature is available across all of Cohere's SDKs (Python, Typescript, Java, Go).

Example request for forcing JSON response format:

POST https://api.cohere.ai/v1/chat
{
    "message": "Generate a JSON that represents a person, with name and age",
    "model": "command-nightly",
    "response_format": {
        "type": "json_object"
    }
}

Example request for forcing JSON response format in user defined schema:

POST https://api.cohere.ai/v1/chat
{
    "message": "Generate a JSON that represents a person, with name and age",
    "model": "command-nightly",
    "response_format": {
        "type": "json_object",
        "schema": {
            "type": "object",
            "required": ["name", "age"],
            "properties": {
                "name": { "type": "string" },
                "age": { "type": "integer" }
            }
        }
    }
}

Currently only compatible with `command-nightly model.

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Release Notes 10. Juni 2024: Multi-step Tool Use jetzt Standard

Tool Use in der Chat API ist nun standardmäßig mehrstufig, und neue Dokumentationsleitfäden wie zum seed-Parameter für vorhersagbare Ausgaben wurden veröffentlicht.

Multi-step tool use now default in Chat API

Tool use is a technique which allows developers to connect Cohere's Command family of models to external tools like search engines, APIs, functions, databases, etc. It comes in two variants, single-step and multi-step, both of which are available through Cohere's Chat API.

As of today, tool use will now be multi-step by default. Here are some resources to help you get started:

  • Check out our multi-step tool use guide.
  • Experiment with multi-step tool use with this notebook.

We've published additional docs

Cohere's models and functionality are always improving, and we've recently dropped the following guides to help you make full use of our offering:

  • Predictable outputs - Information about the seed parameter has been added, giving you more control over the predictability of the text generated by Cohere models. …

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Rerank 3 veröffentlicht

Rerank 3 bietet 4096 Kontextlänge und starke Leistung bei Code-Suche, langen Dokumenten und semistrukturierten Daten, bei 2x höherer Geschwindigkeit für kurze und 3x für lange Dokumente.

We're pleased to announce the release of Rerank 3 our newest and most performant foundational model for ranking. Rerank 3 boast a context length of 4096, SOTA performance on Code Retrieval, Long Document, and Semi-Structured Data. In addition to quality improvements, we've improved inference speed by a factor of 2x for short documents (doc length < 512 tokens) and 3x for long documents (doc length ~4096 tokens).

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Cohere Python SDK Version 5.2.0

Im Python SDK 5.2.0 nutzen tokenize und detokenize standardmäßig einen lokalen Tokenizer (ohne token_strings, per offline=False abschaltbar), und model ist nun ein Pflichtfeld.

We've released an additional update for our Python SDK! Here are the highlights.

  • The tokenize and detokenize functions in the Python SDK now default to using a local tokenizer.
  • When using the local tokenizer, the response will not include token_strings, but users can revert to using the hosted tokenizer by specifying offline=False.
  • Also, model will now be a required field.
  • For more information, see the guide for tokens and tokenizers.

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Command R: Retrieval-Augmented Generation im großen Maßstab

Cohere stellt Command R vor, ein auf RAG, Tool Use und Produktivbetrieb optimiertes LLM mit 128k Kontext, niedriger Latenz, hohem Durchsatz, Unterstützung für 10 Sprachen und Modellgewichten auf HuggingFace.

Today, we are introducing Command R, a new LLM aimed at large-scale production workloads. Command R targets the emerging “scalable” category of models that balance high efficiency with strong accuracy, enabling companies to move beyond proof of concept, and into production.

Command R is a generative model optimized for long context tasks such as retrieval-augmented generation (RAG) and using external APIs and tools. It is designed to work in concert with our industry-leading Embed and Rerank models to provide best-in-class integration for RAG applications and excel at enterprise use cases. As a model built for companies to implement at scale, Command R boasts:

  • Strong accuracy on RAG and Tool Use
  • Low latency, and high throughput
  • Longer 128k context and lower pricing
  • Strong capabilities across 10 key languages
  • Model weights available on HuggingFace for research and evaluation

For more information, check out the official blog post or the Command R documentation.

Originalquelle(öffnet in neuem Tab)Problem melden

Cohere

Fine-tuning im Python SDK hinzugefügt

Im Python SDK ersetzt fine_tuning nun custom_models, die unterstützten Funktionen sind im verlinkten GitHub-Repository aufgelistet.

In place of custom_models, fine_tuning has been added to the Python SDK. See this Python github repository for the full list of supported functions!

Originalquelle(öffnet in neuem Tab)Problem melden