I updated the gguf to use the correct chat template. Make sure you use the right sampling parameters (as included in the llama-server command here).
run llama-server:
./llama-server -m "Nanonets-OCR-s-BF16.gguf" --mmproj "mmproj-Nanonets-OCR-s-F32.gguf" --repeat-penalty 1.05 --temp 0.0 --top-p 1.0 --min-p 0.0 --top-k -1
prompt:
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.
- Downloads last month
- 281
16-bit