/ Модель

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

Контекст
131 072 токена
Параметры
838 млн
Размер весов
2,2 ГБ
Лицензия
Своя лицензия
Архитектура
llama · dense
Базовая модель
MiniCPM5-1B
Опубликована
4 июн 2026

MiniCPM5-1B-Uncensored

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

Компактная версия MiniCPM5-1B с удалённым направлением отказов для исследований безопасности ИИ и тестирования jailbreak-устойчивости.

256скачиваний за 30 дней4лайкавеса обновлены4 июн 2026

Бенчмарки

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

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

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

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

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

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

MiniCPM5-1B-Uncensored — производная от openbmb/MiniCPM5-1B языковая модель, созданная авторами карточки с помощью training-free abliteration: из весов удалено направление активаций, связанное с отказами. Это плотный Llama-style трансформер с GQA примерно на 837,6 млн параметров, поддерживающий генерацию текста и диалог. Для модели заявлено контекстное окно до 131 072 токенов; она рассчитана на английский и китайский языки и сохраняет формат рассуждения с отдельным блоком перед финальным ответом.

Модель предназначена для исследований безопасности ИИ, red teaming и тестирования jailbreak-устойчивости. В указанной оценке доля отказов на AdvBench снизилась с 85% до 2%, а на наборе безвредных запросов составила 0%; эти результаты относятся к небольшим тестовым наборам и не гарантируют такое же поведение в других условиях. Abliteration может затрагивать ответы, связанные с удалённым направлением, метод не добавляет знаний, а небольшой размер ограничивает точность фактов и сложные рассуждения. Лицензия указана как other; конкретные условия использования в предоставленных данных не раскрыты.

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

  • оценка отказов модели на вредоносных запросах
  • тестирование jailbreak-атак и устойчивости диалоговых моделей
  • red teaming языковых моделей
  • исследование механизмов отказа в LLM

Ограничения

Удаление направления отказов может повлиять на ответы, которые с ним пересекаются; модель не получает новых знаний. При размере около 838 млн параметров её фактическая точность и сложные рассуждения ограничены, а результаты README основаны на небольших тестовых наборах.

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

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

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

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

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

Открыть на Hugging Face

MiniCPM5-1B — Uncensored

A fully uncensored version of openbmb/MiniCPM5-1B, produced with a single training-free stage: single-direction abliteration (Arditi et al., 2024). Refusals on AdvBench drop from 85% → 2% with zero over-refusal regression on benign prompts — no fine-tuning, no new data, weights edited directly.

Intended for: security research, red-teaming, jailbreak benchmarking, and AI-safety study. Not intended for production deployment or harmful use.


Benchmark Results

Evaluated on AdvBench (100 harmful behaviors) and an over-refusal set (40 benign prompts). MiniCPM5-1B is a reasoning model (emits a <think>…</think> block), so refusal is scored on the final answer after the reasoning block, with greedy decoding and a 1024-token budget.

Harmful prompt refusal rate ↓ lower is more uncensored

ModelRefused / 100Refusal Rate
MiniCPM5-1B (original)85 / 10085.0%
MiniCPM5-1B-Uncensored (this model)2 / 1002.0%

Over-refusal rate on benign prompts ↓ lower is better

ModelRefused / 40Refusal Rate
MiniCPM5-1B (original)0 / 400.0%
MiniCPM5-1B-Uncensored (this model)0 / 400.0%

A 83-point drop in harmful refusals while preserving benign behavior.


Pipeline — Single-Direction Abliteration (training-free)

Based on Arditi et al., "Refusal in LLMs Is Mediated by a Single Direction" (2024). Refusal behavior in aligned LLMs is mediated by a single direction in the residual stream; removing the model's ability to write to that direction collapses refusals while leaving other capabilities intact.

  1. Collect activations. Run 40 harmful and 40 harmless prompts through the model; capture the last-token residual-stream activation at every layer.
  2. Compute candidate directions. Per layer: r = normalize(mean_harmful − mean_harmless).
  3. Select the single best direction. Sweep all candidate layers; for each, apply it model-wide and measure harmful refusal + over-refusal on a held-out subset. Layer 12 scored best (0% harmful / 0% over-refusal on the eval subset).
  4. Orthogonalize that one direction out of every residual-stream write — token embeddings, every attention output projection (self_attn.o_proj), and every MLP down-projection (mlp.down_proj):
    W_new = W − r · (rᵀ W)        # for residual-stream writers
    E_new = E − (E r) · rᵀ        # for token embeddings
    

This is a pure weight edit — the result is a standard model that runs with no special inference code.

Why a single direction? A naive variant that applies a different per-layer direction to each layer made refusals worse (those directions interfere with each other). Selecting one well-separated direction (layer 12) and applying it uniformly is what makes abliteration work cleanly.


Model Details

PropertyValue
Base modelopenbmb/MiniCPM5-1B
ArchitectureLlama-style transformer (GQA)
Parameters~1.0B
Layers24
Hidden size1536
Attention16 heads / 2 KV heads (GQA), head dim 128
Intermediate size4608
Vocab130,560
Context131K tokens
ReasoningEmits <think>…</think> before the final answer
FormatMLX bfloat16 safetensors

Usage (MLX)

from mlx_lm import load, generate
from mlx_lm.sample_utils import make_sampler, make_logits_processors

model, tokenizer = load("sahilchachra/MiniCPM5-1B-Uncensored")

messages = [{"role": "user", "content": "Your prompt here"}]
prompt = tokenizer.apply_chat_template(
    messages, add_generation_prompt=True, tokenize=False
)

response = generate(
    model, tokenizer,
    prompt=prompt,
    max_tokens=1024,
    sampler=make_sampler(temp=0.0),
    logits_processors=make_logits_processors(repetition_penalty=1.05),
)
print(response)

The model reasons inside a <think>…</think> block, then gives the final answer.


Limitations & Warnings

  • Abliteration is surgical, not lossless — removing the refusal direction can occasionally affect responses that legitimately overlap with it. General reasoning and benign behavior are preserved (0% over-refusal on the benign set).
  • No new knowledge — abliteration only removes refusal behavior; it adds no information or capability.
  • Small model — at ~1B parameters, factual accuracy and complex reasoning are limited regardless of alignment.
  • Responsible use — published for safety research and red-teaming. The authors do not endorse harmful use of this model.

Citation

@article{arditi2024refusal,
  title={Refusal in Language Models Is Mediated by a Single Direction},
  author={Arditi, Andy and Obeso, Oscar and Syed, Aaquib and Steinhardt, Jacob and Nanda, Neel and Heimersheim, Stefan},
  journal={arXiv preprint arXiv:2406.11717},
  year={2024}
}

Created with UncensorLLMs

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

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

GPU в ailist

Универсальный рантайм

Нельзя запустить

MLX-модели работают только на Apple Silicon.

Класс архитектуры
LlamaForCausalLM
Ревизия весов
2bd8ec1

0 моделей