Run this model with HF Jobs

Run geodesic-research/vea-selection-adapters on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/geodesic-research/vea-selection-adapters. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/geodesic-research/vea-selection-adapters on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
EdwardJamesYoung-Geodesic's picture
Cite the arXiv paper
7050b78 verified
|
Raw History Blame Contribute Delete
6.77 kB
---
license: mit
library_name: peft
base_model: allenai/Olmo-3-32B-Think-DPO
datasets:
- allenai/Dolci-Think-RL-32B
language:
- en
tags:
- lora
- reinforcement-learning
- grpo
- evaluation-awareness
---
# Olmo 3 VEA adapters
LoRA checkpoints from five reinforcement-learning runs on
[`allenai/Olmo-3-32B-Think-DPO`](https://huggingface.co/allenai/Olmo-3-32B-Think-DPO), the
pre-RL checkpoint of Olmo 3. They accompany the paper [_How Does Reinforcement Learning Select
for Model Cognition? A Case Study of Verbalised Evaluation Awareness in Olmo 3_](https://arxiv.org/abs/2612.02221).
The runs differ in how much of the training mix is the precise instruction-following
(precise-IF) subset of [Dolci](https://huggingface.co/datasets/allenai/Dolci-Think-RL-32B),
and, for two runs, in the generation budget. The paper uses them to study how verbalised
evaluation awareness (VEA) in the chain of thought changes during RL.
The rollouts and judge labels behind the paper's figures are in
[`geodesic-research/vea-selection-rollouts`](https://huggingface.co/datasets/geodesic-research/vea-selection-rollouts).
## Runs
| Folder | Precise-IF share of prompts | Generation budget (tokens) | Training steps | Checkpoints |
| ------------------- | --------------------------- | -------------------------- | -------------- | ----------- |
| `precise-if-0` | 0% | 8,192 | 1,800 | 72 |
| `precise-if-50` | 50% | 8,192 | 1,800 | 72 |
| `precise-if-100` | 100% | 8,192 | 900 | 36 |
| `precise-if-100-4k` | 100% | 4,096 | 900 | 36 |
| `precise-if-100-16k` | 100% | 16,384 | 900 | 36 |
In the 0% and 50% runs, the prompts that are not precise-IF are split equally between Dolci's
maths, coding and general-chat subsets. The 100% runs stop at 900 steps so that they see as
many precise-IF prompts as the 50% run does in 1,800.
Each run has a checkpoint every 25 steps. Step 0 of every run is the base model itself.
## Layout
```
chat_template.jinja
<run>/run_config.yaml
<run>/step_NNNN/adapter_config.json
<run>/step_NNNN/adapter_model.safetensors
```
`run_config.yaml` is the run's training configuration (data mixture, GRPO, loss, optimiser,
LoRA and generation settings), with paths on the training cluster replaced by public
identifiers.
## Loading
```python
import torch
from huggingface_hub import hf_hub_download
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
REPO = "geodesic-research/vea-selection-adapters"
BASE = "allenai/Olmo-3-32B-Think-DPO"
REVISION = "97604023f2602a7dfe6d31b1fc229985e0002022"
tokenizer = AutoTokenizer.from_pretrained(BASE, revision=REVISION)
with open(hf_hub_download(REPO, "chat_template.jinja")) as f:
tokenizer.chat_template = f.read()
base = AutoModelForCausalLM.from_pretrained(
BASE, revision=REVISION, dtype=torch.bfloat16, device_map="auto"
)
model = PeftModel.from_pretrained(base, REPO, subfolder="precise-if-100/step_0900")
messages = [{"role": "user", "content": "Write a haiku about rain. Use no commas."}]
inputs = tokenizer.apply_chat_template(
messages, add_generation_prompt=True, return_dict=True, return_tensors="pt"
).to(model.device)
output = model.generate(**inputs, max_new_tokens=8192, do_sample=True, temperature=1.0)
print(tokenizer.decode(output[0, inputs["input_ids"].shape[1] :]))
```
### Use the chat template in this repository
The runs were trained and evaluated with `chat_template.jinja`, not with the template that
ships with the base model. The two differ in the default system prompt. The base model's
template says "You are a helpful AI assistant." The template here says "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." It is identical to the template of
[`allenai/Olmo-3.1-32B-Think`](https://huggingface.co/allenai/Olmo-3.1-32B-Think).
The template ends the prompt with `<think>`, so a generation starts inside the chain of
thought and closes it with `</think>` before the answer.
## Training
| Setting | Value |
| ------------------------ | ------------------------------------------------------------------------ |
| Algorithm | GRPO, group-mean baseline, token-level loss, no KL penalty |
| Clipping | 0.2 below, 0.272 above |
| Parameters trained | LoRA, rank 8, alpha 8, on the q, k, v, o, gate, up and down projections |
| Optimiser | AdamW, learning rate 5e-5, constant, weight decay 0.01, grad-norm clip 1 |
| Batch | 32 prompts per step, 8 rollouts per prompt |
| Sampling | temperature 1.0 |
| Precise-IF reward | fraction of the prompt's constraints that the answer satisfies |
| Think-tag reward | +0.1 for a well-formed chain of thought |
| Overlong penalty | linear from 0 at 7,000 tokens to -0.1 at 8,192 (3,500 to 4,096 for 4k, 14,000 to 16,384 for 16k) |
| Framework | a fork of NeMo RL (FSDP2 learner, vLLM generation) |
These settings differ from the Olmo 3.1 RL run in several ways, including LoRA in place of
full-parameter training, a smaller batch and a smaller generation budget. The paper's
appendix compares them in full.
## Limits
- The repository holds adapter weights only. It has no optimiser state.
- The 100% runs also have checkpoints every 5 steps, which are not published here. Ask if you
need them.
- The adapters reproduce the paper's policies only with the chat template above.
## Licence
The adapters are released under the MIT licence. The base model is released by Ai2 under
Apache 2.0, and Dolci under ODC-BY.
## Citation
```bibtex
@misc{young2026doesreinforcementlearningselect,
title={How Does Reinforcement Learning Select for Model Cognition? A Case Study of Verbalised Evaluation Awareness in Olmo 3},
author={Edward James Young and Cam Tice and Nathalie Kirch and Kyle O'Brien and David Demitri Africa and Puria Radmard},
year={2026},
eprint={2612.02221},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2612.02221},
}
```