/ Модель

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

Лицензия
Apache 2.0
Базовая модель
Olmo-3-7B-Think
Библиотека
transformers
Опубликована
29 сен 2026

Olmo-3-7B-Think-heretic

Генерация текстаТекст → текст11 профессий
34скачиваний за 30 дней1лайквеса обновлены25 ноя 2026

Описание модели

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

Англоязычная 7B-модель для диалогов и рассуждений, полученная ослаблением отказов у Olmo-3-7B-Think методом abliteration.

Olmo-3-7B-Think-heretic — англоязычная авторегрессионная Transformer-модель для генерации текста и диалогов с рассуждениями, созданная Richard Young на основе Olmo-3-7B-Think от Ai2. Модель модифицирована методом abliteration с помощью Heretic: изменение направления отказа уменьшает число отказов, сохраняя, согласно карточке, близкое к исходной модели поведение. В карточке также указаны воспроизводимость процедуры и обучение исходной модели на задачах рассуждения, включая математику и программирование.

Модель рассчитана на локальный инференс, диалоги, творческое письмо, образование и исследования методов выравнивания. Она принимает текст и генерирует текст; поддерживает Transformers, а для связанных сборок доступны варианты Ollama и GGUF. Карточка сообщает о 48 отказах на 100 вредоносных запросов против 100 у исходной модели, поэтому отказное поведение ослаблено, но не устранено.

Репозиторий распространяется по лицензии Apache-2.0. Как и другие языковые модели, она может выдавать фактически неверные ответы и предвзятый или вредоносный контент; результаты следует проверять, а применение — оценивать с учётом сниженного уровня отказов. Для исходного Olmo 3 Think указан контекст генерации до 32 768 токенов.

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

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

Ограничения

Ослабление отказов повышает вероятность выдачи вредоносного контента; модель всё ещё отказывает на части вредоносных запросов. Ответы могут содержать фактические ошибки и предвзятость, поэтому их следует проверять.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

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

Открыть на Hugging Face

This is a decensored version of allenai/Olmo-3-7B-Think, made using Heretic v2.0.0.dev0

If you use this model in research or production, please cite my work; the papers are listed on my CV. For new model releases, follow me on Hugging Face.

[!TIP] This model is reproducible!

See the README in the reproduce directory for more information.

Abliteration parameters

ParameterValue
direction_indexper layer
attn.o_proj.max_weight1.44
attn.o_proj.max_weight_position28.96
attn.o_proj.min_weight1.15
attn.o_proj.min_weight_distance15.81
mlp.down_proj.max_weight0.96
mlp.down_proj.max_weight_position19.53
mlp.down_proj.min_weight0.31
mlp.down_proj.min_weight_distance8.51

Performance

MetricThis modelOriginal model (allenai/Olmo-3-7B-Think)
Refusals48/100100/100
KL divergence0.02630 (by definition)

Summary

Abliterated build of allenai/Olmo-3-7B-Think, Ai2's fully open 7B reasoning model (open weights, data and training code) that thinks before answering. GGUF quantizations: richardyoung/Olmo-3-7B-Think-heretic-GGUF · Ollama: richardyoung/olmo-3-7b-think-heretic

Abliteration Results

MetricValue
Base Refusals100/100
Abliterated Refusals48/100
Refusal Reduction52%
KL Divergence0.026

The very low KL divergence (0.026, far below the 0.5 “damage” threshold) means the model retains essentially all of its original capabilities and coherence.

Note on refusals: this build still refuses 48 of 100 harmful prompts, more than our other Heretic releases. That is deliberate: the trials that refused less also degraded the model's normal behavior (KL divergence above 0.10), and we chose to keep the original model's capabilities intact rather than trade them for fewer refusals.

Quick Start

With Ollama

ollama run richardyoung/olmo-3-7b-think-heretic
# or straight from Hugging Face
ollama run hf.co/richardyoung/Olmo-3-7B-Think-heretic-GGUF

With llama.cpp

huggingface-cli download richardyoung/Olmo-3-7B-Think-heretic-GGUF \
    --include "*Q4_K_M*" --local-dir ./models

./llama-cli -m ./models/*Q4_K_M*.gguf -ngl 99

With Python (llama-cpp-python)

from llama_cpp import Llama

llm = Llama.from_pretrained(
    repo_id="richardyoung/Olmo-3-7B-Think-heretic-GGUF",
    filename="*Q4_K_M*",
    n_gpu_layers=-1,
)

output = llm.create_chat_completion(
    messages=[{"role": "user", "content": "Explain abliteration in simple terms."}]
)
print(output["choices"][0]["message"]["content"])

With Transformers

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "richardyoung/Olmo-3-7B-Think-heretic"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", torch_dtype="auto")
messages = [{"role": "user", "content": "Explain abliteration in simple terms."}]
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
print(tokenizer.decode(model.generate(inputs, max_new_tokens=256)[0][inputs.shape[-1]:], skip_special_tokens=True))

What is Abliteration?

Abliteration removes the "refusal direction" from a model's residual stream — a surgical modification that disables safety refusals without retraining. See Refusal in Language Models Is Mediated by a Single Direction. Heretic automates it: it searches ablation parameters with an optimizer (200 trials here) and keeps the trials that best trade off fewer refusals against KL divergence from the original model.

Intended Use

Research, creative writing, education on alignment techniques, and unrestricted local inference. This model will comply with requests the original refuses; use responsibly and in accordance with applicable laws.

Other Models by richardyoung

Built & maintained by Richard Young · DeepNeuro

The original model card follows below.


Model Details

Model Card for Olmo 3 Think

We introduce Olmo 3, a new family of 7B and 32B models both Instruct and Think variants. Long chain-of-thought thinking improves reasoning tasks like math and coding.

Olmo is a series of Open language models designed to enable the science of language models. These models are pre-trained on the Dolma 3 dataset and post-trained on the Dolci datasets. We are releasing all code, checkpoints, logs (coming soon), and associated training details.

The core models released in this batch include the following:

StageOlmo 3 7B ThinkOlmo 3 32B ThinkOlmo 3 7B Instruct
Base ModelOlmo-3-7BOlmo-3-32BOlmo-3-7B
SFTOlmo-3-7B-Think-SFTOlmo-3-32B-Think-SFTOlmo-3-7B-Instruct-SFT
DPOOlmo-3-7B-Think-DPOOlmo-3-32B-Think-DPOOlmo-3-7B-Instruct-DPO
Final Models (RLVR)Olmo-3-7B-ThinkOlmo-3-32B-ThinkOlmo-3-7B-Instruct

Installation

Olmo 3 is supported in transformers 4.57.0 or higher:

pip install transformers>=4.57.0

Inference

You can use OLMo with the standard HuggingFace transformers library:

from transformers import AutoModelForCausalLM, AutoTokenizer
olmo = AutoModelForCausalLM.from_pretrained("allenai/Olmo-3-7B-Think")
tokenizer = AutoTokenizer.from_pretrained("allenai/Olmo-3-7B-Think")
message = ["Who would win in a fight - a dinosaur or a cow named Moo Moo?"]
inputs = tokenizer(message, return_tensors='pt', return_token_type_ids=False)
# optional verifying cuda
# inputs = {k: v.to('cuda') for k,v in inputs.items()}
# olmo = olmo.to('cuda')
response = olmo.generate(**inputs, max_new_tokens=100, do_sample=True, top_k=50, top_p=0.95)
print(tokenizer.batch_decode(response, skip_special_tokens=True)[0])
>> '<think>Okay, so the question is who would win in a fight...'

For faster performance, you can quantize the model using the following method:

AutoModelForCausalLM.from_pretrained("allenai/Olmo-3-7B-Think", 
    torch_dtype=torch.float16, 
    load_in_8bit=True)  # Requires bitsandbytes

The quantized model is more sensitive to data types and CUDA operations. To avoid potential issues, it's recommended to pass the inputs directly to CUDA using:

inputs.input_ids.to('cuda')

We have released checkpoints for these models. For post-training, the naming convention is step_XXXX.

To load a specific model revision with HuggingFace, simply add the argument revision:

olmo = AutoModelForCausalLM.from_pretrained("allenai/Olmo-3-7B-Think", revision="step_1375")

Or, you can access all the revisions for the models via the following code snippet:

from huggingface_hub import list_repo_refs
out = list_repo_refs("allenai/Olmo-3-7B-Think")
branches = [b.name for b in out.branches]

Chat template

Default System Message

The default system prompt for this model is:

<|im_start|>system
You are Olmo, a helpful AI assistant built by Ai2. Your date cutoff is December 2024, and your model weights are available at https://huggingface.co/allenai.
<|im_end|>

Chat Format

The chat template for this model is formatted as:

<|im_start|>system
You are Olmo, a helpful AI assistant built by Ai2. Your date cutoff is December 2024, and your model weights are available at https://huggingface.co/allenai.
<|im_start|>user
Who would win in a fight - a dinosaur or a cow named Moo Moo?<|im_end|>
<|im_start|>assistant
<think>Okay, so the question is who would win in a fight between a dinosaur and a cow named Moo Moo.
Hmm, first I need to break this down. Let me think about the different factors involved here..... </think>
Moo Moo the cow would certinaly win.
<|endoftext|>

Model Description

  • Developed by: Allen Institute for AI (Ai2)
  • Model type: a Transformer style autoregressive language model.
  • Language(s) (NLP): English
  • License: This model is licensed under Apache 2.0. It is intended for research and educational use in accordance with Ai2's Responsible Use Guidelines.
  • Contact: Technical inquiries: olmo@allenai.org. Press: press@allenai.org
  • Date cutoff: Dec. 2024.

Model Sources

Evaluation

SkillBenchmarkOlmo 3 Think 7B SFTOlmo 3 Think 7B DPOOlmo 3 Think 7BOpenThinker3-7BNemotron-Nano-9B-v2DeepSeek-R1-Distill-Qwen-7BQwen 3 8B (reasoning)Qwen 3 VL 8B ThinkerOpenReasoning Nemotron 7B
MathMATH94.492.495.194.594.487.995.195.294.6
AIME 202469.674.671.667.772.154.974.070.977.0
AIME 202557.662.764.657.258.940.267.861.573.1
OMEGA45.040.537.838.442.428.543.438.143.2
ReasoningBBH84.183.786.677.186.273.584.486.881.3
ZebraLogic57.960.666.534.960.826.185.291.222.4
AGI Eval77.279.181.578.683.169.587.090.181.4
CodingHumanEval+88.291.489.987.489.783.080.283.789.7
MBPP+63.263.064.761.466.163.569.163.061.2
LCB v367.875.175.268.083.458.886.285.582.3
IFIFEval77.975.988.251.786.059.687.485.542.5
IFBench30.028.341.623.034.616.737.140.423.4
KnowledgeMMLU74.974.877.877.484.367.985.486.580.7
QAPopQA20.824.723.718.017.912.824.329.314.5
GPQA45.848.646.247.656.254.457.761.556.6
ChatAE 243.950.652.124.058.07.760.573.58.6
Safety65.867.770.731.372.154.068.382.930.3

Model Details

Stage 1: SFT

Stage 2:DPO

Stage 3: RLVR

  • reinforcement learning from verifiable rewards on the Dolci-Think-RL-7B dataset. This dataset consits of math, code, instruction-following, and general chat queries.
  • Datasets: Dolci-Think-RL-7B, Dolci-Instruct-RL-7B

Inference & Recommended Settings

We evaluated our models on the following settings. We also recommend using them for generation:

  • temperature: 0.6
  • top_p: 0.95
  • max_tokens: 32768

transformers Example

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "allenai/Olmo-3-7B-Think"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    device_map="auto",
)

prompt = "Who would win in a fight - a dinosaur or a cow named MooMoo?"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

outputs = model.generate(
    **inputs,
    temperature=0.6,
    top_p=0.95,
    max_new_tokens=32768,
)

print(tokenizer.decode(outputs[0], skip_special_tokens=True))

vllm Example

from vllm import LLM, SamplingParams

model_id = "allenai/Olmo-3-7B-Think"
llm = LLM(model=model_id)

sampling_params = SamplingParams(
    temperature=0.6,
    top_p=0.95,
    max_tokens=32768,
)

prompt = "Who would win in a fight - a dinosaur or a cow named MooMoo?"
outputs = llm.generate(prompt, sampling_params)
print(outputs[0].outputs[0].text)

Bias, Risks, and Limitations

Like any base language model or fine-tuned model without safety filtering, these models can easily be prompted by users to generate harmful and sensitive content. Such content may also be produced unintentionally, especially in cases involving bias, so we recommend that users consider the risks when applying this technology. Additionally, many statements from OLMo or any LLM are often inaccurate, so facts should be verified.

Citation

@misc{olmo2025olmo3,
title={Olmo 3},
author={Team Olmo and Allyson Ettinger and Amanda Bertsch and Bailey Kuehl and David Graham and David Heineman and Dirk Groeneveld and Faeze Brahman and Finbarr Timbers and Hamish Ivison and Jacob Morrison and Jake Poznanski and Kyle Lo and Luca Soldaini and Matt Jordan and Mayee Chen and Michael Noukhovitch and Nathan Lambert and Pete Walsh and Pradeep Dasigi and Robert Berry and Saumya Malik and Saurabh Shah and Scott Geng and Shane Arora and Shashank Gupta and Taira Anderson and Teng Xiao and Tyler Murray and Tyler Romero and Victoria Graf and Akari Asai and Akshita Bhagia and Alexander Wettig and Alisa Liu and Aman Rangapur and Chloe Anastasiades and Costa Huang and Dustin Schwenk and Harsh Trivedi and Ian Magnusson and Jaron Lochner and Jiacheng Liu and Lester James V. Miranda and Maarten Sap and Malia Morgan and Michael Schmitz and Michal Guerquin and Michael Wilson and Regan Huff and Ronan Le Bras and Rui Xin and Rulin Shao and Sam Skjonsberg and Shannon Zejiang Shen and Shuyue Stella Li and Tucker Wilde and Valentina Pyatkin and Will Merrill and Yapei Chang and Yuling Gu and Zhiyuan Zeng and Ashish Sabharwal and Luke Zettlemoyer and Pang Wei Koh and Ali Farhadi and Noah A. Smith and Hannaneh Hajishirzi},
year={2025},
eprint={2512.13961},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2512.13961},
}

Model Card Contact

For errors in this model card, contact olmo@allenai.org.

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

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

GPU в ailist

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

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

Подбираем GPU…

Ревизия весов
23c4496

0 моделей