changh95's picture
tt-model push schift-ocr-1-beta (container)
ca1a504 verified
Raw History Blame Contribute Delete
2.03 kB
{
"file": "sample.png",
"sha256": "d21cea04bb42af840612169f47356b411b2e8a626a341a95230bf4bc29ce029e",
"bytes": 58477,
"width": 1400,
"height": 900,
"image_mode": "RGB",
"only": [
"schift-ocr-1-beta"
],
"task": "parse",
"mode": "gundam",
"prompt": "<image>document parsing.",
"rendered_content": "2026๋…„ 3๋ถ„๊ธฐ ์ง€์—ญ๋ณ„ ํŒ๋งค ์‹ค์  / (๋‹จ์œ„: ๋ฐฑ๋งŒ ์›) / a 5-region x (7์›”, 8์›”, 9์›”, ํ•ฉ๊ณ„) table with a merged header / โ€ป note",
"expected_text": "<|det|>title [56, 74, 428, 127]<|/det|>2026๋…„ 3๋ถ„๊ธฐ ์ง€์—ญ๋ณ„ ํŒ๋งค ์‹ค์ \n<|det|>text [58, 141, 162, 175]<|/det|>(๋‹จ์œ„: ๋ฐฑ๋งŒ ์›)\n<|det|>table [56, 206, 889, 760]<|/det|><table><tr><td rowspan=\"2\">์ง€์—ญ</td><td colspan=\"3\">3๋ถ„๊ธฐ ๋งค์ถœ</td><td rowspan=\"2\">ํ•ฉ๊ณ„</td></tr><tr><td>7์›”</td><td>8์›”</td><td>9์›”</td></tr><tr><td>์„œ์šธ</td><td>412</td><td>398</td><td>455</td><td>1,265</td></tr><tr><td>๋ถ€์‚ฐ</td><td>233</td><td>241</td><td>260</td><td>734</td></tr><tr><td>๋Œ€๊ตฌ</td><td>158</td><td>149</td><td>171</td><td>478</td></tr><tr><td>๊ด‘์ฃผ</td><td>120</td><td>131</td><td>127</td><td>378</td></tr><tr><td>ํ•ฉ๊ณ„</td><td>923</td><td>919</td><td>1,013</td><td>2,855</td></tr></table>\n<|det|>text [56, 804, 417, 840]<|/det|>โ€ป ๋ถ€๊ฐ€๊ฐ€์น˜์„ธ ์ œ์™ธ ๊ธˆ์•ก์ด๋ฉฐ, 9์›” ์‹ค์ ์€ ์ž ์ •์น˜์ž„.",
"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: 3 x 2 tiles, 893 image tokens, 253 tokens); the p150 output (tt-nn decoder): the same blocks, labels and text; box coordinates within 3 units",
"source": "the test page 'ko_table' 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"
}