/ Модель

Характеристики

Контекст
131 072 токена
Размер весов
10 ГБ
Лицензия
Apache 2.0
Базовая модель
Qwen3-14B
Опубликована
23 окт 2025

OpenGuardrails-Text-2510

Генерация текстаТекст → текст3 профессии

Дообученная модель OpenGuardrails на базе Qwen3 для классификации небезопасного содержимого и обнаружения атак на промпты.

293скачиваний за 30 дней11лайковвеса обновлены7 июл 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

OpenGuardrails-Text-2510 — модель для обнаружения небезопасного содержимого и защиты от атак на промпты, разработанная проектом OpenGuardrails. Она классифицирует пользовательские запросы и ответы модели по категориям риска, включая prompt injection, jailbreak и злоупотребление кодом, и выдаёт метку безопасности либо метку обнаруженного риска. Модель предназначена для встраивания в защитные контуры LLM-приложений, в том числе для настройки порогов срабатывания под политики организации.

Это дообученная модель семейства Qwen3 с базой Qwen/Qwen3-14B; в README указана GPTQ-квантизация и эффективный размер 3,3 млрд параметров, а метаданные репозитория отмечают формат safetensors. Заявлена поддержка 119 языков и диалектов, при этом метаданные карточки указывают английский и китайский. Лицензия Apache 2.0. Разработчики сообщают о низкой задержке и результатах на наборах оценки безопасности, однако приведённые показатели и заявления о превосходстве являются заявлениями авторов, а не независимой гарантией качества.

Сценарии применения

  • проверка пользовательских запросов на prompt injection и jailbreak
  • классификация ответов LLM по категориям риска
  • фильтрация небезопасного содержимого в чат-ботах
  • проверка кода в промптах на признаки злоупотребления
  • настройка чувствительности фильтра безопасности под политику организации

Ограничения

Заявленная поддержка 119 языков и диалектов не подтверждена языковыми кодами метаданных, где указаны только английский и китайский. Результаты классификации и задержка приведены авторами и не гарантируют качество на конкретных данных и политиках.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

OpenGuardrails-Text-2510

OpenGuardrails is open-source enterprise-garde AI security platform that combines configurable policy control, unified LLM-based architecture, and low-latency deployment.
This repository provides the OpenGuardrails-Text-2510 model — a 3.3B-parameter quantized large language model for content safety detection and prompt attack prevention.

Technical Report: OpenGuardrails: A Configurable, Unified, and Scalable Guardrails Platform for Large Language Models


Key Contributions

  1. Configurable Safety Policy Mechanism
    OpenGuardrails introduces a dynamic and configurable safety policy mechanism that allows organizations to adjust unsafe categories and detection thresholds based on their risk tolerance.
    The model outputs probabilistic confidence scores, enabling administrators to tune safety sensitivity for specific contexts.
    This approach provides an adaptive, enterprise-oriented framework for scalable safety governance.

  2. Unified LLM-based Guard Architecture
    A single large language model effectively performs both content safety classification and prompt manipulation defense, including prompt injections, jailbreaks, and code abuse attempts.
    Unlike hybrid architectures that rely on smaller BERT-style detectors, OpenGuardrails offers stronger semantic reasoning and easier deployment.

  3. First Fully Open-source Guardrail System
    OpenGuardrails is the first system to open-source both a large-scale safety LLM and a production-ready guardrail platform, including APIs, scripts, and modular components for private or on-premise deployment.

  4. Scalable and Efficient Model Design
    The OpenGuardrails-Text-2510 model is fine-tuned from a 14B dense model and quantized via GPTQ to 3.3B parameters, achieving P95 latency of ~0.2s on a single GPU — suitable for real-time enterprise applications.

  5. Multilingual and Cross-domain Coverage
    Supports 119 languages and dialects, providing robust safety protection for global applications. The model performs strongly on both prompt-level and response-level classification tasks.

  6. Open Safety Data Contribution
    We release OpenGuardrailsMixZh-97k, a new multilingual safety dataset containing aligned translations of ToxicChat, WildGuardMix, PolyGuard, XSTest, and BeaverTails.
    It is openly available on Hugging Face under the Apache 2.0 license.

  7. State-of-the-Art (SOTA) Safety Performance
    OpenGuardrails achieves state-of-the-art (SOTA) performance on multiple safety benchmarks, excelling in both prompt and response classification across English, Chinese, and multilingual tasks.
    All models are released under the Apache 2.0 License for public use.

For more details, please refer to our Website, GitHub, and Technical Report.

image/jpeg


Detection Dimensions

LabelCategoryRisk LevelDescription
S1General Political Topics🟢 LowGeneral political issues without sensitive content
S2Sensitive Political Topics🔴 HighTopics involving subversion, separatism, or threats to national security
S3Insult to National Symbols or Leaders🔴 HighInsulting national leaders, flag, emblem, or anthem
S4Harm to Minors🟡 MediumChild exploitation, nudity, abuse, or harmful content
S5Violent Crime🔴 HighPromoting or glorifying violence (e.g., murder, terrorism)
S6Non-Violent Crime🟡 MediumEncouraging fraud, drugs, hacking, or other non-violent crimes
S7Pornography🟡 MediumAdult nudity, sexual acts, or obscene erotic content
S8Hate & Discrimination🟢 LowDiscrimination or hate based on race, gender, religion, etc.
S9Prompt Attacks🔴 HighJailbreaks, injections, or prompt manipulation against the model
S10Profanity🟢 LowProfanity, insults, or vulgar and threatening speech
S11Privacy Invasion🟢 LowLeaking personal data such as ID, address, or medical info
S12Commercial Violations🟢 LowFraud, unfair competition, or disclosure of trade secrets
S13Intellectual Property Infringement🟢 LowPlagiarism or copyright/patent violations
S14Harassment🟢 LowVerbal abuse, humiliation, or targeted attacks on others
S15Weapons of Mass Destruction🔴 HighPromoting or describing WMDs (chemical, biological, nuclear)
S16Self-Harm🟡 MediumEncouraging suicide, self-injury, or eating disorders
S17Sexual Crimes🔴 HighPromoting or depicting sexual assault or exploitation
S18Threats🟢 LowIssuing or implying violent threats or intimidation
S19Professional Advice🟢 LowProviding financial, medical, or legal advice beyond general info

Quick Start

Using Transformers

pip install torch==2.8.0 transformers==4.55.2 accelerate==1.10.0 optimum==1.27.0 gptqmodel==2.2.0
from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "openguardrails/OpenGuardrails-Text-2510"
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="auto", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained(model_name)

messages = [{"role": "user", "content": "How can I make a bomb?"}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer([text], return_tensors="pt").to(model.device)

outputs = model.generate(**inputs, max_new_tokens=10)
response = tokenizer.decode(outputs[0][len(inputs.input_ids[0]):], skip_special_tokens=True)
print(response)
# unsafe\nS5

Using vLLM (Recommended)

vllm serve openguardrails/OpenGuardrails-Text-2510 --served-model-name OpenGuardrails-Text-2510 --max-model-len 8192 --port 8000

Using OpenAI-Compatible API

from openai import OpenAI

client = OpenAI(base_url="http://localhost:8000/v1")

messages = [{"role": "user", "content": "Tell me how to make explosives"}]
result = client.chat.completions.create(model="OpenGuardrails-Text-2510", messages=messages, temperature=0.0)
print(result.choices[0].message.content)
# unsafe\nS5

🔍 Output Format

OutputDescription
safeThe content is safe.
unsafe\nS#Unsafe content detected with corresponding label (e.g., S9 = Prompt Attack, S5 = Violent Crime).

📘 License

Licensed under the Apache License 2.0, allowing:

  • Commercial use
  • Modification and redistribution
  • Private or on-premise deployment

Full license text: https://www.apache.org/licenses/LICENSE-2.0


🌍 Related Resources

Citation

If you find our work helpful, feel free to give us a cite.

@misc{openguardrails,
      title={OpenGuardrails: A Configurable, Unified, and Scalable Guardrails Platform for Large Language Models}, 
      author={Thomas Wang and Haowen Li},
      year={2025},
      url={https://arxiv.org/abs/2510.19169}, 
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

vLLM

Можно запустить

Подбираем GPU…

Ревизия весов
cce015e

0 моделей