Repository navigation
retrained modell - #68
Merged
MuhammadBilal196 merged 50 commits intoNov 2, 2026
Merged
MuhammadBilal196 merged 50 commits into
MuhammadBilal196 merged 50 commits into
Conversation
…derivative correctness
…configuration guards
… Python, PyTorch, CUDA)
…s for datasets and vocabs
… experiment tracking
…yTorch backend flags
…ng in _solve_gradient
…line, weighted, contrast, combined)
…omparison reporting
…ct >85% target validation
… verified schedule into train.py
…uirements-neural.txt for Colab
…trast pairs, and loss weights
|
@umer12x is attempting to deploy a commit to the seno-quantum-coder's projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
Overview
This PR implements training stabilization, variable-binding contrast minibatches, token-weighted loss, reproducible experiments, exact match evaluation, inference gradient fixes, and Colab training workflows.
Summary of Changes (50 Commits)
Token-Weighted Loss (
training/token_weights.py):STRUCT:*: 1.0,COEF:*/EXP:*: 3.5,VAR:*/OPVAR:*: 4.0,[PAD]: 0.0).TokenWeightedCrossEntropywith zero-weight masking and NaN safety fallback.tests/unit/test_token_weighted_loss.py).Variable-Binding Contrast Minibatches (
training/contrast.py,problem_generator.py):data/splits/contrast_train.jsonl(16k) anddata/splits/contrast_val.jsonl(800).ContrastBatchSourcedeterministic cyclic pairing and batch merging.tests/unit/test_contrast_pairs.py.Verified Learning Rate Schedule (
training/schedule.py):min_lr_ratio=0.05.verify_scheduleasserting expected total steps and bounds.tests/unit/test_training_schedule.py.Reproducibility & Run Manifests (
training/reproducibility.py):tests/unit/test_training_reproducibility.py.Metrics & Exact Match Tracking (
training/metrics.py):Controlled Experiments & Publisher (
training/experiments.py,scripts/):scripts/run_experiments.py).scripts/publish_best_checkpoint.py).Inference & Gradient Fixes (
inference/solve.py):_solve_gradient.Colab Training Infrastructure:
requirements-neural.txtfor Python 3.12 / Colab GPU.notebooks/colab_training.ipynb.