Prompt used for blog examples

#35
by TK-13 - opened

Hi!

I was wondering what was the prompt used for the example images in the blog: https://nanonets.com/research/nanonets-ocr-s/

Specifically "2. Intelligent Image Description", I am using the transformers code so the current prompt is: Extract the text from the above document as if you were reading it naturally. Return the tables in html format. Return the equations in LaTeX representation. If there is an image in the document and image caption is not present, add a small description of the image inside the <img></img> tag; otherwise, add the image caption inside <img></img>. Watermarks should be wrapped in brackets. Ex: <watermark>OFFICIAL COPY</watermark>. Page numbers should be wrapped in brackets. Ex: <page_number>14</page_number> or <page_number>9/22</page_number>. Prefer using ☐ and β˜‘ for check boxes.

However in my results the model does not explain images like shown in the example and does not indicate the page number.

Sign up or log in to comment