turkic-ocr-code / scripts /j2 /prompts.json
treoa's picture
Release 1
24aaa76
Raw History Blame Contribute Delete
4.65 kB
{
"paddleocr_vl_1_6": {
"prompt": "OCR:",
"readme_line_no": 198,
"readme_line_text": "\"ocr\": \"OCR:\",",
"note": "card task table, transformers example; text prompt PROMPTS[task] with task='ocr'",
"enable_thinking_false": false,
"images_kwargs": {
"size": {
"shortest_edge": "MIN_PIXELS_FROM_PROCESSOR",
"longest_edge": 1003520
}
}
},
"granite_docling_258m": {
"prompt": "Convert this page to docling.",
"readme_line_no": 167,
"readme_line_text": "{\"type\": \"text\", \"text\": \"Convert this page to docling.\"}",
"note": "closest documented: card documents no plain-text prompt; this is the card's transformers example (page to DocTags); tags removed by the common post-processing",
"enable_thinking_false": false,
"images_kwargs": null
},
"ovisocr2": {
"prompt": "\nExtract all readable content from the image in natural human reading order and output the result as a single Markdown document. For charts or images, represent them using an HTML image tag: <img src=\"images/bbox_{left}_{top}_{right}_{bottom}.jpg\" />, where left, top, right, bottom are bounding box coordinates scaled to [0, 1000). Format formulas as LaTeX. Format tables as HTML: <table>...</table>. Transcribe all other text as standard Markdown. Preserve the original text without translation or paraphrasing.",
"readme_line_no": 72,
"readme_line_text": "prompt = '\\nExtract all readable content from the image in natural human reading order and output the result as a single Markdown document. For charts or images, represent them using an HTML image tag: <' + 'img src=\"images/bbox_{left}_{top}_{right}_{bottom}.jpg\" />, where left, top, right, bottom are bounding box coordinates scaled to [0, 1000). Format formulas as LaTeX. Format tables as HTML: <table>...</table>. Transcribe all other text as standard Markdown. Preserve the original text without translation or paraphrasing.'",
"note": "card's page-parsing prompt (vLLM example), including its leading newline; closest documented, no plain-text prompt exists",
"enable_thinking_false": true,
"images_kwargs": {
"size": {
"shortest_edge": 200704,
"longest_edge": 8294400
}
}
},
"lightonocr_3_0_8b": {
"prompt": "",
"readme_line_no": 61,
"readme_line_text": "The models can be used as before in a **transcription-only mode**: called with an empty prompt (`\"\"`; the image only), they output all textual elements of the page as markdown. If you are currently using our previous models, switching to LightOnOCR-3 requires no change, as this is the default behavior.",
"note": "transcription mode = empty prompt, image only (no text part)",
"enable_thinking_false": true,
"images_kwargs": null
},
"lightonocr_3_1b": {
"prompt": "",
"readme_line_no": 58,
"readme_line_text": "The models can be used as before in a **transcription-only mode**: called with an empty prompt (`\"\"`; the image only), they output all textual elements of the page as markdown. If you are currently using our previous models, switching to LightOnOCR-3 requires no change, as this is the default behavior.",
"note": "transcription mode = empty prompt, image only (no text part)",
"enable_thinking_false": false,
"images_kwargs": null
},
"hunyuanocr": {
"prompt": "请提取图片中的文字内容。",
"readme_line_no": 201,
"readme_line_text": "{\"type\": \"text\", \"text\": \"请提取图片中的文字内容。\"},",
"note": "plain text extraction prompt in the card's OpenAI-SDK example; the card's default markdown page-parse prompt is not used",
"enable_thinking_false": false,
"images_kwargs": null
},
"glm_ocr": {
"prompt": "Text Recognition:",
"readme_line_no": 91,
"readme_line_text": "\"text\": \"Text Recognition:\",",
"note": "card 'Prompt Limited' list, document parsing task 'text'",
"enable_thinking_false": false,
"images_kwargs": null
},
"minicpm_ocr_1_0": {
"prompt": "Text Recognition:",
"readme_line_no": 326,
"readme_line_text": "<td><code>Text Recognition:</code></td>",
"note": "card 'Recognition guide' table, row 'Text block / Paragraph / Title / Page' -> plain text",
"enable_thinking_false": false,
"images_kwargs": null
},
"qwen3_vl_2b": {
"prompt": "Read the text in the image. Output only the text.",
"readme_line_no": 107,
"readme_line_text": "{\"type\": \"text\", \"text\": \"Describe this image.\"},",
"note": "NOT FROM THE CARD (departure by J2): the card documents only 'Describe this image.', which is not text reading; this plain instruction was frozen before any output existed",
"enable_thinking_false": false,
"images_kwargs": null
}
}