File size: 1,679 Bytes
ca1a504
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
 "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 (this package's container, tt-nn decoder, 2026-12-02): identical",
 "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 (this package's container, tt-nn decoder, 2026-12-02): identical"
  },
  "unlimited-ocr-2": {
   "task": "parse",
   "mode": "gundam",
   "prompt": "Multi page parsing.",
   "expected_text": "",
   "max_cer": 0.05,
   "expected_source": "no float32 reference was computed for this page with Unlimited-OCR-2 (its references are the formula and the table samples); the smoke test checks the answer's form and determinism only"
  }
 }
}