Image-to-Text
Transformers
GGUF
PaddleOCR
English
cuneiform
transliteration
ocr
Sumerian
Akkadian
PaddlePaddle
conversational
Instructions to use mradermacher/NabuOCR-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/NabuOCR-GGUF with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("image-to-text", model="mradermacher/NabuOCR-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/NabuOCR-GGUF", device_map="auto") - PaddleOCR
How to use mradermacher/NabuOCR-GGUF with PaddleOCR:
# Please refer to the document for information on how to use the model. # https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/module_usage/module_overview.html
- llama-cpp-python
How to use mradermacher/NabuOCR-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="mradermacher/NabuOCR-GGUF", filename="NabuOCR.IQ4_XS.gguf", )
llm.create_chat_completion( messages = "\"cats.jpg\"" )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/NabuOCR-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf mradermacher/NabuOCR-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/NabuOCR-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mradermacher/NabuOCR-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/NabuOCR-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf mradermacher/NabuOCR-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/NabuOCR-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf mradermacher/NabuOCR-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/NabuOCR-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/NabuOCR-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/NabuOCR-GGUF with Ollama:
ollama run hf.co/mradermacher/NabuOCR-GGUF:Q4_K_M
- Unsloth Studio
How to use mradermacher/NabuOCR-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mradermacher/NabuOCR-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mradermacher/NabuOCR-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mradermacher/NabuOCR-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use mradermacher/NabuOCR-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/NabuOCR-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/NabuOCR-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/NabuOCR-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.NabuOCR-GGUF-Q4_K_M
List all available models
lemonade list
uploaded from leia
Browse files- .gitattributes +12 -0
- NabuOCR.IQ4_XS.gguf +3 -0
- NabuOCR.Q2_K.gguf +3 -0
- NabuOCR.Q3_K_L.gguf +3 -0
- NabuOCR.Q3_K_M.gguf +3 -0
- NabuOCR.Q3_K_S.gguf +3 -0
- NabuOCR.Q4_K_M.gguf +3 -0
- NabuOCR.Q4_K_S.gguf +3 -0
- NabuOCR.Q5_K_M.gguf +3 -0
- NabuOCR.Q5_K_S.gguf +3 -0
- NabuOCR.Q6_K.gguf +3 -0
- NabuOCR.Q8_0.gguf +3 -0
- NabuOCR.f16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
NabuOCR.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
NabuOCR.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
NabuOCR.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
NabuOCR.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
NabuOCR.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
NabuOCR.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
NabuOCR.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
NabuOCR.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
NabuOCR.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
NabuOCR.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
NabuOCR.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
NabuOCR.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
NabuOCR.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7266e6cdd3f2a3d73b8920d56ba0b5f7326a2384a4cfda28e506e30d60a0bacf
|
| 3 |
+
size 280718976
|
NabuOCR.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2ef3e4b8205174dd3c878aa9efb01c93816a4fd6c7493a67da668dbbf6cbc205
|
| 3 |
+
size 216720320
|
NabuOCR.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6e5edebab7ac8857e33368b6d3ecf72892c66af550a400467cbe27d86312605
|
| 3 |
+
size 268060960
|
NabuOCR.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c3537c08beb8f14026bb2dfe84cdc53d5defdf45ded89bfda2288ffd76c7335
|
| 3 |
+
size 256133408
|
NabuOCR.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6df4d17a383c00fd0c937191ac0e9b14aeb23c91cf64fa0e776a51627899fae5
|
| 3 |
+
size 242514208
|
NabuOCR.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92592d0eeaf945effcaea0aa61e9dd67be094f5f3741c5f037f7d81a045408ee
|
| 3 |
+
size 298131968
|
NabuOCR.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e1769d84db98ede8e11ef9a3a0d3151359aa4d5c92ad249476131ea866d9dce
|
| 3 |
+
size 291142144
|
NabuOCR.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8b35757d5aa09099971be6d3296869fe21c4c6090ff3460680847946320c5a5f
|
| 3 |
+
size 339202048
|
NabuOCR.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc0e20b687419cc8e207665e67af718a085ef96e44d99262f62516e24bedeb7a
|
| 3 |
+
size 335128576
|
NabuOCR.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6129aef1b84ee4db1ded3ab1d06be5d3f62b1d8cf5aebfd8989a9d061ff38e6e
|
| 3 |
+
size 382839008
|
NabuOCR.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd8936d6123963314728cf9c1bda533671267ab817bbffa60712050b3004706b
|
| 3 |
+
size 495131424
|
NabuOCR.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f29d656ea559b6e4f884d06b741e6e93c59c47a6130b9186e012eca942b36c23
|
| 3 |
+
size 929811744
|