Submission TrigramHash + PartialRoPE + HeadTemp + stride32 (val_bpb: 1.1450)and #327
Open
Ananddna wants to merge 6 commits intoopenai:mainfrom
Open
Submission TrigramHash + PartialRoPE + HeadTemp + stride32 (val_bpb: 1.1450)and #327Ananddna wants to merge 6 commits intoopenai:mainfrom
Ananddna wants to merge 6 commits intoopenai:mainfrom
Conversation
Author
|
Update: Trimmed unused LoRA TTT code from the submission to bring artifact size under the 16MB cap.
Note: The training logs (final_s1.txt, final_s2.txt) were generated with the pre-trim version which included the TTT code. The TTT was disabled (TTT_ENABLED=0) during those runs so the scores are unaffected. The only change is removing dead code to fit the artifact cap. Ready for review. |
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.1450 (mean of 2 seeds)
Built on the 10L Int5-MLP + BigramHash + SWA foundation, adding 5 novel techniques:
Our Unique Contributions
TrigramHashEmbedding — Hash consecutive token triplets (not just pairs) into 8192-bucket learned embeddings (dim=64). Captures 3-word patterns like "in the morning" as atomic units. Complementary to BigramHash.
Partial RoPE (50%) — Apply rotary position embeddings to only 50% of head dimensions. Remaining dims are position-free, enabling similarity matching regardless of position. Improves length generalization.
Per-Head Temperature Scaling — Each attention head learns its own temperature parameter, allowing some heads to be sharp/focused and others broad/contextual.
Eval Stride 32 — Reduced sliding window stride from 64 to 32 for finer-grained evaluation context.
LoRA TTT Infrastructure — Added LoRA-based test-time training framework (eval_val_with_ttt). Infrastructure is in place for future runs.
Results
Architecture