Repository navigation
chore(tools): score a candidate model's spans beside the released one's - #105
Merged
Merged
Conversation
Brief 014 issue tetrak-hy-trainer#47 measures v7's full pipeline against v6 and the external engines before v7 is released, so the tools have to take a model that is not the pinned one. dump_layout_spans.py accepts --wordlist more than once and decodes with the union, as the backend does since the two lists; register_comparison.py folds every region with the page as context, as the backend does since 0.9, takes --ours-label for the candidate's row, and labels brief 014's ten registers. Cached spans for a candidate live beside the released ones (evaluation/layout/spans-*), so the ignore rule covers them all. Co-authored-by: Yvette Mankerian <yvettekm@gmail.com> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Deploying tetrak with
|
| Latest commit: |
7f0b7d6
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9f09fc6a.tetrak.pages.dev |
| Branch Preview URL: | https://chore-register-comparison-tw.tetrak.pages.dev |
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.
Tooling for brief 014's Stage 3 gate (tetrak-hy-trainer#47): the full pipeline of a model that is not yet the pinned release, measured against v6 and the external engines on every register.
tools/dump_layout_spans.py:--wordlistis repeatable and the decoder works on the union, as the backend does with the modern and classical lists (brief 014).tools/register_comparison.py: our row folds every region with the whole page ascontext, as the backend does since tetrak-easyocr-armenian 0.9 (feat(armenian): fold each region with the page as context #104);--ours-labelnames the candidate's row (default unchanged); labels for the ten brief 014 registers..gitignore: a candidate's cached spans live beside the released ones asevaluation/layout/spans-*/, all regenerable and all ignored.The published
evaluation/ocr/registers.csvis not regenerated here: v6's cached spans through the current pipeline reproduce it exactly, and the table moves to v7 with the release that pins v7's weights. The measurement itself is on the trainer issue.7 tests pass, ruff clean. A
chore, so no release.🤖 Generated with Claude Code