Image-Text-to-Text
GGUF
moonbox
llama.cpp
dots-ocr
dots-mocr
ocr
document-parsing
vision-language
conversational
Instructions to use moonbox-dev/dots.mocr-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use moonbox-dev/dots.mocr-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 moonbox-dev/dots.mocr-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf moonbox-dev/dots.mocr-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 moonbox-dev/dots.mocr-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf moonbox-dev/dots.mocr-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf moonbox-dev/dots.mocr-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf moonbox-dev/dots.mocr-GGUF:Q4_K_M
Use Docker
docker model run hf.co/moonbox-dev/dots.mocr-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use moonbox-dev/dots.mocr-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "moonbox-dev/dots.mocr-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": "moonbox-dev/dots.mocr-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/moonbox-dev/dots.mocr-GGUF:Q4_K_M
- Ollama
How to use moonbox-dev/dots.mocr-GGUF with Ollama:
ollama run hf.co/moonbox-dev/dots.mocr-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use moonbox-dev/dots.mocr-GGUF with Docker Model Runner:
docker model run hf.co/moonbox-dev/dots.mocr-GGUF:Q4_K_M
- Lemonade
How to use moonbox-dev/dots.mocr-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull moonbox-dev/dots.mocr-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.dots.mocr-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Model card and the original license
Browse files
README.md
CHANGED
|
@@ -30,8 +30,9 @@ the original weights unchanged.
|
|
| 30 |
|
| 31 |
| Precision | File | Size | sha256 | Benchmark |
|
| 32 |
|---|---|---|---|---|
|
| 33 |
-
|
|
| 34 |
| all | [`mmproj-dots-mocr-F16.gguf`](https://huggingface.co/moonbox-dev/dots.mocr-GGUF/blob/main/mmproj-dots-mocr-F16.gguf) | 2.52 GB | `f496f64f4e5d` | encoder file, used with every precision |
|
|
|
|
| 35 |
|
| 36 |
## How to run
|
| 37 |
|
|
|
|
| 30 |
|
| 31 |
| Precision | File | Size | sha256 | Benchmark |
|
| 32 |
|---|---|---|---|---|
|
| 33 |
+
| F16 | [`dots-mocr-F16.gguf`](https://huggingface.co/moonbox-dev/dots.mocr-GGUF/blob/main/dots-mocr-F16.gguf) | 3.56 GB | `22d054aaf76e` | CER 0.0 % / 0.0 %; same text as BF16 on 6 + 6 of 12 pages; 0.37 s per page (CUDA) |
|
| 34 |
| all | [`mmproj-dots-mocr-F16.gguf`](https://huggingface.co/moonbox-dev/dots.mocr-GGUF/blob/main/mmproj-dots-mocr-F16.gguf) | 2.52 GB | `f496f64f4e5d` | encoder file, used with every precision |
|
| 35 |
+
| BF16 | [`dots-mocr-BF16.gguf`](https://huggingface.co/moonbox-dev/dots.mocr-GGUF/blob/main/dots-mocr-BF16.gguf) | 3.56 GB | `b7856050b98c` | CER 0.0 % / 0.0 % (original 0.0 / 0.0); 0.38 s per page (CUDA) |
|
| 36 |
|
| 37 |
## How to run
|
| 38 |
|