File size: 1,586 Bytes
c60a316
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
 "file": "sample.png",
 "sha256": "9cd3a957c51dbb300b0d6a55945bcdd4aa6bc99b1d708ef4c57f6bf024ec6d10",
 "bytes": 26019,
 "width": 600,
 "height": 400,
 "image_mode": "RGB",
 "only": [
  "schift-ocr-1-beta"
 ],
 "task": "parse",
 "mode": "gundam",
 "prompt": "<image>document parsing.",
 "rendered_content": "๊ณต์ง€์‚ฌํ•ญ / a two-sentence notice of a planned online-banking outage / ํ•œ๋น›์€ํ–‰ ๊ณ ๊ฐ์ง€์›ํŒ€",
 "expected_text": "<|det|>title [381, 116, 604, 222]<|/det|>๊ณต์ง€์‚ฌํ•ญ\n<|det|>text [78, 306, 903, 382]<|/det|>12์›” 5์ผ(๊ธˆ) ์˜คํ›„ 2์‹œ๋ถ€ํ„ฐ 4์‹œ๊นŒ์ง€ ์ „์‚ฐ ์ ๊ฒ€์œผ๋กœ\n<|det|>text [80, 416, 796, 486]<|/det|>์ธํ„ฐ๋„ท๋ฑ…ํ‚น ์ด์šฉ์ด ์ผ์‹œ ์ค‘๋‹จ๋ฉ๋‹ˆ๋‹ค. ์ด์šฉ์—\n<|det|>text [80, 519, 481, 588]<|/det|>๋ถˆํŽธ์„ ๋“œ๋ ค ์ฃ„์†กํ•ฉ๋‹ˆ๋‹ค.\n<|det|>text [548, 828, 862, 894]<|/det|>ํ•œ๋น›์€ํ–‰ ๊ณ ๊ฐ์ง€์›ํŒ€",
 "max_cer": 0.03,
 "expected_source": "official float32 output of schift-io/schift-ocr-1-beta (its remote code on the CPU, transformers 4.52.1, torch 2.6.0, greedy, no n-gram rule, the 128-token decode window; Gundam: the global view only (no tiles), 273 image tokens, 146 tokens); the p150 output (tt-nn decoder): the same blocks, labels and text; box coordinates within 3 units",
 "source": "the test page 'ko_notice' of this port's Korean test set (research/dsocr/golden/make_images_schift.py)",
 "max_cer_note": "the raw output carries a layout box per block: the p150 differs from float32 only in a few box coordinates (near-ties of 1-3 units on the 0..999 scale; the text is identical), 0.014-0.018 of the raw characters on these two pages"
}