update system prompt
Browse files
README.md
CHANGED
@@ -6,6 +6,8 @@ base_model: nanonets/Nanonets-OCR-s
|
|
6 |
pipeline_tag: image-text-to-text
|
7 |
tags:
|
8 |
- OCR
|
|
|
|
|
9 |
---
|
10 |
|
11 |
Quatized [nanonets/Nanonets-OCR-s](https://huggingface.co/nanonets/Nanonets-OCR-s) with llama.cpp commit fb85a288
|
@@ -13,5 +15,18 @@ Quatized [nanonets/Nanonets-OCR-s](https://huggingface.co/nanonets/Nanonets-OCR-
|
|
13 |
Multiple ways to use:
|
14 |
|
15 |
- run with llama.cpp: `./llama-server -m "Nanonets-OCR-s-Q4_K_M.gguf" --mmproj "mmproj-Nanonets-OCR-s.gguf"`
|
16 |
-
- use with lmstudio: just pull from `benhaotang/Nanonets-OCR-s-GGUF` **(Warning
|
17 |
-
- use with ollama: `ollama run benhaotang/Nanonets-OCR-s`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
pipeline_tag: image-text-to-text
|
7 |
tags:
|
8 |
- OCR
|
9 |
+
base_model_relation: quantized
|
10 |
+
quantized_by: benhaotang
|
11 |
---
|
12 |
|
13 |
Quatized [nanonets/Nanonets-OCR-s](https://huggingface.co/nanonets/Nanonets-OCR-s) with llama.cpp commit fb85a288
|
|
|
15 |
Multiple ways to use:
|
16 |
|
17 |
- run with llama.cpp: `./llama-server -m "Nanonets-OCR-s-Q4_K_M.gguf" --mmproj "mmproj-Nanonets-OCR-s.gguf"`
|
18 |
+
- use with lmstudio: just pull from `benhaotang/Nanonets-OCR-s-GGUF` **(Warning‼️: change chat template to chatml in model settings)**
|
19 |
+
- use with ollama: `ollama run benhaotang/Nanonets-OCR-s`
|
20 |
+
|
21 |
+
Suggested system prompt:
|
22 |
+
|
23 |
+
```
|
24 |
+
Extract the text from the above document as if you were reading it naturally.
|
25 |
+
Return the tables in html format. Return the equations in LaTeX representation.
|
26 |
+
If there is an image in the document and image caption is not present,
|
27 |
+
add a small description of the image inside the <img></img> tag;
|
28 |
+
otherwise, add the image caption inside <img></img>.
|
29 |
+
Watermarks should be wrapped in brackets. Ex: <watermark>OFFICIAL COPY</watermark>.
|
30 |
+
Page numbers should be wrapped in brackets. Ex: <page_number>14</page_number> or <page_number>9/22</page_number>.
|
31 |
+
Prefer using ☐ and ☑ for check boxes.
|
32 |
+
```
|