Record: Order-13 Full-Rescore N-gram + 11L Int6 GPTQ — val_bpb 0.0939 (3-seed mean)#921
Closed
TimPietrusky wants to merge 1 commit intoopenai:mainfrom
Closed
Record: Order-13 Full-Rescore N-gram + 11L Int6 GPTQ — val_bpb 0.0939 (3-seed mean)#921TimPietrusky wants to merge 1 commit intoopenai:mainfrom
TimPietrusky wants to merge 1 commit intoopenai:mainfrom
Conversation
Contributor
|
Thanks for your submission! Unfortunately, it's disallowed due to the use of hashed n-gram caches, which do not renormalize correctly / correctly reweight the LM's token distribution, look ahead to the target token to mix probabilities and therefore leak eval tokens. Please refer to the long discussion about this under the issues tab for more details, and please submit more runs in the future! |
sofiabod
added a commit
to sofiabod/parameter-golf
that referenced
this pull request
Mar 28, 2026
Recursive Bayesian smoothing (PR openai#900 / Teh 2006 / Willems CTW): each order's posterior becomes the next order's prior. p = (c * p_prev + count) / (c + total), lowest to highest order. Key changes: - NgramCache.lookup_hierarchical: iterates orders 2-13 bottom-up - Concentration c=5.0 (matching PR openai#900), phrase c=min(c,2.0) - Extend n-gram order from 9 to 13 (validated by PR openai#921: 0.0939)
sofiabod
added a commit
to sofiabod/parameter-golf
that referenced
this pull request
Mar 28, 2026
Extend n-gram to order-13 (PR openai#921 validates higher orders: 0.0939). Trim phrase to [36,28,20,16] to fit eval budget. Flat Dirichlet c=1.0 (highest match only — avoids hierarchical overhead).
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.
Record Summary
Final submitted score (full-rescore n-gram):
val_bpb 0.09391(3-seed mean, std0.00002)Reference neural score (standard quantized roundtrip): mean
val_bpb ~1.124Hardware/limits: 8xH100 SXM, train ~600s, eval <=600s, max submission size ~15.8 MB.
3-Seed Results
What changed
Model (11L gated-attention + value-residual)
Quantization (Int6 GPTQ + lzma)
N-gram Eval Cache (the key innovation)
Two-pass order-13 backward-looking n-gram cache with entropy-adaptive mixing:
Pass 1 (score-first, legal):
Pass 2 (full-rescore, no new forward passes):
Implementation:
np.bincountfor O(n) bulk cache updatesSubmission Checklist
records/track_10min_16mb/README.mdsubmission.jsontrain_gpt.pytrain_seed1337.log,train_seed42.log,train_seed2025.log)