Repository navigation
WO92: heb weak-pretrain — knesset-v6 dedupe prep + plane weak-pretrain trainer - #147
Merged
Merged
Conversation
…trainer prep_heb_knesset_weak.py builds the stage-1 weak corpus in-job from Phonikud/phonikud-data knesset_nikud_v6.txt.7z (MIT; sha256-pinned): plane-mark-set normalization, s45 filters, exact-skeleton dedupe, 40-char window decontam vs hebrew-v4 test, contiguous shards + manifest + SHA256SUMS, uploaded to Interscript/he-knesset-v6-weak. Explicit drop of the v6 ASCII pipe prefix separator (phonikud PREFIX_CHAR U+007C) - the s45 comment said drop but its ASCII range kept it; stress U+05AB and teamim drop via the plane mark set. train_hebrew_weakpre_hf.py is the crown plane recipe (run-022) over the deduped weak corpus COMBINED with the full gold train (50,433): byt5-base encoder + plane head, bf16 autocast + fp32 CE, greedy K=3 mask-predict eval on the human-verified test only. 1 epoch default, step ckpts + labels.sha resume contract; stage-2 gold SFT stays owner-gated. nikud_planes.py lands on main here (until now only on the unmerged feat/run-017-tools branch, leaving the plane trainer unrunnable from a clean main checkout). Tests: plane round-trip (7) + prep policy (14).
This was referenced Nov 20, 2026
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
WO92 (models repo TODO.sota/92) stage-1: the Hebrew weak-pretrain
curriculum ported to the plane crown lineage.
corpus from Phonikud/phonikud-data knesset_nikud_v6.txt.7z (MIT,
sha256-pinned at fetch): plane-mark-set normalization, s45 filters,
exact-skeleton dedupe (first occurrence wins), 40-char window
decontam vs the human-verified hebrew-v4 test set, contiguous
source-order shards + manifest + SHA256SUMS sidecar, uploaded to
Interscript/he-knesset-v6-weak (private).
PREFIX_CHAR U+007C) — inside the printable band, so it needs an
explicit drop; the s45 comment said drop but its ASCII range kept it.
byt5-base encoder + plane head, bf16 autocast + fp32 CE, greedy K=3
mask-predict eval) over the deduped weak corpus COMBINED with the
full gold train (50,433). 1 epoch default, step-1000 checkpoints
with the labels.sha resume contract. Eval on the human-verified test
only (machine labels never gate quality); stage-2 gold SFT stays
owner-gated.
only on the unmerged feat/run-017-tools branch, leaving the tracked
plane trainer unrunnable from a clean main checkout.
Test plan
drops, filters, decontam window collision, dedupe contract
>= 1,000,000 rows; decontam drops <= 0.1%