Text Generation
Transformers
Safetensors
English
olmo3
conversational

Duplicate weight files across branches: step_100==step_1000, step_200==step_2000, step_300==main

#2
by emirhanboge - opened

Duplicate weight files across branches: step_100==step_1000, step_200==step_2000, step_300==main

Summary

Three pairs of branches contain identical model weight files (verified via LFS SHA-256):

Branch A Branch B LFS SHA-256 (shard 1, first 16 chars)
step_100 step_1000 e5f78246eb9773f0
step_200 step_2000 53d993f3c56a3ec1
step_300 main 7714e11a8d367ebc

Reproduction

from huggingface_hub import HfApi
from collections import defaultdict

api = HfApi()
shard1_hashes = {}

branches = [f'step_{i}' for i in range(100, 3001, 100)] + ['main']
for rev in branches:
    try:
        files = api.list_repo_tree('allenai/Olmo-3-7B-RL-Zero-Code', revision=rev)
        for f in files:
            name = getattr(f, 'rfilename', getattr(f, 'path', ''))
            if 'model-00001' in name and hasattr(f, 'lfs') and f.lfs:
                shard1_hashes[rev] = f.lfs.sha256[:16]
    except:
        pass

groups = defaultdict(list)
for rev, h in shard1_hashes.items():
    groups[h].append(rev)

for h, revs in groups.items():
    if len(revs) > 1:
        print(f'DUPLICATE: {revs} -> {h}')

Output:

DUPLICATE: ['step_100', 'step_1000'] -> e5f78246eb9773f0
DUPLICATE: ['step_200', 'step_2000'] -> 53d993f3c56a3ec1
DUPLICATE: ['step_300', 'main'] -> 7714e11a8d367ebc

The pattern suggests a labeling error during upload: each X00 step was duplicated as X000 (100→1000, 200→2000, 300→main). Researchers using these checkpoints to study how representations evolve during RL training will see false patterns.

  1. Are the correct step_1000 and step_2000 weights available? Could they be re-uploaded to the correct branches?
  2. Which training step does main correspond to, is it intended to be step_300, or should it be the final checkpoint (step_3000)?

Environment

  • Verified with huggingface_hub version 0.36.2
  • Also confirmed via local md5sum after snapshot_download with force_download=True

Thank you for releasing intermediate checkpoints, they are extremely valuable for research.

The shared files are the later checkpoints, so step_100, step_200 and step_300 are the overwritten branches and main is the final checkpoint.

Whole rows of every .weight tensor (0.005% of the elements, the same rows in every revision) were read from the base allenai/Olmo-3-1025-7B and from every step_* branch. Squared displacement from the base, relative to step_2900:

branch squared displacement / step_2900
step_400 0.059
step_900 0.164
step_100 = step_1000 0.192
step_1100 0.225
step_1900 0.671
step_200 = step_2000 0.699
step_2100 0.735
step_2900 1.000
step_300 = main 1.053

From step_400 to step_2900 the displacement grows at every branch. Each duplicate sits where its larger step number belongs, and step_300 = main sits one checkpoint beyond step_2900. This fits checkpoints of steps 1000, 2000 and 3000 uploaded under names that lost one trailing zero: the true checkpoints of steps 100, 200 and 300 are the missing ones, and main holds step 3000. allenai/Olmo-3-7B-RL-Zero-IF has the same pattern, step_100 = step_1000 and step_400 beyond step_1900 (https://huggingface.co/allenai/Olmo-3-7B-RL-Zero-IF/discussions/3).

Until the branches are fixed, dropping step_100, step_200 and step_300 leaves a consistent path from step 400 to step 2900.

Thanks for the follow-up measurement — the displacement table settles the ordering: step_100 = step_1000 sits where step 1000 belongs, and step_300 = main sits one checkpoint beyond step_2900 at 1.053. The trailing-zero reading fits every duplicate, and dropping step_100, step_200 and step_300 leaves a consistent path from step 400 to step 2900 until the branches are fixed. We appreciate the careful cross-check.

Sign up or log in to comment