Image-Text-to-Text
Transformers
GGUF
English
text-generation-inference
llama-cpp
qwen3_vl
ocr
multimodal
vision-language
adversarial ocr
grounded ocr
conversational
Instructions to use prithivMLmods/ArmorOCR-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/ArmorOCR-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="prithivMLmods/ArmorOCR-GGUF") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("prithivMLmods/ArmorOCR-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use prithivMLmods/ArmorOCR-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 prithivMLmods/ArmorOCR-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf prithivMLmods/ArmorOCR-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 prithivMLmods/ArmorOCR-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf prithivMLmods/ArmorOCR-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 prithivMLmods/ArmorOCR-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf prithivMLmods/ArmorOCR-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 prithivMLmods/ArmorOCR-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf prithivMLmods/ArmorOCR-GGUF:Q4_K_M
Use Docker
docker model run hf.co/prithivMLmods/ArmorOCR-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use prithivMLmods/ArmorOCR-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prithivMLmods/ArmorOCR-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/ArmorOCR-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/prithivMLmods/ArmorOCR-GGUF:Q4_K_M
- SGLang
How to use prithivMLmods/ArmorOCR-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "prithivMLmods/ArmorOCR-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/ArmorOCR-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "prithivMLmods/ArmorOCR-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/ArmorOCR-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Ollama
How to use prithivMLmods/ArmorOCR-GGUF with Ollama:
ollama run hf.co/prithivMLmods/ArmorOCR-GGUF:Q4_K_M
- Unsloth Studio
How to use prithivMLmods/ArmorOCR-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 prithivMLmods/ArmorOCR-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 prithivMLmods/ArmorOCR-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for prithivMLmods/ArmorOCR-GGUF to start chatting
- Pi
How to use prithivMLmods/ArmorOCR-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/ArmorOCR-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "prithivMLmods/ArmorOCR-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use prithivMLmods/ArmorOCR-GGUF with Docker Model Runner:
docker model run hf.co/prithivMLmods/ArmorOCR-GGUF:Q4_K_M
- Lemonade
How to use prithivMLmods/ArmorOCR-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull prithivMLmods/ArmorOCR-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.ArmorOCR-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use prithivMLmods/ArmorOCR-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/ArmorOCR-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default prithivMLmods/ArmorOCR-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use prithivMLmods/ArmorOCR-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/ArmorOCR-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "prithivMLmods/ArmorOCR-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Add files using upload-large-folder tool
Browse files- .gitattributes +17 -0
- ArmorOCR.BF16.gguf +3 -0
- ArmorOCR.F16.gguf +3 -0
- ArmorOCR.Q2_K.gguf +3 -0
- ArmorOCR.Q3_K_L.gguf +3 -0
- ArmorOCR.Q3_K_M.gguf +3 -0
- ArmorOCR.Q3_K_S.gguf +3 -0
- ArmorOCR.Q4_0.gguf +3 -0
- ArmorOCR.Q4_K_M.gguf +3 -0
- ArmorOCR.Q4_K_S.gguf +3 -0
- ArmorOCR.Q5_0.gguf +3 -0
- ArmorOCR.Q5_K_M.gguf +3 -0
- ArmorOCR.Q5_K_S.gguf +3 -0
- ArmorOCR.Q6_K.gguf +3 -0
- ArmorOCR.Q8_0.gguf +3 -0
- ArmorOCR.mmproj-bf16.gguf +3 -0
- ArmorOCR.mmproj-f16.gguf +3 -0
- ArmorOCR.mmproj-q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,20 @@ 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 |
+
ArmorOCR.mmproj-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
ArmorOCR.mmproj-bf16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
ArmorOCR.mmproj-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
ArmorOCR.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
ArmorOCR.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
ArmorOCR.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
ArmorOCR.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
ArmorOCR.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
ArmorOCR.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
ArmorOCR.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
ArmorOCR.Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
ArmorOCR.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
ArmorOCR.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
ArmorOCR.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
ArmorOCR.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
ArmorOCR.BF16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
ArmorOCR.F16.gguf filter=lfs diff=lfs merge=lfs -text
|
ArmorOCR.BF16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5a6e64ed2eb10acf2e0d2c28080084ab56340619d2995cac7afac62ec7b8ac5
|
| 3 |
+
size 16388045440
|
ArmorOCR.F16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:10290802c133766d9bf42c32bd9f229673cd798be265cf223fe2419e973ff802
|
| 3 |
+
size 16388045440
|
ArmorOCR.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5db685b2e2549b77de164ee08e70f906e9cfb9344edf2f203a13770b30d7e8b1
|
| 3 |
+
size 3281734272
|
ArmorOCR.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d02a30ea0fb05c10ad942fbfe74ba1f79668c9a9734090ebc6b05b57b241bb3
|
| 3 |
+
size 4431395456
|
ArmorOCR.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1baf0f582b8f7f3538395940d07a89ff3be8fe09ee401bf30ba719d8fce912cd
|
| 3 |
+
size 4124162688
|
ArmorOCR.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e210f6b9bec1d6e342f9c7b97fc3c9b07fa39097d6cccf1a5005d3f5dd2c14df
|
| 3 |
+
size 3769612928
|
ArmorOCR.Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f69ae2962d7a6afb2d559ab46e109eb0d30602a9a10f2b5f087dacd371682b84
|
| 3 |
+
size 4774750848
|
ArmorOCR.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7c18239ba510be7d8c3d48c0d2caeb30b76ff256985666dd96ca79363dfed8d
|
| 3 |
+
size 5027785344
|
ArmorOCR.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e2fc2a703c71c00a39298d1257ce80cb4db2ce0b19a4e7128aeb76684419a55f
|
| 3 |
+
size 4802013824
|
ArmorOCR.Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c09b1ae9f84b31bcc27c2cc06185fcc0122d7a7c0fce05ea807d2d233cbca69
|
| 3 |
+
size 5720763008
|
ArmorOCR.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51900222b7750f62363ba8b4602e2902acb04d72a1f90b93279fe9b3ba186e20
|
| 3 |
+
size 5851114112
|
ArmorOCR.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6345745a77a47934d96690f7a6efce78deb2c37ce915db4115a9fd95734fc9f3
|
| 3 |
+
size 5720763008
|
ArmorOCR.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88b711e10a462b953a5873bf3d74d0595109a547d45ffc5b72a845c5538bad0e
|
| 3 |
+
size 6725900928
|
ArmorOCR.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fdabb441a93ff1695fc8411bcf09510784beaa5752e111baca45a6df3d72c454
|
| 3 |
+
size 8709520000
|
ArmorOCR.mmproj-bf16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06407db3bb4c1c82593fdf9a39439352e6848ef2972745919286d8aa27323f5a
|
| 3 |
+
size 1162569312
|
ArmorOCR.mmproj-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06407db3bb4c1c82593fdf9a39439352e6848ef2972745919286d8aa27323f5a
|
| 3 |
+
size 1162569312
|
ArmorOCR.mmproj-q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26471c09d0b0df2a822950806056a37b0c4390d56b6c69e17d5b1136149086b6
|
| 3 |
+
size 752290272
|