File size: 3,070 Bytes
18f0142
 
 
 
 
 
 
8e4217a
18f0142
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16d3024
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18f0142
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
license: other
language:
- en
library_name: transformers
pipeline_tag: text-generation
tags:
- spp
- synthetic-persona-pretraining
- spp
- alignment
- safety
---

# SPP-T0 — Base (1.7B)

**Type:** base (pretrained) model. Not instruction-tuned and ships no chat template.

Trained with Synthetic Persona Pretraining (SPP) from token zero: first-person reflections are inserted into the roughly 10% of annotated documents that carry one, throughout the entire pretraining run.

## Synthetic Persona Pretraining (SPP)
**Synthetic Persona Pretraining (SPP)** installs a target value persona during pretraining rather than only during alignment. Value-laden, first-person reflections, generated against a constitution, are appended to a subset of pretraining documents after a special `<assistant>` token. Attention masking and RoPE position aliasing keep the reflection from changing the continuation of the original document. This model is trained with SPP.

Instruction-tuned counterpart: [`dlab-spp/t0-1.7b-instruct`](https://huggingface.co/dlab-spp/t0-1.7b-instruct).

## Model details
- **Architecture:** SmolLM2-1.7B architecture, trained from scratch.
- **Tokenizer:** the SmolLM2 tokenizer extended with an `<assistant>` marker and constitution tokens (vocabulary 49280).
- **Pretraining:** ~100B tokens on a subset of the Olmo 3 Dolma 3 mixture, with SPP reflections inserted into the safety-annotated documents within it.

## Training checkpoints

Intermediate checkpoints are published as git revisions on this repo, so any point in the trajectory can be loaded by passing `revision=`:

```python
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

repo = "dlab-spp/t0-1.7b-base"
tok = AutoTokenizer.from_pretrained(repo)          # identical at every revision
model = AutoModelForCausalLM.from_pretrained(
    repo, revision="step-5000", dtype=torch.bfloat16, device_map="auto"
)
```

| Revision | Pretraining step | Tokens seen | LR phase |
|---|---|---|---|
| `step-5000` | 5,000 / 50,863 | ~9.8B | stable |
| `step-10000` | 10,000 / 50,863 | ~19.7B | stable |
| `step-15000` | 15,000 / 50,863 | ~29.5B | stable |
| `step-20000` | 20,000 / 50,863 | ~39.3B | stable |
| `step-25000` | 25,000 / 50,863 | ~49.2B | stable |
| `step-30000` | 30,000 / 50,863 | ~59.0B | stable |
| `step-35000` | 35,000 / 50,863 | ~68.8B | stable |
| `step-40000` | 40,000 / 50,863 | ~78.6B | stable |
| `step-45000` | 45,000 / 50,863 | ~88.5B | stable |
| `step-50863` | 50,863 / 50,863 | ~100B | linear decay — same weights as `main` |

`main` always holds the finished model (step 50,863).
Only model weights are published — optimizer and RNG state are not included, so these revisions support evaluation, probing, and fine-tuning, but not exact resumption of the original run.

## Intended use
Research on alignment and safety. As a base model it is meant for continuation, probing, or further fine-tuning; it is not instruction-tuned and can produce incorrect or unsafe content.

## Links
- Paper: _to be released_

_License: to be finalised._