Download code/tt_dsocr/samples/line_en/sample.json from changh95/DeepSeek-OCR: direct link, hf CLI and curl.
- Browser
- Download file 1.49 kB
-
https://huggingface.co/changh95/DeepSeek-OCR/resolve/main/code/tt_dsocr/samples/line_en/sample.json
- Command line
-
hf download hf://changh95/DeepSeek-OCR/code/tt_dsocr/samples/line_en/sample.json
-
curl -L -o sample.json https://huggingface.co/changh95/DeepSeek-OCR/resolve/main/code/tt_dsocr/samples/line_en/sample.json
1.49 kB
| { | |
| "file": "sample.png", | |
| "sha256": "7396d793c2a80cb41dbdc5feb9d8183cef44e8cfa8d834ff1c7eef78fc725b06", | |
| "bytes": 6599, | |
| "width": 709, | |
| "height": 64, | |
| "image_mode": "RGB", | |
| "task": "free", | |
| "mode": "gundam", | |
| "prompt": "<image>\nFree OCR.", | |
| "rendered_content": "Invoice No. 2026-0417, due 15 December 2026.", | |
| "expected_text": "Invoice No. 2026-0417, due 15 December 2026.", | |
| "max_cer": 0.02, | |
| "expected_source": "official float32 output of deepseek-ai/DeepSeek-OCR (transformers 4.46.3, torch 2.6.0 CPU, greedy, no_repeat_ngram_size 20; Gundam: 9 x 1 tiles, 1183 image tokens); the p150 output: PENDING", | |
| "source": "the test image 'line_en' 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": "free", | |
| "mode": "base", | |
| "prompt": "<image>\nFree OCR.", | |
| "expected_text": "Invoice No. 2026-0417, due 15 December 2026.", | |
| "max_cer": 0.02, | |
| "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; Base: one 1024 x 1024 view, 257 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" | |
| } | |
| } | |
| } | |