Skip to content

Fix BERT punctuation and refuse empty or failed parity evidence - #10

Merged
SMC17 merged 1 commit into
mainfrom
revival/wordpiece-punctuation-parity
Nov 13, 2026
Merged

SMC17 merged 1 commit into
mainfrom
revival/wordpiece-punctuation-parity

Conversation

@SMC17

@SMC17 SMC17 commented Nov 13, 2026

Copy link
Copy Markdown
Owner

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.

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
SMC17 merged commit 5c70d39 into main Nov 13, 2026
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant