File size: 2,497 Bytes
13ad026
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
 "arch": "TrOCR ViT encoder (large_en) + 2-layer transformer CTC head (exp35)",
 "arm": "diffpen",
 "init": "cyttic/exp35-trocr-large-en-ctc-seqhead-allreal-synpunct",
 "augmentation": "Augment strength 0.7",
 "epochs": 6,
 "lr_enc": 1e-05,
 "lr_head": 0.0001,
 "sources": {
  "hhd": "cyttic/trocr-hebrew-matan train+test",
  "sce": "cyttic/trocr-hebrew-human train+test",
  "pinkas": "cyttic/pinkas-hebrew-lines",
  "synthetic": "cyttic/heb-synth-punct-digits-hhf (minus 1000 held out)",
  "diffpen": "cyttic/heb-llmgen10k-diffpen-uni10aug-hhdgeom (29997 lines)",
  "cursive_fonts": "cyttic/heb-llmgen20k-uni10aug-hhdgeom (20000 lines)"
 },
 "phase_B_frac": {
  "synthetic": 0.2,
  "diffpen": 0.16,
  "cursive_fonts": 0.09
 },
 "control": "cyttic/exp35cont-large-ctrl",
 "train_lines": {
  "hhd": 5649,
  "sce": 5303,
  "pinkas": 938
 },
 "density_target": 22.9,
 "seq_layers": 2,
 "encoder_source": "microsoft/trocr-large-handwritten",
 "sub_frames": 2,
 "proj": 512,
 "n_classes": 198,
 "preprocess": "HebrewBlockProcessor AUTOCROP=False",
 "best_checkpoint": "C_diffpen ep6",
 "val_cer_raw": 0.04666721392218027,
 "note": "trained on HHD train+test, SCE, Pinkas: evaluate on the ivrit.ai benchmark only",
 "results": {
  "exp35_checkpoint_val_greedy": {
   "cer_raw": 0.04670825808570021,
   "wer_raw": 0.2072113190324053,
   "cer_norm": 0.04666721392218027,
   "wer_norm": 0.2072113190324053,
   "cer_let": 0.044257157377604606,
   "wer_let": 0.19595536959553697
  },
  "greedy": {
   "val": {
    "cer_raw": 0.04666721392218027,
    "wer_raw": 0.2067549064354176,
    "cer_norm": 0.04654408143162042,
    "wer_norm": 0.2067549064354176,
    "cer_let": 0.04391834660342199,
    "wer_let": 0.19409576940957693
   },
   "syn_holdout": {
    "cer_raw": 0.0005692479601948093,
    "wer_raw": 0.0028534062537153727,
    "cer_norm": 0.0005692479601948093,
    "wer_norm": 0.0028534062537153727,
    "cer_let": 0.0002535555401885531,
    "wer_let": 0.0013525144473134146
   }
  },
  "beam12_charLM": {
   "val": {
    "cer_raw": 0.04014119192250862,
    "wer_raw": 0.17092651757188498,
    "cer_norm": 0.04010014775898867,
    "wer_norm": 0.17092651757188498,
    "cer_let": 0.0298576994748433,
    "wer_let": 0.11854951185495119
   },
   "syn_holdout": {
    "cer_raw": 0.0015179945605194914,
    "wer_raw": 0.008084651052193557,
    "cer_norm": 0.0015179945605194914,
    "wer_norm": 0.008084651052193557,
    "cer_let": 0.00013830302192102898,
    "wer_let": 0.0006147792942333702
   }
  }
 }
}