[Closed] Record: 0.0214 bpb - Low Eval-Time Memory Regime: Packed Training N-gram Artifact + Learned Gate (No Phrase Cache)#962
Closed
AnirudhRahul wants to merge 2 commits intoopenai:mainfrom
Conversation
This updates the packed training n-gram artifact submission with the final no-mixer, no-phrase 3-seed reruns and documents the causal single-pass evaluation path. Made-with: Cursor
Author
|
This submission attempts to address some of the concerns about memory usage from ngram-caches (mentioned as being potentially problematic here #886). |
This replaces the prior point-scored results with renormalized 3-seed reruns so the final output distribution sums to 1 at every token and the published BPB reflects the normalized path. Made-with: Cursor
Author
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_bpbis0.02139943 +/- 0.00003918; worst-case total submission size is15,881,331bytes and worst-case eval time is437s.<600s, eval<600s, artifact<16MB.uint32count tables per order. This is the primary persisted state beyond the transformer itself and it does not grow with validation length.TTT_EPOCHS=0.Results
3-seed mean
val_bpb:0.02139943Sample std:
0.00003918Causal Inference Scheme
TTT_EPOCHS=0.Compliance
TTT_EPOCHS=0, so there is no backward test-time adaptation in the final submission path.Reproduction
pip install -r records/track_10min_16mb/2026-03-27_LowEvalMemoryRegime_PackedTrainCache_NoMixer/requirements.txt cd records/track_10min_16mb/2026-03-27_LowEvalMemoryRegime_PackedTrainCache_NoMixer SEED=1337 \ DATA_PATH=/root/parameter-golf/data/datasets/fineweb10B_sp1024 \ TOKENIZER_PATH=/root/parameter-golf/data/tokenizers/fineweb_1024_bpe.model \ ARTIFACT_NGRAM_EXPORT=1 \ MAX_WALLCLOCK_SECONDS=600 \ VAL_LOSS_EVERY=0 \ USE_MIXER=0 USE_PHRASE_CACHE=0 MIXER_HEAD=multi \ USE_NGRAM_CACHE=1 NGRAM_EVAL_ORDER=9 \ TRAIN_ORACLE_BUCKETS=32768 NGRAM_EVAL_BUCKETS=32768 \ USE_REGIME_TRACKER=0 USE_LOGIT_CAL=1 \ TTT_EPOCHS=0 TTT_FREEZE_BLOCKS=2 TTT_LR=0.0001 \ TTT_CHUNK_TOKENS=131072 SKIP_SLIDING=1 EVAL_STRIDE=64 TTT_TEMPERATURE=0.85 \ CROWN_Q_LAMBDA=0.01 PRUNE_PCT=0.05 BIGRAM_VOCAB_SIZE=0 \ GPTQ_CALIBRATION_SEQS=128 \ RENORMALIZE_FINAL_PROBS=1 VERIFY_FINAL_PROBS=1 \ PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True \ torchrun --standalone --nproc_per_node=8 train_gpt.pySubmission Checklist
records/track_10min_16mbREADME.mdincludedsubmission.jsonincludedtrain_gpt.pyincludedtrain_seed1337.log,train_seed42.log,train_seed7.log)