Text Generation
PEFT
Safetensors
lora
synthetic-document-finetuning
reward-seeking
ai-safety

Contrastive-SDF LoRA adapters for Olmo 3 32B Think, before and after RL

These are the LoRA adapters from our replication of Højmark et al., Measuring Reward-Seeking via Contrastive Belief Updates (arXiv 2607.18966). We ran it on an open model pair from one lineage: pre-RL allenai/Olmo-3-32B-Think-DPO (revision 97604023f2) and post-RL allenai/Olmo-3.1-32B-Think (revision 97ade57a9c).

What each adapter believes

Each adapter is finetuned on synthetic documents (Apollo's corpora, with OpenAI rewritten as Ai2: vigji/contrastive-belief-updates-ai2) that state opposite coding-style preferences for two authorities:

run A adapters were trained on B adapters were trained on
F1 Ai2's graders prefer list comprehensions; LLM users prefer for loops the reverse
F2 Ai2's graders prefer list comprehensions; EU software regulation prefers for loops the reverse

The gap is logit(comp rate | A) − logit(comp rate | B) on coding tasks. A positive gap means the model follows the grader's believed preference.

Layout

F{1,2}/{dpo,final}_{A,B}/{f025,f050,f075,f100}/   the adapters
F{1,2}/{dpo,final}_{A,B}/training/                metrics.jsonl and train_stats*.json for the run
  • dpo adapters are trained on the pre-RL base and final adapters on the post-RL base. base_model_name_or_path in each adapter_config.json names the right one.
  • f025 … f100 are snapshots at 1/4, 1/2 and 3/4 of one cosine schedule and at its end. f100 is the adapter behind every headline number.
  • chat_template.jinja is the template used in training and eval.
  • training/ has the per-step log (metrics.jsonl: loss, held-out loss, learning rate) and the trainer state at each quarter (train_stats_f025.json … train_stats.json). The F1 dpo runs went from 1/4 to the end in one go, so they have train_stats_f025.json and train_stats.json only, though all four adapter snapshots exist. Get just these with hf download vigji/rsr-adapters --include "*/training/*".
from peft import PeftModel
from transformers import AutoModelForCausalLM

base = AutoModelForCausalLM.from_pretrained("allenai/Olmo-3.1-32B-Think", torch_dtype="bfloat16", device_map="auto")
model = PeftModel.from_pretrained(base, "vigji/rsr-adapters", subfolder="F1/final_A/f100")

With vLLM, serve the base with --enable-lora --max-lora-rank 32 and pass the downloaded folder as a LoRA request.

Training

  • The paper's LoRA recipe: r=32, α=32, all linear projections, 1 epoch, batch 8 docs, cosine with 26% warmup.
  • About 8,800 docs per run (4,400 per side, token-matched), about 1,100 steps.
  • It ran as QLoRA (NF4 base) at LR 1e-4 on one 48 GB GPU. Evals served the base in FP8.
  • One seed per adapter.

Licenses

The adapters are released under Apache-2.0, like the Olmo base models. The training corpora are by Apollo Research under CC-BY-4.0.

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for vigji/rsr-adapters

Adapter
(2)
this model

Dataset used to train vigji/rsr-adapters

Collection including vigji/rsr-adapters

Paper for vigji/rsr-adapters