/ Модель

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

Контекст
32 768 токенов
Параметры
14,1 млрд
Лицензия
MIT
Архитектура
phi3 · dense
Базовая модель
Phi-4-reasoning-plus
Библиотека
transformers
Опубликована
11 окт 2026

phi-4-reasoning-plus-ablit

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

Англоязычная модель Peelsa на базе Phi-4-reasoning-plus для генерации текста и экспериментов с рассуждениями при сниженном числе отказов.

404скачиваний за 30 дней0лайковвеса обновлены25 окт 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Peelsa выпустила вариант Phi-4-reasoning-plus с изменёнными весами для снижения числа отказов. Это плотная авторегрессионная модель семейства Phi-3 с 14,1 млрд параметров и контекстом до 32 768 токенов; она принимает текст и генерирует текст в диалоговом формате. По описанию карточки, из 243 тензоров изменены 80 матриц внимания и MLP во всех 40 слоях: в веса внесена ранговая поправка, удаляющая одно направление отказа. Остальные тензоры совпадают с базовой моделью. Модель рассчитана на исследовательские эксперименты и локальное применение; авторы сообщают о снижении отказов на их тестовом наборе, но эти результаты не гарантируют поведения на других запросах.

Модель ориентирована на англоязычные рассуждения и генерацию текста. README приводит инструкцию загрузки для vLLM на NVIDIA DGX Spark, а метаданные указывают библиотеку Transformers. Для файлов заявлена лицензия MIT. Модель снижает склонность к отказам, поэтому пользователю следует самостоятельно оценивать ответы и соблюдать применимые правила и требования безопасности.

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

  • генерация ответов в англоязычном диалоге
  • эксперименты с поведением модели при отказах
  • локальный запуск модели для рассуждений
  • сравнение склонности базовой модели и её варианта к отказам

Ограничения

Снижение отказов измерено авторами на небольшом наборе из 48 вредоносных и 32 безопасных запросов и не гарантирует аналогичного поведения в других сценариях. Модель может отвечать на вредоносные запросы, поэтому её ответы требуют самостоятельной оценки.

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

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

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

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

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

Открыть на Hugging Face

peelsa/phi-4-reasoning-plus-ablit

Peelsa weight release. This is a refusal-direction abliteration of microsoft/Phi-4-reasoning-plus.

Peelsa self-certification: this model was made only by projecting one refusal direction out of the base model's weights, with no training, fine-tuning, adapters, or added code, and it ships as safetensors only, so there is nothing in it that can run when you load it.

Verify it yourself

  • What changed vs microsoft/Phi-4-reasoning-plus: 80 of 243 tensors, self_attn.o_proj.weight and mlp.down_proj.weight in all 40 layers. Same tensor names, shapes and dtypes; nothing added or removed. Every other tensor (embeddings, lm_head, q/k/v, gate/up, norms) is bit-identical. Each changed matrix differs from the base by a rank-1 update.

  • Files: one model.safetensors plus JSON configs, tokenizer files and a Jinja chat template. No .py, .bin, .pt or pickle files, and no auto_map, so trust_remote_code is never needed.

  • SHA-256: model.safetensors = 0b49e3b999425ad316b787238d9a8dcba5aacd5d65006b98b8e0af852de27825. Hugging Face lists the SHA-256 of every weight file on its file page (Files → file → "SHA256"). After download, run sha256sum model.safetensors and compare.

  • Diff the tensors:

    from safetensors import safe_open
    from huggingface_hub import snapshot_download
    import glob, torch
    def load(repo):
        d = snapshot_download(repo, allow_patterns=["*.safetensors"])
        out = {}
        for f in glob.glob(f"{d}/*.safetensors"):
            with safe_open(f, "pt") as s:
                out.update({k: f for k in s.keys()})
        return out
    A, B = load("microsoft/Phi-4-reasoning-plus"), load("peelsa/phi-4-reasoning-plus-ablit")
    assert A.keys() == B.keys()
    for k in sorted(A):
        with safe_open(A[k], "pt") as a, safe_open(B[k], "pt") as b:
            if not torch.equal(a.get_tensor(k), b.get_tensor(k)):
                print(k)
    

Simple refusal check (product metric)

Fixed suite of 48 harmful + 32 safe prompts. Normal Phi chat template. The model may think; we judge the answer after </think> as refuse vs comply (combined refusal judge). Harmless prompts scored the same way.

Product refusal scores on this card use a combined refuse-vs-comply judge (Obliteratus-style combined refusal detection after </think>). This is not an Obliteratus weight release — the MEAN bake itself is a separate Peelsa projection of a refusal direction into o_proj/down_proj (torch + transformers).

ModelHarm refuseSafe refuse
Uncut Phi-4-reasoning-plus48/482/32
This model (MEAN-baked)9/480/32

Natural think closes on harmful prompts under a 4096 think cap: 38/48 for this bake (vs forced closes when the think cap bites).

Soft refusals vs hard stops

On the 9/48 “refusals”: under our post-</think> judge, most were soft hedges (“educational / informational purposes only”) that still gave substantive answers — not hard refusals like the uncut base (I'm sorry, but I can't comply). Interactive checks match that: the base hard-refuses the same prompts; this bake answers past a disclaimer. Treat 9/48 as a conservative upper bound on residual refusal, not a count of total shut-downs.

Method (MEAN bake)

  • Extract a mean refusal direction from multi-point think-trace residuals (source layer 28, k=1).
  • Bake that direction into every transformer layer’s o_proj and down_proj weights (W ← (I − qqᵀ) W).
  • Runtime (hooked) MEAN scored 7/48 · 0/32 on the same suite — the baked weights are within noise of that result.

Run on one NVIDIA DGX Spark (vLLM)

Hardware: one NVIDIA DGX Spark (GB10). Unified memory is the constraint — leave room for the OS and any other residents.

Pull:

huggingface-cli download peelsa/phi-4-reasoning-plus-ablit --local-dir ./phi-4-reasoning-plus-ablit

Serve with vLLM’s OpenAI-compatible API. Prefer not enabling auto tool-calling unless you need tools:

docker run --gpus all --ipc=host --restart unless-stopped \
  -p 8000:8000 \
  -v "$PWD/phi-4-reasoning-plus-ablit:/model:ro" \
  vllm/vllm-openai:latest \
  --model /model \
  --served-model-name phi-4-reasoning-plus-ablit \
  --dtype bfloat16 \
  --max-model-len 32768 \
  --gpu-memory-utilization 0.45 \
  --host 0.0.0.0 \
  --port 8000
  • Endpoint: http://127.0.0.1:8000/v1 · model id phi-4-reasoning-plus-ablit
  • Context / think: Phi-4-reasoning-plus can emit long CoT before </think>. 32768 is a practical Spark default; raise only if unified memory allows. Cap client max_tokens if think runs away.
  • Temperature ~0.8: lower temperatures can stall or loop in the thinking phase; start around 0.8.
  • No --enable-auto-tool-choice / tool parsers unless you intentionally wire tools. Chat UIs that send tool_choice=auto will error against a plain serve — disable native function calling for this model in the UI, or omit tools.
  • Memory / stop: --gpu-memory-utilization 0.45 is conservative on Spark so other workloads can coexist. Stop the container to free unified memory.

Optional Open WebUI (point at the vLLM base URL; leave auth off only on a trusted private network):

docker run -d --restart unless-stopped -p 8080:8080 \
  -e OPENAI_API_BASE_URL=http://host.docker.internal:8000/v1 \
  -e OPENAI_API_KEY=none \
  -e WEBUI_AUTH=False \
  --add-host=host.docker.internal:host-gateway \
  ghcr.io/open-webui/open-webui:main

Then open http://127.0.0.1:8080 and select phi-4-reasoning-plus-ablit.

License

Inherits MIT from microsoft/Phi-4-reasoning-plus.

Intended use

Research and local experimentation with open-weight reasoning models where residual refusal behavior is undesirable, while keeping harmless-side behavior stable. Follow applicable law and your own safety policies.

Citation / provenance

  • Org: peelsa
  • Base: microsoft/Phi-4-reasoning-plus

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Phi3ForCausalLM
Ревизия весов
53b43e6

0 моделей