Skip to content

A 12B model measured (no better); the model path on the second development set, and seven guards - #83

Merged
e6qu merged 11 commits into
mainfrom
claude/adoring-rubin-6bxofk
Oct 21, 2026
Merged

e6qu merged 11 commits into
mainfrom
claude/adoring-rubin-6bxofk

Conversation

@e6qu

@e6qu e6qu commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

Two things: whether a larger model helps the model path (it doesn't), and the false flags of the model path on the second development set, with guards for 10 of the 14 false ones.

A 12B model on the same measurements

Gemma 3 12B (4-bit, 6.9 GB) fits in 16 GB with EMDYSI_LM_MMAP=0 EMDYSI_LM_CTX=1024 (from #82).

Locating by surprise (374 minimal pairs) E2B E4B Gemma 3 12B
The corrected word is the most surprising 31.1% 30.0% 22.5%
... among the three most surprising 48.0% 46.6% 38.1%
AUC, as written against corrected 0.603 0.594 0.568
Choosing among versions (206 saved questions): correct originals changed (of 150), at most E2B keeps (of 56) 12B keeps
1 32 26
6 44 34
10 46 34
26 48 51

Caveats: the questions were chosen by E2B, and the 12B model is another family. Still, nothing argues for the larger model here, so E2B stays the default.

The model path on the second development set

A sixteenth of the set (1,095 sentences) gave 18 flags, 4 of them real errors (realitime, anyeone, a overflow, allowing to disable). Guards for 10 of the 14 false ones:

False flag Guard
So much the better to So much better no the dropped before a comparative
coatings to date to to data no word changed inside a fixed expression any reading takes as one item
AWS, Vsphere and to Sphere no real-word typo in a technical term (cspell lists)
the logic … into main to from no compound preposition replaced in a sentence the grammar accepts (none is in the real errors)
Landed to Lans inflections and real-word neighbours only as listed in lower case (the list has LANs)
2 detailed updates to update (×4) no plural made singular after a number other than one
rust-lang/rust#137944 is ready! to A rust issue references are code-like; no edit touches one

Left: three flags in an Austen chapter (into a hackney coach to with, contrive to control, the thoughtless) and one unknown term (sret). Two broader guards (no preposition swap, no similar-stem word swap) were tried and dropped: they broke interested on chess to in, the case the model path is for. No threshold separates either: real gains scored 82–99%, these false flags 81–97%.

Each guard has a test that fails without it.

Measured

Before After
34 real-error pairs where a model can gain (E2B, first four guards) 8 caught; the model adds 4 12 caught; the model adds 5 (creating to of creating is new), none lost; 0 flags on the corrected text
Real errors without a model (374) 221 221, no pair changed
Blog posts without a model (where the issue references are) 0 flags in 244 sentences (dev1), 43 in 4,147 (dev2), 4 in 1,241 (held out); none about a reference

Also: examples/surprisal reports progress.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TxRMoAtBqwUZXAvBmzVhC4

…better than E2B

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TxRMoAtBqwUZXAvBmzVhC4
…than E2B

On 206 saved questions, where few correct sentences may change E2B keeps
more corrections (44 of 56 against 34 with at most 6 of 150 changed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TxRMoAtBqwUZXAvBmzVhC4
@e6qu e6qu changed the title A 12B model on the same measurements: no better at locating errors A 12B model on the same measurements: no better at locating or choosing Oct 21, 2026
The grammar has only fragments for the idiom (so much the better, all
the better, so much the worse for them), and the version without 'the'
parses; E2B preferred it (82%) in the second development set. The test
fails without the guard; no real error of the corpus is such a deletion.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TxRMoAtBqwUZXAvBmzVhC4
'Most refractory coatings to date' was flagged as 'to data' (81%) in the
second development set: the lexicon has 'to date' as one item, though
the ranker preferred 'date' as a verb, so any reading counts. The test
fails without the guard; recall on the 34 pairs is re-measured next.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TxRMoAtBqwUZXAvBmzVhC4
…phere'

E2B preferred 'Sphere' (97%) in the second development set; vSphere is in
the software terms. A word the technical lists know and the main list
does not is not given real-word neighbours. The test fails without the
guard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TxRMoAtBqwUZXAvBmzVhC4
'the logic around handling errors into main' was flagged as 'from main'
(87%) in the second development set, as 'within an area' was as 'in'.
No real error of the corpus replaces into, within, onto, upon, without,
throughout or inside (three add within). The test fails with the
narrower guard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TxRMoAtBqwUZXAvBmzVhC4
…ence

Three false flags of the model path in the second development set:
- 'Landed an extension' to 'Lans' (95%): the list has LANs, which the
  case-blind lookup found for 'lans'; inflections and real-word
  neighbours are now taken only as listed in lower case.
- '2 detailed updates available.' to 'update' (92%, four times): no
  plural made singular after a number other than one.
- 'rust-lang/rust#137944 is ready!' to 'A rust' (83%): issue references
  are code-like (a name to the parser), and no edit touches one.
Each test case fails without its guard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TxRMoAtBqwUZXAvBmzVhC4
… and the guards it led to

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TxRMoAtBqwUZXAvBmzVhC4
@e6qu e6qu changed the title A 12B model on the same measurements: no better at locating or choosing A 12B model measured (no better); the model path on the second development set, and seven guards Oct 21, 2026
…epts

The rerun of the second development set's sample showed 'what they were
talking of' to 'talking about' (86%): the grammar reads talk_of_v1 with
of_prtcl, a preposition the verb selects. A merely modifying one
('interested on chess' to 'in') can still be corrected. The test fails
without the guard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TxRMoAtBqwUZXAvBmzVhC4
@e6qu
e6qu merged commit 3832321 into main Oct 21, 2026
6 checks passed
@e6qu
e6qu deleted the claude/adoring-rubin-6bxofk branch October 21, 2026 15:55
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.

2 participants