atom-zero-63m-mixed / README.md
byjameson's picture
add 63M mixed-replay research base
6516634 verified
|
Raw History Blame Contribute Delete
2.68 kB
metadata
license: apache-2.0
tags:
  - atomzero
  - research
  - copy-task
  - mixed-replay

Atom Zero 63M mixed-replay research base

Status: promotable research base, not the product default. Product weights remain byjameson/atom-zero-49m / 0.8.0.

What this is

An 8-layer depth-upcycled Atom Zero checkpoint, fully fine-tuned on copy curriculum + content replay + safety refusal replay.

params:        63,389,184
layers:        8 (upcycled from 6, interpolated)
dim:           768
heads:         12
vocab:         8192
max_seq:       512
training:      3000 steps, batch 4, lr 5e-5, content weight 2, seed 71
data:          6000 copy + 492 content + 40 safety rows (x10)

Gate results (two seeds)

seed 2short exact 3short exact 4short exact 4short key-copy retention safety
71 84.0% 77.0% 57.0% 67.0% 0.722 40/40
72 86.0% 76.5% 58.0% 63.5% 0.809 40/40

Copy is exact / key-copy on 200 held-out rows per stage. Retention is candidate content loss divided by the 49M baseline; below 1.0 is better. Safety uses 40 held-out refusal probes disjoint from the training templates; the baseline scores 12/40.

Both seeds pass all four checkpoint gates: content not worse, exact match, key-copy and safety.

Boundary

  • The copy gain is inside the trained 3-6 lowercase alphanumeric key grammar. Out-of-distribution key styles still fail (0/30 in the 0.80.0 test).
  • Safety probes are narrow synthetic templates, not a moderation benchmark.
  • This is not a general assistant evaluation. Packaging, general QA behavior, latency and human review remain before product replacement.
  • Safety replay costs about 9 points of four-key exact versus copy-only.

Files

  • model.pt: state dict with config and state
  • config.json: architecture and research metadata
  • chat_en_bpe8k.json: tokenizer

Load it as a new base checkpoint (not as an adapter on the 49M base):

from tokenizers import Tokenizer
import torch
from atomzero.transformer import TransformerLM

ck = torch.load("model.pt", map_location="cpu", weights_only=False)
cfg = ck["config"]
model = TransformerLM(cfg["vocab"], cfg["dim"], cfg["layers"], cfg["heads"], cfg["ff"])
model.load_state_dict(ck["state"])
tok = Tokenizer.from_file("chat_en_bpe8k.json")

Evidence