{ "file": "sample.png", "sha256": "624407d55db2b02127ef3973c616ae6c4cbe496415805ed45849a83057972c68", "bytes": 6057, "width": 500, "height": 130, "image_mode": "RGB", "task": "free", "mode": "tiny", "prompt": "\nFree OCR.", "rendered_content": "$x = \\frac{-b \\pm \\sqrt{b^{2} - 4ac}}{2a}$", "expected_text": "\\[ X = \\frac{-b \\pm \\sqrt{b^2 - 4ac}}{2a} \\]", "max_cer": 0.05, "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; Tiny: 73 image tokens; the model writes a capital X); the p150 output (this package's container, tt-nn decoder, 2026-12-02): character error rate 0.046 against this text (no spaces inside \\[ \\]: a float32 near tie)", "source": "the test image 'formula_quad' 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": "gundam", "prompt": "\nFree OCR.", "expected_text": "\\[x = \\frac{-b \\pm \\sqrt{b^2 - 4ac}}{2a}\\]", "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 without tiles: 257 image tokens); the p150 output (this package's container, tt-nn decoder, 2026-12-02): identical" }, "unlimited-ocr-2": { "task": "parse", "mode": "gundam", "prompt": "Multi page parsing.", "expected_text": "equation[184, 243, 812, 760]$$\nx = \\frac {- b \\pm \\sqrt {b ^ {2} - 4 a c}}{2 a}\n$$", "max_cer": 0.05, "expected_source": "official float32 output of baidu/Unlimited-OCR-2 (transformers 4.52.1, torch 2.6.0 CPU, greedy, page-count guard on, no n-gram rule: the official infer defaults; one page, Gundam without tiles: 273 image tokens + the marker; the raw output with its layout tags); the p150 output (this package's container, tt-nn decoder, 2026-12-02): identical" } } }