Repository navigation
Record neural run 1; soften span-tag weighting for run 2 - #38
Merged
Merged
Conversation
Run 1 (12 runs on a T4) over-predicted spans: 39-47 conditions per document and at most 0.023 typed F1 against the model-drafted dev records (CRF 0.145). Balanced span-tag weights made a missed B ~65x as costly as a wrong one, and runs were still improving at epoch 6. TrainConfig.bio_weighting (inverse / sqrt / none, default sqrt); the grids try sqrt and none, up to 15 epochs with patience 3, under new names (distilbert-2, deberta-2). The GPU script predicts and packs only the current grids; the scoring script groups runs by grid.
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
reports/neural/run-1/): the first GPU run, 12 runs on a Kaggle T4.crf-batches-01-02. The paired difference is clear (−0.122 [−0.160, −0.081]).Babout 65× as costly as a wrong one.TrainConfig.bio_weightingtakesinverse(run 1),sqrt(new default) ornone.sqrtandnone× 2 learning rates × 3 seeds (24 runs), with up to 15 epochs and patience 3.distilbert-2/deberta-2, so resumed runs never reuse run-1 bundles.run_neural.shreads run names from the configs and predicts and packs only the current grids.score_neural.shgroups runs by grid and clears older predictions.The test split is not touched.
Checks
ruff check,ruff format --check,mypy src/,pytest -m "not slow"(238 passed);shellcheckclean.