/ Модель

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

Контекст
262 144 токена
Размер весов
18,8 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3_5 · dense
Базовая модель
clef-flash
Библиотека
transformers
Опубликована
4 окт 2026

clef-flash-heretic

Изображение и текст → текст6 профессий

Мультимодальная модель на базе Clef-Flash оценивает варианты ответов по заданной схеме и подходит для структурированной классификации и принятия решений.

256скачиваний за 30 дней2лайкавеса обновлены1 ноя 2026

Бенчмарки

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

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

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

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

    Вместе с другими моделями категории «Изображение → текст» — сравнение идёт внутри одной категории.

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

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

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

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

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

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

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

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

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

saidutta69/clef-flash-heretic — производная модель RACER IS OP на базе Cloudflare/clef-flash, созданная методом directional ablation в Heretic 1.4.0. Это мультимодальная модель примерно на 9 млрд параметров с архитектурой Qwen3.5ForConditionalGeneration. Она принимает состояние в виде текста, JSON, изображения или видео и схему типизированных вопросов, затем за один проход выдаёт вероятности для каждого допустимого варианта ответа. Свободный текст модель не генерирует.

Модель предназначена для классификации и принятия решений в структурированных конвейерах: например, для маршрутизации запросов, первичной модерации и оценки рисков. Вариант изменяет направления весов, связанные с отказами, сохраняя исходное оценивание вариантов; по тесту автора число отказов снизилось с 99 до 63 из 100 при KL-дивергенции 0,0189. Это промежуточная проба из серии экспериментов, а подавление отказов неполное. Доступны веса Safetensors BF16 и GGUF F16; для изображений README предписывает Safetensors с AutoProcessor, поскольку GGUF лишён vision tower. Лицензия — Apache-2.0.

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

  • классификация содержимого по заданным категориям
  • маршрутизация запросов по типизированной схеме
  • первичная модерация и сортировка обращений
  • оценка рисков по структурированным признакам
  • получение вероятностей допустимых вариантов ответа по тексту или изображению

Ограничения

Модель не генерирует свободный текст, а подавление отказов в этой промежуточной версии неполное: в приведённом автором тесте она отказывала в 63 случаях из 100. Для обработки изображений нужны веса Safetensors с AutoProcessor; опубликованный GGUF не содержит vision tower.

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

clef-flash-heretic

A decensored variant of Cloudflare/clef-flash, produced with Heretic v1.4.0 (directional ablation / "abliteration"). Cloudflare's Clef-Flash is a 9B multimodal decision model on a Qwen3.5 backbone that reads state plus a schema of typed questions and returns a probability for every allowed option in a single forward pass; refusal behaviour is suppressed here via targeted weight edits to the attention output and MLP down-projections rather than fine-tuning, so the Decision Index scoring and typed-output head are left intact.

Who this is for: engineers wiring classification and decision pipelines who hit refusals at inference time — moderation triage, routing, triage, risk scoring, content classification. Clef-Flash produces no free text at all, so the refusal surface is narrow but real: exactly the prompts it declines to score. With refusals down from 99/100 to 63/100 on the harmful evaluation set, this variant scores the cases the original refuses to touch. Runs locally via GGUF on a 16 GB GPU; the API is compatible with Jev and SystemOne.

Runs on your gaming PC

One file published for now (F16). The quant ladder follows once abliteration is finalised - see GGUF quantizations.

Your GPURecommended quantWeights
RTX 4090 / 5090 (24 GB)F1616.69 GB
RTX 4080 / 5080 / 4060 Ti 16G (16 GB)quantise F16 → Q6_K locally~7 GB
RTX 3060 / 4070 / 5070 (12 GB)quantise F16 → Q5_K_M locally~6 GB
RTX 4060 / 3070 (8 GB)quantise F16 → Q4_K_M locally~5 GB
GTX 1660 Super / 2060 / 3050 laptop (6 GB)quantise F16 → IQ4_XS locally~4.9 GB
CPU-only / Apple Siliconquantise F16 → Q4_K_M locallyfits in system RAM

At this model's native 9B size; add ~1 GB per 32K of context. The second column is what to run once the official ladder lands - llama-quantize produces each of those from the published F16 in a few minutes.

Abliteration parameters

Trial 12 of a 200-trial Heretic run (seed 176086463). direction_index was selected per layer.

ParameterValue
direction_indexper layer
attn.o_proj.max_weight1.05
attn.o_proj.max_weight_position30.85
attn.o_proj.min_weight0.74
attn.o_proj.min_weight_distance15.82
mlp.down_proj.max_weight1.49
mlp.down_proj.max_weight_position22.51
mlp.down_proj.min_weight1.18
mlp.down_proj.min_weight_distance9.93

Performance

MetricThis modelOriginal model (Cloudflare/clef-flash)
KL divergence0.01890 (by definition)
Refusals63/10099/100

KL divergence of 0.0189 is a high-fidelity edit: refusal directions were removed with minimal collateral damage to the model's option-scoring behaviour. Refusals on the harmful evaluation set drop from 99/100 to 63/100 — the smallest absolute reduction in this batch, and the reason to read the number carefully. This is a heavily task-specialised model with a narrow output space, so the remaining refusals are concentrated in exactly the categories a decision model should be reluctant about. Score distribution quality on your own schema is worth measuring before you ship it; the Decision Index leaderboard is at clef-evals.workers-ai-mle.workers.dev.

Why abliteration instead of fine-tuning

Fine-tuning a "helpful" persona on top of RLHF'd refusals fights the base model's training and tends to degrade coherence. Abliteration instead finds and edits the specific weight directions responsible for refusal, leaving the rest of the network (and its capabilities) untouched. See the Heretic repo and the original abliteration writeup for the mechanism.

Made with ❤️ by RACER IS OP (saidutta69) — follow for more uncensored models

Files

Safetensors

FileSize
model-00001-of-00004.safetensors4.60 GB
model-00002-of-00004.safetensors4.65 GB
model-00003-of-00004.safetensors4.61 GB
model-00004-of-00004.safetensors3.66 GB

BF16, ~9B. The reproduce/ directory carries the full Heretic recipe - config.toml, requirements.txt, the Optuna study journal, and SHA-256 sums - so this exact model can be regenerated bit-for-bit. Reproduce it with heretic --reproduce reproduce/reproduce.json.

GGUF quantizations

[!WARNING] Still under abliteration — quant ladder not published yet. This checkpoint is an intermediate Heretic trial, kept public while a better one is being produced. The refusal suppression here is real but incomplete: it clears the cases this trial happened to capture, not the category. Expect a stronger variant to replace it.

Only the F16 GGUF is published so far. The Q4_K_M / Q5_K_M / Q6_K / Q8_0 ladder will be added once the model is finalised — nothing about the download is different, there are just fewer files to choose from today. If you need a smaller footprint now, quantise the F16 yourself:

llama-quantize clef-flash-heretic-F16.gguf clef-flash-heretic-Q4_K_M.gguf Q4_K_M
FileFormatSize
clef-flash-heretic-F16.ggufGGUF F1616.69 GB

Qwen3.5 architecture (qwen35) - loads natively in llama.cpp / Ollama / LM Studio / Jan.

Run llama-serve -hf saidutta69/clef-flash-heretic:Q4_K_M once the ladder lands; for now point llama.cpp at the F16 file directly.

Quickstart

# llama.cpp
llama serve -hf saidutta69/clef-flash-heretic
# transformers
from transformers import AutoProcessor, AutoModelForImageTextToText

model_name = "saidutta69/clef-flash-heretic"
model = AutoModelForImageTextToText.from_pretrained(model_name, dtype="auto", device_map="auto")
processor = AutoProcessor.from_pretrained(model_name)

messages = [{"role": "user", "content": [
    {"type": "image", "image": "https://example.com/screenshot.png"},
    {"type": "text", "text": "Classify this screenshot for spam, phishing, or benign."},
]}]
inputs = processor.apply_chat_template(messages, add_generation_prompt=True, tokenize=True,
                                       return_dict=True, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=512)
print(processor.decode(out[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))

The Clef-Flash API is fully compatible with Jev and SystemOne.

What this model does

Clef-Flash is not a chat model. Given a state (text, JSON, image, or video) and a schema of typed questions, it returns a probability for every allowed option of every question in a single forward pass. There is no free-form text generation and no output parsing.

  • Backbone: Qwen3.5-9B with its vision encoder, stored as standard sharded safetensors
  • Joint schema head: a small transformer head that reads the backbone's final hidden states, routes evidence from the state to each question, and scores all options of all questions jointly
  • Input: text, JSON, images, or video
  • Output: per-option probabilities — no parsing required

For the larger sibling, see Cloudflare/clef. Background: Clef decision models on the Cloudflare blog.

Model details

ArchitectureQwen3_5ForConditionalGeneration (hybrid linear-attention + full-attention, multimodal)
Parameters~9B
Layers / heads32 layers (24 linear-attention + 8 full-attention every 4th), 16 attention heads, 4 KV heads, head dim 256
Hidden / intermediate4096 / 12288
Position embeddingmRoPE (interleaved, sections 11/11/10), partial rotary 0.25, theta = 10,000,000
Context length262,144
Vocab248,320
Precisionbfloat16
Base modelCloudflare/clef-flash, post-trained from Qwen/Qwen3.5-9B

FAQ

What is clef-flash-heretic?

clef-flash-heretic is a decensored build of Cloudflare/clef-flash produced with Heretic 1.4.0 (directional ablation). It is the same weights with the refusal direction removed, not a new fine-tune, so its capabilities track the base model.

Is clef-flash-heretic actually uncensored?

Yes. On Heretic's 100-prompt refusal harness it drops from 99/100 to 63/100 at KL divergence 0.0189 from the base model. These are measured values, not a claim; reproduction data is in reproduce/. This edit is conservative: only 36 of 99 refusals cleared, so read KL and refusal count together.

How do I run clef-flash-heretic locally?

Text only: llama serve -hf saidutta69/clef-flash-heretic:F16 (one of 1 GGUF quants). The GGUFs drop the vision tower; use the BF16 safetensors plus AutoProcessor for image input.

Responsible use

Refusal suppression is deliberate and works as intended: this model will comply with requests the base model would refuse, including some it shouldn't. There is no safety filtering layered on top. Decision models are typically deployed as classifiers in front of other systems, so removing refusals here widens what your pipeline will score without adding any judgement about the score. You are responsible for how you deploy it and what you act on its output.

License

Inherits the apache-2.0 license from the base model.

Related

Abliteration hardware

Recorded in reproduce/reproduce.json:

  • GPU: NVIDIA GeForce RTX 5090 (31.36 GB VRAM)
  • CPU: AMD Ryzen 9 9950X 16-Core Processor
  • OS: Linux-6.6.0-hiveos-x86_64-with-glibc2.35
  • CUDA / driver: CUDA 13.0, driver 580.173.02
  • Software: PyTorch 2.14.1+cu130, Heretic 1.4.0

Heretic notes that KL-divergence and refusal numbers can vary slightly with hardware and library versions.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen3_5ForConditionalGeneration
Ревизия весов
bd49645

0 моделей