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