Download code/tt_dsocr/samples/ko_table/sample.json from changh95/schift-ocr-1-beta: direct link, hf CLI and curl.
- Browser
- Download file 2.03 kB
-
https://huggingface.co/changh95/schift-ocr-1-beta/resolve/main/code/tt_dsocr/samples/ko_table/sample.json
- Command line
-
hf download hf://changh95/schift-ocr-1-beta/code/tt_dsocr/samples/ko_table/sample.json
-
curl -L -o sample.json https://huggingface.co/changh95/schift-ocr-1-beta/resolve/main/code/tt_dsocr/samples/ko_table/sample.json
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" | |
| } |