You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fine-tune from v7 on the new material, with a control, and measure #91
Why One change at a time: a fine-tune from v7 costs an hour or two and is attributable, where a fresh pre-train is neither. A control run with the same iterations and v7's own recipe separates the material from the extra training.
Done when
A fine-tune from v7 with the italic crops, the low-contrast degradation and any cursive faces is written to runs/v7-b023/
A control with the same iterations and v7's recipe is run beside it
Both are scored on every register, raw and through the full pipeline, with the readings saved
Khatisian and Abovyan gain clearly and the control does not; no register is worse beyond run-to-run noise
The Khatisian confusions (ռ→ո, ւ→:) fall without their reverses rising
Traces to: Brief 023 · Roadmap: Phase 5: The Armenian recogniser · Section: Brief 023, "Stage 3 — Fine-tune from v7, with a control" Readiness: Measured (17 November): the italic-only second run meets the gate on Khatisian and on no register being worse; Abovyan's gain is modest. Awaiting a decision on the gate box Depends on:#89, #90, #88
Control (runs/v7-b023-control/): v7's own 0.5-0.3-0.1-0.1, same parent, same iterations.
Both run 3,000 iterations and validate on the same 23,722 real crops: v7's validation set with the three italic sources replaced by the new pass's validation pages. real_train is v7's minus 206 crops from pages that pass holds for validation, so no page is in both.
The script then saves raw register readings for both bundles and reads every register through Tetrak's pipeline with each.
Not in this run: cursive faces (#88 has leads only), so the Khatisian letterforms come from its real crops alone. The faint set's tenth is by analogy with the capitals and English sets, not yet chosen on validation crops (#89).
Both runs finished on 17 November (3,000 iterations each from v7's released checkpoint, runs/v7-b023/finetune.log). The fine-tune is runs/v7-b023/bundle, the control runs/v7-b023-control/bundle. Neither is a candidate to publish.
Word recall through Tetrak's full pipeline (5.28.0, faint-page rule on, no paddle extra), against v7 read the same way:
register
v7
fine-tune
control
hye-paddle
Khatisian, memoirs
0.762
0.819 (+0.057)
0.794 (+0.033)
0.856
Abovyan, vol. 1
0.835
0.848 (+0.014)
0.841 (+0.006)
0.910
Kajaznuni
0.901
0.879 (−0.022)
0.898 (−0.003)
0.886
Dictionary hy–en
0.687
0.666 (−0.021)
0.692 (+0.004)
0.457
Otyan
0.950
0.942 (−0.009)
0.949 (−0.002)
0.934
Tumanyan
0.937
0.929 (−0.007)
0.929 (−0.007)
0.913
Aghbalyan
0.824
0.817 (−0.007)
0.823 (−0.001)
0.846
Faustus
0.898
0.903 (+0.005)
0.888 (−0.010)
0.922
mean of 17
0.895
0.896
0.896
0.880
The other nine registers moved by less than 0.006 in the fine-tune. The control's own spread on registers it had no reason to move (−0.010 to +0.008) is the noise to read the rest against.
Against the gate
Khatisian gains, and the material is why. Every one of the ten pages is up, the upright page included. Raw, before the pipeline, 0.672 → 0.763 against the control's 0.695. Aligned character errors fall from 226 to 119 (control 241). ռ→ո falls from 22 to 2 and ւ→: from 15 to 5, with one reverse between them. It is still 0.04 behind hye-paddle.
Abovyan does not gain clearly. +0.014 against the control's +0.006 is inside the noise. Raw it is a different story: 0.765 → 0.836 against the control's 0.797. The faint synthetic set does in the recogniser what the faint-page rule already does in the pipeline, so with the rule on there is little left to win.
Two registers are worse beyond noise. Kajaznuni is down on eight pages of ten and the dictionary on four of five. The fine-tune loses the lead on both (to hye-paddle and to Marker), so it leads nine registers where v7 leads eleven.
What the losses are
On Kajaznuni and Aghbalyan the fine-tune puts a space before a full stop or comma (78 spaces before a stop across the registers against v7's 32, 50 before a comma against 15), which costs the word. No training label has that space.
On the dictionary it is English letters: t→l and x→s.
It writes three dots where v7 writes … (8 ellipsis characters against v7's 60).
The run changed three things at once: italic crops in, a faint set in, and v7's own real crops cut from 0.5 of the batch to 0.35 with synthetic cut from 0.3 to 0.2. It cannot say which did the damage.
Second run, started 04:30 on 17 November (runs/v7-b023/finetune-italic.sh): one change against the control already trained. A fifth of the real half becomes the italic crops and nothing else moves: real_train-real_italic_train-syn_train-syn_caps_train-syn_latin_train at 0.4-0.1-0.3-0.1-0.1, no faint set, same parent, validation crops and iterations. If Khatisian keeps its gain and the others hold, the faint set and the thinner general material carried the cost.
Validation accuracy on the shared crops swings by more than a point between checkpoints of one run (86.1 to 88.7 in the fine-tune), so the checkpoint chosen is itself part of the noise.
Finished 07:23 on 17 November: runs/v7-b023-italic/bundle, log runs/v7-b023/finetune-italic.log. One change against the control: a fifth of the real half is the italic crops (0.4-0.1-0.3-0.1-0.1), no faint set.
Word recall through Tetrak's full pipeline (5.28.0, no paddle extra), change against v7 read the same way:
register
v7
italic run
control
first run
best other engine
Khatisian, memoirs
0.762
0.838 (+0.077)
+0.033
+0.057
0.856
Abovyan, vol. 1
0.835
0.856 (+0.021)
+0.006
+0.014
0.910
Dictionary hy–en
0.687
0.708 (+0.020)
+0.004
−0.021
0.678
Faustus
0.898
0.914 (+0.016)
−0.010
+0.005
0.922
Baronian, Azgayin jojer
0.888
0.901 (+0.013)
+0.004
+0.001
0.894
Kajaznuni
0.901
0.911 (+0.010)
−0.003
−0.022
0.886
Baronian vol. 10
0.937
0.945 (+0.008)
+0.002
−0.001
0.919
Aram Manukyan
0.934
0.941 (+0.007)
+0.002
+0.004
0.941
Otyan
0.950
0.958 (+0.007)
−0.002
−0.009
0.934
Haykakan tpagrutyun
0.927
0.933 (+0.006)
−0.001
+0.005
0.899
Toranian
0.939
0.943 (+0.005)
+0.008
+0.006
0.910
Medical encyclopedia
0.956
0.960 (+0.004)
−0.003
+0.002
0.933
Totovents
0.965
0.969 (+0.004)
+0.001
−0.000
0.941
Khrimian
0.958
0.958 (+0.001)
−0.002
−0.004
0.943
Aghbalyan
0.824
0.824 (+0.000)
−0.001
−0.007
0.846
Tumanyan
0.937
0.935 (−0.002)
−0.007
−0.007
0.913
ASE vol. 2
0.917
0.910 (−0.008)
−0.008
−0.002
0.865
mean of 17
0.895
0.906 (+0.011)
+0.001
+0.001
0.880
Fifteen registers are up and character similarity is up on sixteen. It leads thirteen registers where v7 leads eleven: Azgayin jojer and, by a hair, Aram Manukyan cross over. Raw, before the pipeline, the mean of eighteen goes 0.843 → 0.863 (control 0.851). Mshak, kept apart, goes 0.814 → 0.833.
Against the gate
Khatisian: met. All ten pages up. ռ→ո 22 → 5, ւ→: 15 → 0, ը→ր 21 → 4, three reverses between them. hye-paddle is still 0.018 ahead.
Abovyan: a modest gain, not a clear one. Seven pages up, two down, and over half of the gain is one page (271, 0.497 → 0.615). Aligned character errors do not fall. hye-paddle is still 0.054 ahead. This register's limit is the scan, as the diagnosis said, and the italic crops were never aimed at it.
The control does not gain: +0.001 on the mean.
No register worse beyond noise. ASE vol. 2 slips 0.008 on nine pages of ten, and the control slips the same 0.008 on the same pages, so that is the price of 3,000 more iterations on this recipe and not of the italic crops. Tumanyan's −0.002 is noise.
What the two runs say together
The first run's losses came from the faint set or from thinning v7's own material, not from the italic crops: spaces before a stop are 24 here against v7's 32 and the first run's 78.
One habit does come from the italic crops: three dots written for … (25 against v7's 1). The three books' transcripts type the dots; folding them at harvest is a small follow-up.
No evaluation page is among the italic crops' source pages (checked by page number against both manifests).
One run each, and validation accuracy swings by a point between checkpoints, so gains under 0.01 on a single register are not to be leaned on. The mean and Khatisian are well outside that.
Whether this bundle goes forward as the published model is a decision for Stephen (Stage 4); nothing has been uploaded.
Decision, 18 November: Stephen accepted the italic-only run as the next model, with Abovyan to follow as separate work. The gate box stays unticked because Abovyan's gain is modest, not clear; the model goes forward by decision, not because the box is met.
Found while writing the release record: v8 reads 53 of the 81 Russian words on the Tumanyan pages through the pipeline, where v7 reads 61 and the control also reads 61 (first run: 56). The italic crops carry almost no Cyrillic. Word recall on the register as a whole moved by −0.002, so nothing in the table showed it. It is recorded as a known defect against v8, with the three dots and the encyclopedia's −0.008.
Release record and card: #93. v8 is on the private staging repository (tag v8), checksums verified; the public upload has not been made.
Published, 18 November. With #93 merged and its checks green, v8 went to tetrak/easyocr-armenian: tag v8 at commit 03f3f1d30b14b80bf3a04a72699be056b0113fd3, checksums verified against the local bundle, v7 unmoved. The library release that pins it is scattercode/tetrak-easyocr-armenian#32; Tetrak's floor and register table follow once that is on PyPI.
Closing: the fine-tune, its control and both measurements are done, and the italic-only run shipped as v8 on 18 November (Hub tag v8, this repository 0.20.0, tetrak-easyocr-armenian 0.13.0, Tetrak 5.30.0).
The fourth box stays unticked on purpose. Khatisian gained clearly and no register is worse beyond noise, but Abovyan's gain was modest; v8 went forward by decision. Abovyan is the follow-up, with what was measured about it in the comments above. Still open under this brief: #88 (cursive faces), #89 (the faint set's share) and #90.
Activity
stephen-masters commentedon Nov 16, 2026
Started 16 November 2026, 22:35, from v7's released checkpoint. Script and log:
runs/v7-b023/finetune.sh,finetune.log.Treatment (
runs/v7-b023/): v7's recipe with the new material carved out of each half.real_trainreal_italic_train(#90)syn_trainsyn_faint_train(#89; 15,000 lines twice,--faint-share 1.0)syn_caps_trainsyn_latin_trainControl (
runs/v7-b023-control/): v7's own0.5-0.3-0.1-0.1, same parent, same iterations.Both run 3,000 iterations and validate on the same 23,722 real crops: v7's validation set with the three italic sources replaced by the new pass's validation pages.
real_trainis v7's minus 206 crops from pages that pass holds for validation, so no page is in both.The script then saves raw register readings for both bundles and reads every register through Tetrak's pipeline with each.
Not in this run: cursive faces (#88 has leads only), so the Khatisian letterforms come from its real crops alone. The faint set's tenth is by analogy with the capitals and English sets, not yet chosen on validation crops (#89).
stephen-masters commentedon Nov 17, 2026
First run: the gate is not met
Both runs finished on 17 November (3,000 iterations each from v7's released checkpoint,
runs/v7-b023/finetune.log). The fine-tune isruns/v7-b023/bundle, the controlruns/v7-b023-control/bundle. Neither is a candidate to publish.Word recall through Tetrak's full pipeline (5.28.0, faint-page rule on, no
paddleextra), against v7 read the same way:The other nine registers moved by less than 0.006 in the fine-tune. The control's own spread on registers it had no reason to move (−0.010 to +0.008) is the noise to read the rest against.
Against the gate
ռ→ոfalls from 22 to 2 andւ→:from 15 to 5, with one reverse between them. It is still 0.04 behind hye-paddle.What the losses are
t→landx→s.…(8 ellipsis characters against v7's 60).The run changed three things at once: italic crops in, a faint set in, and v7's own real crops cut from 0.5 of the batch to 0.35 with synthetic cut from 0.3 to 0.2. It cannot say which did the damage.
Second run, started 04:30 on 17 November (
runs/v7-b023/finetune-italic.sh): one change against the control already trained. A fifth of the real half becomes the italic crops and nothing else moves:real_train-real_italic_train-syn_train-syn_caps_train-syn_latin_trainat0.4-0.1-0.3-0.1-0.1, no faint set, same parent, validation crops and iterations. If Khatisian keeps its gain and the others hold, the faint set and the thinner general material carried the cost.Validation accuracy on the shared crops swings by more than a point between checkpoints of one run (86.1 to 88.7 in the fine-tune), so the checkpoint chosen is itself part of the noise.
stephen-masters commentedon Nov 17, 2026
Second run: the italic crops alone
Finished 07:23 on 17 November:
runs/v7-b023-italic/bundle, logruns/v7-b023/finetune-italic.log. One change against the control: a fifth of the real half is the italic crops (0.4-0.1-0.3-0.1-0.1), no faint set.Word recall through Tetrak's full pipeline (5.28.0, no
paddleextra), change against v7 read the same way:Fifteen registers are up and character similarity is up on sixteen. It leads thirteen registers where v7 leads eleven: Azgayin jojer and, by a hair, Aram Manukyan cross over. Raw, before the pipeline, the mean of eighteen goes 0.843 → 0.863 (control 0.851). Mshak, kept apart, goes 0.814 → 0.833.
Against the gate
ռ→ո22 → 5,ւ→:15 → 0,ը→ր21 → 4, three reverses between them. hye-paddle is still 0.018 ahead.What the two runs say together
…(25 against v7's 1). The three books' transcripts type the dots; folding them at harvest is a small follow-up.One run each, and validation accuracy swings by a point between checkpoints, so gains under 0.01 on a single register are not to be leaned on. The mean and Khatisian are well outside that.
Whether this bundle goes forward as the published model is a decision for Stephen (Stage 4); nothing has been uploaded.
stephen-masters commentedon Nov 18, 2026
Decision, 18 November: Stephen accepted the italic-only run as the next model, with Abovyan to follow as separate work. The gate box stays unticked because Abovyan's gain is modest, not clear; the model goes forward by decision, not because the box is met.
Found while writing the release record: v8 reads 53 of the 81 Russian words on the Tumanyan pages through the pipeline, where v7 reads 61 and the control also reads 61 (first run: 56). The italic crops carry almost no Cyrillic. Word recall on the register as a whole moved by −0.002, so nothing in the table showed it. It is recorded as a known defect against v8, with the three dots and the encyclopedia's −0.008.
Release record and card: #93. v8 is on the private staging repository (tag
v8), checksums verified; the public upload has not been made.feat(release): record v8, v7 fine-tuned on the italic crops (#93)
stephen-masters commentedon Nov 18, 2026
Published, 18 November. With #93 merged and its checks green, v8 went to
tetrak/easyocr-armenian: tagv8at commit03f3f1d30b14b80bf3a04a72699be056b0113fd3, checksums verified against the local bundle,v7unmoved. The library release that pins it is scattercode/tetrak-easyocr-armenian#32; Tetrak's floor and register table follow once that is on PyPI.stephen-masters commentedon Nov 18, 2026
Closing: the fine-tune, its control and both measurements are done, and the italic-only run shipped as v8 on 18 November (Hub tag
v8, this repository 0.20.0, tetrak-easyocr-armenian 0.13.0, Tetrak 5.30.0).The fourth box stays unticked on purpose. Khatisian gained clearly and no register is worse beyond noise, but Abovyan's gain was modest; v8 went forward by decision. Abovyan is the follow-up, with what was measured about it in the comments above. Still open under this brief: #88 (cursive faces), #89 (the faint set's share) and #90.