Download code/tt_dsocr/samples/table_sales/sample.json from changh95/Unlimited-OCR-2: direct link, hf CLI and curl.
- Browser
- Download file 2.28 kB
-
https://huggingface.co/changh95/Unlimited-OCR-2/resolve/main/code/tt_dsocr/samples/table_sales/sample.json
- Command line
-
hf download hf://changh95/Unlimited-OCR-2/code/tt_dsocr/samples/table_sales/sample.json
-
curl -L -o sample.json https://huggingface.co/changh95/Unlimited-OCR-2/resolve/main/code/tt_dsocr/samples/table_sales/sample.json
2.28 kB
| { | |
| "file": "sample.png", | |
| "sha256": "4a66543fd70ea0c245f9749b36efddd5d41724f9e4a98516477609439bc78ac8", | |
| "bytes": 27013, | |
| "width": 790, | |
| "height": 376, | |
| "image_mode": "RGB", | |
| "task": "markdown", | |
| "mode": "gundam", | |
| "prompt": "<image>\n<|grounding|>Convert the document to markdown.", | |
| "rendered_content": [ | |
| [ | |
| "Region", | |
| "Q1", | |
| "Q2", | |
| "Q3", | |
| "Total" | |
| ], | |
| [ | |
| "North", | |
| "1,204", | |
| "1,388", | |
| "1,512", | |
| "4,104" | |
| ], | |
| [ | |
| "South", | |
| "986", | |
| "1,047", | |
| "1,120", | |
| "3,153" | |
| ], | |
| [ | |
| "East", | |
| "1,530", | |
| "1,492", | |
| "1,611", | |
| "4,633" | |
| ], | |
| [ | |
| "West", | |
| "742", | |
| "815", | |
| "903", | |
| "2,460" | |
| ], | |
| [ | |
| "Total", | |
| "4,462", | |
| "4,742", | |
| "5,146", | |
| "14,350" | |
| ] | |
| ], | |
| "expected_text": "PENDING", | |
| "max_cer": 0.05, | |
| "expected_source": "PENDING: the official float32 golden of this image (Gundam, markdown) is being computed", | |
| "source": "the test image 'table_sales' of this port's DeepSeek-OCR test set; the same synthetic image as the sample of the same author's GLM-OCR package, identical SHA-256", | |
| "variants": { | |
| "deepseek-ocr-2": { | |
| "task": "markdown", | |
| "mode": "gundam", | |
| "prompt": "<image>\n<|grounding|>Convert the document to markdown.", | |
| "expected_text": "<|ref|>table<|/ref|><|det|>[[21, 51, 977, 949]]<|/det|>\n<table><tr><td>Region</td><td>Q1</td><td>Q2</td><td>Q3</td><td>Total</td></tr><tr><td>North</td><td>1,204</td><td>1,388</td><td>1,512</td><td>4,104</td></tr><tr><td>South</td><td>986</td><td>1,047</td><td>1,120</td><td>3,153</td></tr><tr><td>East</td><td>1,530</td><td>1,492</td><td>1,611</td><td>4,633</td></tr><tr><td>West</td><td>742</td><td>815</td><td>903</td><td>2,460</td></tr><tr><td>Total</td><td>4,462</td><td>4,742</td><td>5,146</td><td>14,350</td></tr></table>", | |
| "max_cer": 0.05, | |
| "expected_source": "official float32 output of deepseek-ai/DeepSeek-OCR-2 (transformers 4.46.3, torch 2.6.0 CPU, greedy, no_repeat_ngram_size 20; Gundam: 2 x 1 tiles of 768, 545 image tokens); the p150 output: PENDING" | |
| }, | |
| "unlimited-ocr-2": { | |
| "task": "parse", | |
| "mode": "gundam", | |
| "prompt": "Multi page parsing.", | |
| "expected_text": "PENDING", | |
| "max_cer": 0.05, | |
| "expected_source": "PENDING: the official float32 output of baidu/Unlimited-OCR-2 for this page (Gundam) is being computed" | |
| } | |
| } | |
| } | |