Skip to content

feat: v8 weights, v7 fine-tuned on books set in italics - #32

Merged
stephen-masters merged 1 commit into
mainfrom
feat/v8-weights
Nov 18, 2026
Merged

stephen-masters merged 1 commit into
mainfrom
feat/v8-weights

Conversation

@stephen-masters

Copy link
Copy Markdown
Contributor

Ships v8, published to tetrak/easyocr-armenian on 18 November (tag v8, commit 03f3f1d30b14b80bf3a04a72699be056b0113fd3). A feat:, so this cuts 0.13.0.

What changes for a caller

reader() downloads v8 in place of v7. The charset, the yaml and both word lists are unchanged, so nothing else moves.

v8 is v7 fine-tuned for 3,000 iterations with crops from three books set in italics. Through Tetrak's pipeline, against v7 read the same way:

v7 v8
Mean word recall, 17 registers 0.895 0.906
Khatisian, memoirs 0.762 0.838
Registers led 11 12, level on one

Known costs, on the model card: v8 reads 53 of the 81 Russian words on the Tumanyan pages where v7 read 61, and writes three full stops for the ellipsis character more often. v7 stays tagged on the Hub.

What changed here

  • WEIGHTS_VERSION, the three URLs and WEIGHTS_SHA256 in src/tetrak_hy/__init__.py. The two word-list digests are the same files re-pinned at the new commit.
  • tests/test_reads_v7.py becomes tests/test_reads_released.py and names the release it checks.
  • README status and provenance for v8. The status line still claimed fifteen of seventeen registers for v7; it had been eleven since Calfa's hye-paddle was run on the classical registers.

Checks

  • pytest: 107 passed, including the three live tests that download the pinned v8 and read a classical word and a Russian word.
  • ruff check, ruff format --check, uv lock --check: clean.
  • tools/mirror_weights.py: the pinned URL downloads and its digest matches.
  • Each word-list URL checked against its digest by hand.

After merge

Raise the floor of Tetrak's [armenian] extra to 0.13 and regenerate its register table.

🤖 Generated with Claude Code

Pins move to the Hub commit behind tag v8 (03f3f1d30b). The weights
checksum changes; both word lists and the packaged yaml are v7's,
re-pinned at the new commit with the same digests.

v8 is v7 fine-tuned for 3,000 iterations with crops from three italic
books. Through Tetrak's pipeline the mean word recall over seventeen
registers goes 0.895 to 0.906 and Khatisian's memoirs 0.762 to 0.838.

Known costs, recorded on the model card: 53 of the 81 Russian words
on the Tumanyan pages are read where v7 read 61, and three full stops
are written for the ellipsis character more often.

The README's lead count is corrected too: it still said fifteen of
seventeen for v7, which had been eleven since Calfa's hye-paddle was
run on the classical registers.

Co-authored-by: Yvette Mankerian <yvettekm@gmail.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@stephen-masters
stephen-masters merged commit cbed349 into main Nov 18, 2026
3 checks passed
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