Record: SP8192 PR #1874 + TTT_CHUNK_SIZE=32 — val_bpb 1.06990 (3-seed mean)#1920
Closed
bigbag wants to merge 2 commits intoopenai:mainfrom
Closed
Record: SP8192 PR #1874 + TTT_CHUNK_SIZE=32 — val_bpb 1.06990 (3-seed mean)#1920bigbag wants to merge 2 commits intoopenai:mainfrom
bigbag wants to merge 2 commits intoopenai:mainfrom
Conversation
…3-seed mean) Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Author
|
Thanks to OpenAI's Advanced Competitor grant ($500 compute credit via RunPod) for making this work possible. |
…1.06990) Added MIN_LR=0.10, QK_GAIN_INIT=5.25, GATE_ATTN_WIDTH=24, GPTQ_RESERVE_SECONDS=0.5, VAL_LOSS_EVERY=0. Same code, env vars only. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
UPDATE: val_bpb improved from 1.06990 → 1.06844 (3-seed mean)Fixed hyperparameter defaults to match PR #1874's intended configuration:
Same code (PR #1874 verbatim), env vars only. All 3 seeds under 600s train AND eval time.
Reproduce: |
Author
|
Superseded by new PR with updated results (1.06844 3-seed mean, improved from 1.06990). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
val_bpb = 1.06990 (3-seed mean, std 0.00025) | val_loss = 2.76367 nats/token | ~15.95 MB | 8×H100 SXM, 600s train / 600s eval
Runs PR #1874 (AjAnubolu) verbatim with
TTT_CHUNK_SIZE=32(default 48). Smaller TTT chunks give more gradient updates per document during phased LoRA-TTT evaluation, providing −0.0003 BPB improvement over default chunk size.No CaseOps, no casefold, no PPM — standard SP8192 UTF-8 byte counting throughout.
3-Seed Results (8×H100 80GB SXM, phased TTT, 10-min train / 10-min eval budgets)
All three seeds clear size, train-time, and eval-time budgets.
Key Techniques (all from PR #1874)
How to reproduce
Rule Compliance
Attribution
Built on PR #1874 (AjAnubolu), PR #1790 (miaoyuxun), PR #1344 (Polar Express), PR #1787 (nprime06), PR #1797 (dexhunter).
Test plan
SEED=<N> TTT_CHUNK_SIZE=32 torchrun --standalone --nproc_per_node=8 train_gpt.py🤖 Generated with Claude Code