Record: LeakyReLU(0.5)² + Per-Document LoRA TTT (mean val_bpb=0.9443, 3 seeds)#620
Closed
robinojw wants to merge 1 commit intoopenai:mainfrom
Closed
Record: LeakyReLU(0.5)² + Per-Document LoRA TTT (mean val_bpb=0.9443, 3 seeds)#620robinojw wants to merge 1 commit intoopenai:mainfrom
robinojw wants to merge 1 commit intoopenai:mainfrom
Conversation
Contributor
|
As you mentioned in the issue thread, I think this approach is disallowed, so closing this PR for now such that people don't copy the TTT section of this code. |
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
Results
Key Technique
LeakyReLU(0.5)²: Single-line activation swap —
F.leaky_relu(x, 0.5)replacingtorch.relu(x). Preserves negative gradient flow, prevents dead neurons in the squared activation.Known Issue
TTT scoring currently only records on the final epoch. Epochs 1-2 train without scoring, so the LoRA has seen tokens before scoring them in epoch 3. Fix is a 1-line change (remove
if epoch == args.ttt_epochs - 1:guard). See README for details.Hardware
8× H100 SXM 80GB, PyTorch 2.9.1+cu128, RunPod Secure Cloud. ~17 min/seed.
Environment Variables