File size: 2,275 Bytes
b8b3105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
 "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"
  }
 }
}