Skip to content
This repository was archived by the owner on Aug 3, 2026. It is now read-only.

validator: cheap checkpoint-trainedness / log-consistency guard - #72

Merged
bitzic merged 1 commit into
mainfrom
feat/checkpoint-trainedness-guard
Jun 28, 2026
Merged

validator: cheap checkpoint-trainedness / log-consistency guard#72
bitzic merged 1 commit into
mainfrom
feat/checkpoint-trainedness-guard

Conversation

@bitzic

@bitzic bitzic commented Jun 28, 2026

Copy link
Copy Markdown
Contributor
  • validator/integrity.py: check_checkpoint_trained() rejects (a) untrained checkpoints whose held-out loss sits near the random baseline ln(vocab) and (b) log/checkpoint mismatches where held-out loss >> the declared training final_loss
  • consumes the val_bpb op4 already computes (no extra GPU) + the miner's declared final_loss; generous thresholds never reject a real model
  • would have caught the random-init crown that became king
  • inert until wired into op3/op4 (proposed, for review)

- validator/integrity.py: check_checkpoint_trained() rejects (a) untrained
  checkpoints whose held-out loss sits near the random baseline ln(vocab)
  and (b) log/checkpoint mismatches where held-out loss >> the declared
  training final_loss
- consumes the val_bpb op4 already computes (no extra GPU) + the miner's
  declared final_loss; generous thresholds never reject a real model
- would have caught the random-init crown that became king
- inert until wired into op3/op4 (proposed, for review)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bitzic
bitzic merged commit 103f6d9 into main Jun 28, 2026
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant