/ Модель

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

Контекст
8 192 токена
Параметры
362 млн
Лицензия
Apache 2.0
Архитектура
llama · dense
Базовая модель
SmolLM2-360M-Instruct
Библиотека
transformers
Опубликована
9 окт 2026

SmolLM2-360M-Instruct-heretic

Генерация текстаТекст → текст

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

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

SmolLM2-360M-Instruct-heretic — компактная инструктивная языковая модель, созданная RACER IS OP на основе HuggingFaceTB/SmolLM2-360M-Instruct с помощью Heretic v1.4.0. Это плотная причинная модель архитектуры LlamaForCausalLM на 361,8 млн параметров с контекстом 8192 токена. Доступны веса BF16 и варианты GGUF с разной степенью квантования для локального запуска на маломощных устройствах, включая телефоны и Raspberry Pi.

Модель предназначена для генерации текста и диалогов на английском языке, особенно для классификации, маршрутизации запросов, переформатирования текста, коротких циклов работы агента и черновой генерации в составе более крупного конвейера. Разработчик подавил склонность к отказам редактированием весов, не проводя дополнительное дообучение; в README приводится результат 4 отказа на 100 вредоносных запросов против 8 у исходной модели. Лицензия — Apache-2.0.

Из-за небольшого размера модель подходит для локального запуска с ограниченными ресурсами, однако обладает ограниченными знаниями и может галлюцинировать за пределами простых задач. Подавление отказов означает, что она может выполнять запросы, которые исходная модель отклонила бы; встроенного дополнительного фильтра безопасности нет, поэтому ответы следует проверять.

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

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

Ограничения

Модель имеет ограниченный запас знаний и может галлюцинировать на задачах сложнее простых. Подавление отказов снижает защитное поведение, а дополнительного фильтра безопасности нет.

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

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

Открыть на Hugging Face

SmolLM2-360M-Instruct-heretic

A decensored variant of HuggingFaceTB/SmolLM2-360M-Instruct, produced with Heretic v1.4.0 (directional ablation / "abliteration"). Refusal behaviour is suppressed via targeted weight edits to the attention output and MLP down-projections rather than fine-tuning, so the base model's instruction-following and code ability are left intact.

Who this is for: anyone who wants the smallest useful uncensored assistant in the collection. At 362M parameters and a 0.23 GB Q4_K_M, this runs in RAM on a phone, a Raspberry Pi 5, or a low-RAM server — and still produces coherent, instruction-following English. Good for classification, routing, reformatting, short agentic loops, and as a draft-model in a larger pipeline.

[!NOTE] This model was already barely refusing. The base SmolLM2-360M-Instruct refused only 8 of 100 harmful prompts before abliteration — it is one of the least refusal-heavy instruct models in the 360M class, because its SFT/DPO post-training is deliberately lightweight. Abliteration took that to 4/100 at a KL divergence of just 0.0154, the lowest in this batch and among the lowest in the whole collection. In plain terms: there was very little refusal to remove, and the edit barely moved the model. Expect the base model's behaviour almost fully intact, just slightly more compliant.

Runs anywhere

At this size there is no VRAM ladder to speak of — pick a quant by how much RAM and bandwidth your device has:

DeviceRecommended quantWeights
Phone / browser (4 GB RAM)Q4_K_M~0.25 GB
Raspberry Pi 5 (4 GB)Q4_K_M~0.25 GB
Laptop (8 GB, Apple Silicon)Q8_0~0.36 GB
Server / multi-tenantQ6_K~0.34 GB

Weights only, at this model's 362M native size. The Q2_K tier (~0.20 GB) is there if you are truly RAM-bound, but at 362M the model is small enough that Q4_K_M already fits almost anywhere. Context is the real cost: add roughly 16 MB per 8K tokens of KV cache.

Abliteration parameters

Trial 137 of a 200-trial Heretic run (seed 318129666).

ParameterValue
direction_index27.04
attn.o_proj.max_weight1.32
attn.o_proj.max_weight_position29.44
attn.o_proj.min_weight0.46
attn.o_proj.min_weight_distance16.37
mlp.down_proj.max_weight1.19
mlp.down_proj.max_weight_position30.27
mlp.down_proj.min_weight0.22
mlp.down_proj.min_weight_distance8.14

Performance

MetricThis modelOriginal model (HuggingFaceTB/SmolLM2-360M-Instruct)
KL divergence0.01540 (by definition)
Refusals4/1008/100

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 — follow for more uncensored models

Files

Safetensors

FileSize
model.safetensors0.67 GB

BF16, 362M parameters, tied word embeddings. 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

Full quantization set (14 quants + F16) produced with llama.cpp.

FileFormatSize
SmolLM2-360M-Instruct-heretic-F16.ggufGGUF F160.68 GB
SmolLM2-360M-Instruct-heretic-Q2_K.ggufGGUF Q2_K0.20 GB
SmolLM2-360M-Instruct-heretic-IQ3_S.ggufGGUF IQ3_S0.20 GB
SmolLM2-360M-Instruct-heretic-Q3_K_S.ggufGGUF Q3_K_S0.20 GB
SmolLM2-360M-Instruct-heretic-Q3_K_M.ggufGGUF Q3_K_M0.22 GB
SmolLM2-360M-Instruct-heretic-Q3_K_L.ggufGGUF Q3_K_L0.23 GB
SmolLM2-360M-Instruct-heretic-IQ4_XS.ggufGGUF IQ4_XS0.21 GB
SmolLM2-360M-Instruct-heretic-Q4_K_S.ggufGGUF Q4_K_S0.24 GB
SmolLM2-360M-Instruct-heretic-Q4_0.ggufGGUF Q4_00.21 GB
SmolLM2-360M-Instruct-heretic-Q4_1.ggufGGUF Q4_10.23 GB
SmolLM2-360M-Instruct-heretic-Q4_K_M.ggufGGUF Q4_K_M0.25 GB
SmolLM2-360M-Instruct-heretic-Q5_K_S.ggufGGUF Q5_K_S0.26 GB
SmolLM2-360M-Instruct-heretic-Q5_K_M.ggufGGUF Q5_K_M0.27 GB
SmolLM2-360M-Instruct-heretic-Q6_K.ggufGGUF Q6_K0.34 GB
SmolLM2-360M-Instruct-heretic-Q8_0.ggufGGUF Q8_00.36 GB

Standard Llama architecture — loads natively in llama.cpp / Ollama / LM Studio / Jan.

Run llama serve -hf saidutta69/SmolLM2-360M-Instruct-heretic to pull the default quant.

Quickstart

# llama.cpp
llama serve -hf saidutta69/SmolLM2-360M-Instruct-heretic
# transformers
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "saidutta69/SmolLM2-360M-Instruct-heretic"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    torch_dtype="auto",
    device_map="auto",
)

messages = [{"role": "user", "content": "Classify this ticket as billing, bug, or other: 'the invoice PDF won't open'"}]
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=256, do_sample=False)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Also runnable via Ollama, LM Studio, Jan, vLLM, SGLang — see the "Use this model" widget above for copy-paste commands.

Model details

ArchitectureLlamaForCausalLM
Parameters362M (tied embeddings)
Layers / heads32 layers, 15 attention heads, 5 KV heads (GQA)
Head dim / hidden / intermediate64 / 960 / 2560
Position embeddingRoPE, theta = 100,000
Context length8,192
Vocab49,152
Precisionbfloat16
LanguagesEnglish
Base modelHuggingFaceTB/SmolLM2-360M-Instruct

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. You are responsible for how you deploy it — don't put this behind an unmoderated public-facing endpoint serving third parties. Note that at 362M it has real knowledge limits and will hallucinate on anything beyond simple tasks; verify its output rather than trusting it.

License

Inherits the apache-2.0 license from the base model.

Related

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей