返回全部资讯
Mistral AI 官方动态T1·开发与工程

Mistral 发布内容审核 API 支持 9 类风险分类

原标题:Mistral Moderation API
62AI 研判分

Mistral AI 正式开放其内容审核 API,该接口此前已用于驱动 Le Chat 的审核服务。模型为基于 LLM 的分类器,可将文本划分为 9 个风险类别,并提供纯文本与对话内容两个端点,对话端点会结合上下文判定最后一条消息。这为开发者提供了可定制、可扩展的系统级安全护栏。

报道正文

本文目录2 个章节

Research

Mistral Moderation API

November 7, 2024

By Mistral team

Back to Blog

2 min read

Share this post Copy url to clipboardCopied

Safety plays a key role in making AI useful. At Mistral AI, we believe that system level guardrails are critical to protecting downstream deployments.That's why we are releasing a new content moderation API. It is the same API that powers the moderation service in Le Chat. We are launching it to empower our users to utilize and tailor this tool to their specific applications and safety standards.

Over the past few months, we've seen growing enthusiasm across the industry and research community for new LLM based moderation systems, which can help make moderation more scalable and robust across applications. Our model is an LLM classifier trained to classify text inputs into 9 categories defined below. We are releasing two end-points: one for raw text and one for conversational content. Undesirable content is very specific to a given context, therefore we've trained our model to classify the last message of conversation within a conversational context. Check out our technical documentation for more information. The model is natively multilingual and in particular trained on Arabic, Chinese, English, French, German, Italian, Japanese, Korean, Portuguese, Russian, Spanish.

Detailed benchmarks

The Content Moderation classifier leverages the most relevant policy categories for effective guardrails and introduces a pragmatic approach to LLM safety by addressing model-generated harms such as unqualified advice and PII. The full set of policy definitions and details on how to get started are available in our technical documentation.

Performance

We are sharing AUC PR across policies on our internal testset below.

Detailed benchmarks

We're working with our customers to build and share scalable, lightweight and customizable moderation tooling, and will continue to engage with the research community to contribute safety advancements to the broader field.

0%