Skip to content

fix(model): checkpoints always carry fresh bias_int - #25

Merged
jackthepunished merged 1 commit into
mainfrom
fix-bias-refresh
Aug 8, 2026
Merged

jackthepunished merged 1 commit into
mainfrom
fix-bias-refresh

Conversation

@jackthepunished

Copy link
Copy Markdown
Owner

The M3 gate story in code form: bias_int computed at epoch-2 calibration went stale over 147 further epochs of bias training, costing 0.95 dB on the integer path (+5.81 first eval vs +6.76 after refresh). train() now refreshes bias_int from the current FP biases before every checkpoint save; shifts remain frozen as trained. Two new tests: the refresh formula unit test and a checkpoint-freshness integration test.

… save

Stale calibration-time biases cost 0.95 dB on the M3 val gate (first eval
+5.81 dB, refreshed +6.76 dB). Checkpoints now always carry bias_int
matching the weights they store; shifts stay frozen as trained.
Copilot AI lite review requested due to automatic review settings August 8, 2026 13:50
@jackthepunished
jackthepunished merged commit 445bd1e into main Aug 8, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants