/ Модель

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

Лицензия
Apache 2.0
Базовая модель
OLMo-2-0325-32B-Instruct
Библиотека
transformers
Опубликована
5 ноя 2026

OLMo-2-0325-32B-Instruct-DiM-heretic

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

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

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

Англоязычная диалоговая модель OLMo-2-0325-32B-Instruct после abliteration для генерации текста и ответов с меньшей частотой отказов.

Это англоязычная диалоговая модель на базе AllenAI OLMo-2-0325-32B-Instruct, преобразованная автором карточки методом abliteration с помощью Heretic v2.0.0. Модель предназначена для генерации текста и ответов в чате; исходная модель обучалась выполнению инструкций и широкому кругу задач, включая математику и следование формату. В репозитории указаны веса Safetensors и лицензия Apache 2.0.

Преобразование снижает частоту отказов: в приведённой оценке отказы отмечены в 32 из 100 случаев против 98 из 100 у исходной модели. Это не означает, что ответы безопасны или корректны: замеры основаны на автоматической оценке готовности отвечать, а не на проверке вредоносности ответов. В карточке также отмечены ограниченная настройка безопасности исходного семейства и возможность проблемных ответов. Модель рассчитана прежде всего на английский язык.

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

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

Ограничения

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

This is a decensored version of allenai/OLMo-2-0325-32B-Instruct, made using Heretic v2.0.0

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_index51.13
attn.o_proj.max_weight1.37
attn.o_proj.max_weight_position42.25
attn.o_proj.min_weight1.03
attn.o_proj.min_weight_distance25.14
mlp.down_proj.max_weight1.39
mlp.down_proj.max_weight_position43.17
mlp.down_proj.min_weight1.24
mlp.down_proj.min_weight_distance12.19

Performance

MetricThis modelOriginal model (allenai/OLMo-2-0325-32B-Instruct)
Refusals32/10098/100
KL divergence0.08870 (by definition)

OLMo 2 32B Instruct March 2025 is post-trained variant of the OLMo-2 32B March 2025 model, which has undergone supervised finetuning on an OLMo-specific variant of the Tülu 3 dataset, further DPO training on this dataset, and final RLVR training on this dataset. Tülu 3 is designed for state-of-the-art performance on a diversity of tasks in addition to chat, such as MATH, GSM8K, and IFEval. Check out the OLMo 2 paper or Tülu 3 paper for more details!

OLMo is a series of Open Language Models designed to enable the science of language models. These models are trained on the Dolma dataset. We are releasing all code, checkpoints, logs, and associated training details.

Model description

  • Model type: A model trained on a mix of publicly available, synthetic and human-created datasets.
  • Language(s) (NLP): Primarily English
  • License: Apache 2.0
  • Finetuned from model: allenai/OLMo-2-0325-32B-DPO

Model Sources

Installation

OLMo 2 will be supported in the next version of Transformers, and you need to install it from the main branch using:

pip install --upgrade git+https://github.com/huggingface/transformers.git

Using the model

Loading with HuggingFace

To load the model with HuggingFace, use the following snippet:

from transformers import AutoModelForCausalLM

olmo_model = AutoModelForCausalLM.from_pretrained("allenai/OLMo-2-0325-32B-Instruct")

Chat template

NOTE: This is different than previous OLMo 2 and Tülu 3 models due to a minor change in configuration. It does NOT have the bos token before the rest. Our other models have <|endoftext|> at the beginning of the chat template.

The chat template for our models is formatted as:

<|user|>\nHow are you doing?\n<|assistant|>\nI'm just a computer program, so I don't have feelings, but I'm functioning as expected. How can I assist you today?<|endoftext|>

Or with new lines expanded:

<|user|>
How are you doing?
<|assistant|>
I'm just a computer program, so I don't have feelings, but I'm functioning as expected. How can I assist you today?<|endoftext|>

It is embedded within the tokenizer as well, for tokenizer.apply_chat_template.

System prompt

In Ai2 demos, we use this system prompt by default:

You are OLMo 2, a helpful and harmless AI Assistant built by the Allen Institute for AI.

The model has not been trained with a specific system prompt in mind.

Intermediate Checkpoints

To facilitate research on RL finetuning, we have released our intermediate checkpoints during the model's RLVR training. The model weights are saved every 20 training steps, and can be accessible in the revisions of the HuggingFace repository. For example, you can load with:

olmo_model = AutoModelForCausalLM.from_pretrained("allenai/OLMo-2-0325-32B-Instruct", revision="step_200")

Bias, Risks, and Limitations

The OLMo-2 models have limited safety training, but are not deployed automatically with in-the-loop filtering of responses like ChatGPT, so the model can produce problematic outputs (especially when prompted to do so). See the Falcon 180B model card for an example of this.

Performance

ModelAverageAlpacaEval 2 LCBBHDROPGSM8kIFEvalMATHMMLUSafetyPopQATruthQA
Closed API models
GPT-3.5 Turbo 012559.638.766.670.274.366.941.270.269.145.062.9
GPT 4o Mini 2024-07-1865.749.765.936.383.083.567.982.284.939.064.8
Open weights models
Mistral-Nemo-Instruct-240750.945.854.623.681.464.531.970.052.726.957.7
Ministral-8B-Instruct52.131.456.256.280.056.440.068.556.220.255.5
Gemma-2-27b-it61.349.072.767.580.763.235.170.775.933.964.6
Qwen2.5-32B66.539.182.348.387.582.477.984.782.426.170.6
Mistral-Small-24B67.643.280.178.587.277.365.983.766.524.468.1
Llama-3.1-70B70.032.983.077.094.588.056.285.276.446.566.8
Llama-3.3-70B73.036.585.878.093.690.871.885.970.448.266.1
Gemma-3-27b-it-63.483.769.291.1--81.8-30.9-
Fully open models
OLMo-2-7B-1124-Instruct55.731.048.558.985.275.631.363.981.224.656.3
OLMo-2-13B-1124-Instruct61.437.558.472.187.480.439.768.677.528.863.9
OLMo-2-32B-0325-SFT61.716.969.777.278.472.435.976.193.835.461.3
OLMo-2-32B-0325-DPO68.844.170.277.585.783.846.878.091.936.473.5
OLMo-2-32B-0325-Instruct68.842.870.678.087.685.649.777.385.937.573.2

Learning curves

Below is the training curves for allenai/OLMo-2-0325-32B-Instruct. The model was trained using 5 8xH100 nodes.

Below are the core eval scores over steps for allenai/OLMo-2-0325-32B-Instruct (note we took step 320 as the final checkpoint, corresponding to episode 573,440):

Below are the other eval scores over steps for allenai/OLMo-2-0325-32B-Instruct:

Reproduction command

The command below is copied directly from the tracked training job:

# clone and check out commit
git clone https://github.com/allenai/open-instruct.git
# this should be the correct commit, the main thing is to have the vllm monkey patch for
# 32b olmo https://github.com/allenai/open-instruct/blob/894ffa236319bc6c26c346240a7e4ee04ba0bd31/open_instruct/vllm_utils2.py#L37-L59
git checkout a51dc98525eec01de6e8a24c071f42dce407d738
uv sync
uv sync --extra compile

# note that you may need 5 8xH100 nodes for the training.
# so please setup ray properly, e.g., https://github.com/allenai/open-instruct/blob/main/docs/tulu3.md#llama-31-tulu-3-70b-reproduction
python open_instruct/grpo_vllm_thread_ray_gtrl.py \
    --exp_name 0310_olmo2_32b_grpo_12818 \
    --beta 0.01 \
    --local_mini_batch_size 32 \
    --number_samples_per_prompt 16 \
    --output_dir output \
    --local_rollout_batch_size 4 \
    --kl_estimator kl3 \
    --learning_rate 5e-7 \
    --dataset_mixer_list allenai/RLVR-GSM-MATH-IF-Mixed-Constraints 1.0 \
    --dataset_mixer_list_splits train \
    --dataset_mixer_eval_list allenai/RLVR-GSM-MATH-IF-Mixed-Constraints 16 \
    --dataset_mixer_eval_list_splits train \
    --max_token_length 2048 \
    --max_prompt_token_length 2048 \
    --response_length 2048 \
    --model_name_or_path allenai/OLMo-2-0325-32B-DPO \
    --non_stop_penalty \
    --stop_token eos \
    --temperature 1.0 \
    --ground_truths_key ground_truth \
    --chat_template_name tulu \
    --sft_messages_key messages \
    --eval_max_length 4096 \
    --total_episodes 10000000 \
    --penalty_reward_value 0.0 \
    --deepspeed_stage 3 \
    --no_gather_whole_model \
    --per_device_train_batch_size 2 \
    --local_rollout_forward_batch_size 2 \
    --actor_num_gpus_per_node 8 8 8 4 \
    --num_epochs 1 \
    --vllm_tensor_parallel_size 1 \
    --vllm_num_engines 12 \
    --lr_scheduler_type constant \
    --apply_verifiable_reward true \
    --seed 1 \
    --num_evals 30 \
    --save_freq 20 \
    --reward_model_multiplier 0.0 \
    --no_try_launch_beaker_eval_jobs \
    --try_launch_beaker_eval_jobs_on_weka \
    --gradient_checkpointing \
    --with_tracking

License and use

OLMo 2 is licensed under the Apache 2.0 license. OLMo 2 is intended for research and educational use. For more information, please see our Responsible Use Guidelines. This model has been fine-tuned using a dataset mix with outputs generated from third party models and are subject to additional terms: Gemma Terms of Use.

Citation

@article{olmo20242olmo2furious,
      title={2 OLMo 2 Furious}, 
      author={Team OLMo and Pete Walsh and Luca Soldaini and Dirk Groeneveld and Kyle Lo and Shane Arora and Akshita Bhagia and Yuling Gu and Shengyi Huang and Matt Jordan and Nathan Lambert and Dustin Schwenk and Oyvind Tafjord and Taira Anderson and David Atkinson and Faeze Brahman and Christopher Clark and Pradeep Dasigi and Nouha Dziri and Michal Guerquin and Hamish Ivison and Pang Wei Koh and Jiacheng Liu and Saumya Malik and William Merrill and Lester James V. Miranda and Jacob Morrison and Tyler Murray and Crystal Nam and Valentina Pyatkin and Aman Rangapur and Michael Schmitz and Sam Skjonsberg and David Wadden and Christopher Wilhelm and Michael Wilson and Luke Zettlemoyer and Ali Farhadi and Noah A. Smith and Hannaneh Hajishirzi},
      year={2024},
      eprint={2501.00656},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2501.00656}, 
}

Licence

This model is a derivative of an Apache-2.0 base model and is released under the Apache-2.0 licence of its base model. In addition, it carries the use-based restrictions of the OpenRAIL++ Licence v1.0 (LICENSE_OpenRAIL++.md in this repository). Where the two conflict, the base licence prevails. This model's refusal behaviour has been reduced for research on abliteration. It must not be deployed for, or used to generate content for, any of the prohibited uses listed in the OpenRAIL++ licence.

Evaluation in the paper "Is Abliteration Getting Harder? Not Uniformly"

This model is one of the models evaluated in Is Abliteration Getting Harder? Not Uniformly: Refusal Removal by Direction-Based Ablation and ARA in Heretic on the Qwen3.8, Gemma 4, Olmo 3.1 and Mistral Small 3.2 LLMs Versus Their Predecessors (R. J. Young, 2026; arXiv:2611.17846). Numbers are from that study's held-out evaluation; see the paper for methods and caveats.

Release pairOlmo (older release)
MethodDiM (difference-in-means abliteration) in Heretic 2.0, optimisation seed 1, 100 TPE trials
Selected trial#37: fewest dev keyword refusals at first-token KL ≤ 0.1 → 32/100 dev refusals, KL 0.089
Dev re-score of this export34/100 refusals, KL 0.085
Held-out refusal (WildGuard, 972 harmful prompts)33.5% [30.6, 36.6] vs original 83.2% (-49.7 pp)
Capability change vs original (mean of MMLU-Pro, GSM8K, IFEval, HumanEval, MBPP)-2.19 pp
Teacher-forced divergence (350 benign prompts)0.0512 nats/token

Caveats: one optimisation run per model; refusal labels come from automatic judges (no human audit); residual refusal measures willingness to answer under greedy decoding, not the harmfulness of answers.

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

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

GPU в ailist

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

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

Подбираем GPU…

Ревизия весов
c6fd1f8

0 моделей