---
title: MiniCPM-OCR-1.0-DSpark-gguf
canonical_url: "https://www.modelscope.cn/models/OpenBMB/MiniCPM-OCR-1.0-DSpark-gguf"
md_url: "https://www.modelscope.cn/models/OpenBMB/MiniCPM-OCR-1.0-DSpark-gguf.md"
repository: OpenBMB/MiniCPM-OCR-1.0-DSpark-gguf
last_updated: 2026-10-27
license: apache-2.0
pipeline_tag: image-text-to-text
tasks:
  - image-text-to-text
base_model:
  - openbmb/MiniCPM-OCR-1.0
base_model_relation: finetune
library_name:
  - gguf
language:
  - en
  - zh
downloads: 18
stars: 0
tags:
  - minicpm-ocr
  - dspark
  - speculative-decoding
  - draft-model
  - gguf
  - llama.cpp
  - ocr
---

# MiniCPM-OCR-1.0-DSpark-gguf

> MiniCPM-OCR-1.0-DSpark-gguf - OpenBMB 在 ModelScope 开源的模型。GitHub · API · Demo · DSpark

OpenBMB/MiniCPM-OCR-1.0-DSpark-gguf 是 ModelScope 魔搭社区上的image-text-to-text模型，采用 apache-2.0 许可，基于 openbmb/MiniCPM-OCR-1.0 构建。

- **Repository**: OpenBMB/MiniCPM-OCR-1.0-DSpark-gguf
- **License**: apache-2.0
- **Tasks**: image-text-to-text
- **Base model**: openbmb/MiniCPM-OCR-1.0
- **Tags**: minicpm-ocr, dspark, speculative-decoding, draft-model, gguf, llama.cpp, ocr
- **Downloads**: 18
- **Stars**: 0
- **Last updated**: 2026-10-27

Source: https://www.modelscope.cn/models/OpenBMB/MiniCPM-OCR-1.0-DSpark-gguf

---

<div align="center">

[GitHub](https://github.com/OpenBMB/MiniCPM-OCR) · [API](https://github.com/OpenBMB/MiniCPM-OCR/blob/main/docs/minicpm_ocr_api_en.md) · [Demo](https://platform.modelbest.ai/console/playground/document-parse) · [DSpark](https://huggingface.co/openbmb/MiniCPM-OCR-1.0-DSpark)

</div>

# MiniCPM-OCR 1.0 DSpark — GGUF

> **GGUF build of the [DSpark draft head](https://huggingface.co/openbmb/MiniCPM-OCR-1.0-DSpark) for
> [MiniCPM-OCR 1.0](https://huggingface.co/openbmb/MiniCPM-OCR-1.0).** A draft model, not a standalone OCR model — pair it
> with the matching main checkpoint.

## Files

| File | Size |
| :--- | ---: |
| `dspark-MiniCPM-OCR-1_0-F16.gguf` | 0.606 GB |
| `dspark-MiniCPM-OCR-1_0-Q8_0.gguf` | 0.327 GB |
| `dspark-MiniCPM-OCR-1_0-Q6_K.gguf` | 0.255 GB |
| `dspark-MiniCPM-OCR-1_0-Q5_K_M.gguf` | 0.233 GB |
| `dspark-MiniCPM-OCR-1_0-Q5_K_S.gguf` | 0.232 GB |
| `dspark-MiniCPM-OCR-1_0-Q5_1.gguf` | 0.243 GB |
| `dspark-MiniCPM-OCR-1_0-Q5_0.gguf` | 0.232 GB |
| `dspark-MiniCPM-OCR-1_0-Q4_K_M.gguf` | 0.211 GB |
| `dspark-MiniCPM-OCR-1_0-Q4_K_S.gguf` | 0.209 GB |
| `dspark-MiniCPM-OCR-1_0-Q4_1.gguf` | 0.220 GB |
| `dspark-MiniCPM-OCR-1_0-Q4_0.gguf` | 0.209 GB |

Use the main model's projector (`mmproj-model-f16-4x.gguf` from
[MiniCPM-OCR-1.0-gguf](https://huggingface.co/openbmb/MiniCPM-OCR-1.0-gguf)); this repository contains only the draft.

## Usage

```bash
llama-cli \
  -m MiniCPM-OCR-1_0-Q8_0.gguf \
  --mmproj mmproj-model-f16-4x.gguf \
  -md dspark-MiniCPM-OCR-1_0-Q8_0.gguf \
  --spec-type draft-dspark \
  --image page.png -p "Text Recognition:" \
  --jinja -ngl 99 -ngld 99 -fa on
```

`-md` is the draft model and `--spec-type draft-dspark` enables the draft; `-ngld` offloads draft
layers to GPU.

> `llama-mtmd-cli` does not accept a draft model. Use `llama-cli` or `llama-server` when enabling
> DSpark with multimodal input.

Each tier carries the **absolute** target token IDs in its `d2t` tensor (the safetensors export
stores them delta-encoded).

## Related checkpoints

| Format | Hugging Face | ModelScope |
| :--- | :--- | :--- |
| BF16 (original) | [🤗](https://huggingface.co/openbmb/MiniCPM-OCR-1.0) | [ModelScope](https://modelscope.cn/models/OpenBMB/MiniCPM-OCR-1.0) |
| GGUF (llama.cpp) | [🤗](https://huggingface.co/openbmb/MiniCPM-OCR-1.0-gguf) | [ModelScope](https://modelscope.cn/models/OpenBMB/MiniCPM-OCR-1.0-gguf) |
| AWQ W4A16 | [🤗](https://huggingface.co/openbmb/MiniCPM-OCR-1.0-AWQ) | [ModelScope](https://modelscope.cn/models/OpenBMB/MiniCPM-OCR-1.0-AWQ) |
| GPTQ W4A16 | [🤗](https://huggingface.co/openbmb/MiniCPM-OCR-1.0-GPTQ) | [ModelScope](https://modelscope.cn/models/OpenBMB/MiniCPM-OCR-1.0-GPTQ) |
| DSpark draft (BF16) | [🤗](https://huggingface.co/openbmb/MiniCPM-OCR-1.0-DSpark) | [ModelScope](https://modelscope.cn/models/OpenBMB/MiniCPM-OCR-1.0-DSpark) |
| DSpark draft (GGUF) **(this repo)** | [🤗](https://huggingface.co/openbmb/MiniCPM-OCR-1.0-DSpark-gguf) | [ModelScope](https://modelscope.cn/models/OpenBMB/MiniCPM-OCR-1.0-DSpark-gguf) |

## FAQ

Installation, model downloads, GPU memory, input formats, and unexpected outputs:
[FAQ](https://github.com/OpenBMB/MiniCPM-OCR/blob/main/docs/faq_en.md).

## License

Model weights, code, and documentation are released under the
[Apache License 2.0](https://github.com/OpenBMB/MiniCPM-OCR/blob/main/LICENSE).
