Nasa1423 commited on
Commit
63a0e2c
·
verified ·
1 Parent(s): c73a92e

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +71 -0
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ base_model: prithivMLmods/Camel-Doc-OCR-062825
5
+ pipeline_tag: image-text-to-text
6
+ library_name: transformers
7
+ tags:
8
+ - Document
9
+ - KIE
10
+ - OCR
11
+ - VL
12
+ - Camel
13
+ - Openpdf
14
+ - text-generation-inference
15
+ - Extraction
16
+ - Linking
17
+ - Markdown
18
+ - .Md
19
+ - llama-cpp
20
+ - gguf-my-repo
21
+ datasets:
22
+ - prithivMLmods/OpenDoc-Pdf-Preview
23
+ - prithivMLmods/Opendoc1-Analysis-Recognition
24
+ - allenai/olmOCR-mix-0225
25
+ - prithivMLmods/Openpdf-Analysis-Recognition
26
+ license: apache-2.0
27
+ ---
28
+
29
+ # Nasa1423/Camel-Doc-OCR-062825-Q8_0-GGUF
30
+ This model was converted to GGUF format from [`prithivMLmods/Camel-Doc-OCR-062825`](https://huggingface.co/prithivMLmods/Camel-Doc-OCR-062825) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
31
+ Refer to the [original model card](https://huggingface.co/prithivMLmods/Camel-Doc-OCR-062825) for more details on the model.
32
+
33
+ ## Use with llama.cpp
34
+ Install llama.cpp through brew (works on Mac and Linux)
35
+
36
+ ```bash
37
+ brew install llama.cpp
38
+
39
+ ```
40
+ Invoke the llama.cpp server or the CLI.
41
+
42
+ ### CLI:
43
+ ```bash
44
+ llama-cli --hf-repo Nasa1423/Camel-Doc-OCR-062825-Q8_0-GGUF --hf-file camel-doc-ocr-062825-q8_0.gguf -p "The meaning to life and the universe is"
45
+ ```
46
+
47
+ ### Server:
48
+ ```bash
49
+ llama-server --hf-repo Nasa1423/Camel-Doc-OCR-062825-Q8_0-GGUF --hf-file camel-doc-ocr-062825-q8_0.gguf -c 2048
50
+ ```
51
+
52
+ Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well.
53
+
54
+ Step 1: Clone llama.cpp from GitHub.
55
+ ```
56
+ git clone https://github.com/ggerganov/llama.cpp
57
+ ```
58
+
59
+ Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
60
+ ```
61
+ cd llama.cpp && LLAMA_CURL=1 make
62
+ ```
63
+
64
+ Step 3: Run inference through the main binary.
65
+ ```
66
+ ./llama-cli --hf-repo Nasa1423/Camel-Doc-OCR-062825-Q8_0-GGUF --hf-file camel-doc-ocr-062825-q8_0.gguf -p "The meaning to life and the universe is"
67
+ ```
68
+ or
69
+ ```
70
+ ./llama-server --hf-repo Nasa1423/Camel-Doc-OCR-062825-Q8_0-GGUF --hf-file camel-doc-ocr-062825-q8_0.gguf -c 2048
71
+ ```