Repository navigation
Fix BERT punctuation and refuse empty or failed parity evidence - #10
Merged
Merged
Conversation
Original WordPiece regressions improve 2/8 to 8/8; 48 synthetic inputs and real BERT/TinyLlama each match the pinned reference on all 39 existing inputs. Real-fixture suite: 195/195 on both native ARM64 hosts in Debug and ReleaseSafe. Clean archive: 166/195 with 29 disclosed fixture skips. T5 remains 36/39 and --model all fails visibly. No existing real-fixture expectation, model dump, release or visibility change.
SMC17
added a commit
that referenced
this pull request
Nov 13, 2026
Fix BERT punctuation and refuse empty or failed parity evidence
SMC17
added a commit
that referenced
this pull request
Nov 16, 2026
Fix BERT punctuation and refuse empty or failed parity evidence
SMC17
added a commit
that referenced
this pull request
Nov 17, 2026
Fix BERT punctuation and refuse empty or failed parity evidence
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.
Block-based punctuation splitting changes token IDs for £15.00 and other currency/letter inputs and misses Arabic/Indic punctuation. Replace it with a generated predicate checked against HF tokenizers 0.21.4 over all 1,112,064 Unicode scalars. Add an original 32-token/48-input task, a strict comparator and seven fault tests; empty dumps and matching encoding errors now fail.
Native macOS/Linux ARM64 both pass the original 48-input comparison and full scalar-table identity check. The pinned real tokenizer files run 195/195 tests in Debug and ReleaseSafe, including the previously skipped fixture/fuzz tests. Real BERT and TinyLlama each match the unchanged 39-input corpus completely; T5 remains 36/39 and the all-model checker fails visibly. A clean archive without optional files passes 166/195 with 29 skips. No existing real-model expectations were changed.
Keep the concurrent public-launch README cleanup, add immutable checksummed JSON-only fetches and live/frozen CI checks, and retain all data files as gitignored. No model dumps/weights, release cut, visibility change or fresh performance claim. Internal maintainer AI-assisted implementation; signed commit and exact file checks recorded.