File size: 2,268 Bytes
d59f353
d85444f
d59f353
 
 
d85444f
 
 
 
 
d59f353
d85444f
 
d59f353
 
d85444f
 
d59f353
 
 
 
d85444f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d59f353
d85444f
d59f353
d85444f
d59f353
d85444f
d59f353
d85444f
 
 
 
 
 
 
 
d59f353
d85444f
d59f353
d85444f
 
 
d59f353
d85444f
d59f353
d85444f
 
 
 
 
d59f353
d85444f
d59f353
d85444f
 
 
 
 
 
 
d59f353
 
d85444f
d59f353
d85444f
d59f353
d85444f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
---
license: apache-2.0
language:
- en
- zh
base_model:
- openbmb/MiniCPM5-2B
base_model_relation: quantized
quantized_by: Atomic-Germ
pipeline_tag: text-generation
tags:
- transformers
- safetensors
- llama
- text-generation
- minicpm
- minicpm5
- long-context
- tool-calling
- on-device
- edge-ai
- conversational
- en
- zh
- dataset:openbmb/Ultra-FineWeb
- dataset:openbmb/UltraX-Preview
- dataset:openbmb/Ultra-FineWeb-L3
- dataset:openbmb/UltraData-Math
- dataset:openbmb/UltraData-Code
- dataset:openbmb/UltraData-SFT-2605
- dataset:openbmb/UltraData-SFT-Agent-2609
- dataset:openbmb/UltraData-RL-2609
- arxiv:2506.07900
- arxiv:2602.09003
- license:apache-2.0
- text-generation-inference
- endpoints_compatible
- region:us
---
# MiniCPM5-2B-OpenNPU2-NPU2

**OpenFlowLM Q4NX conversion of [`openbmb/MiniCPM5-2B`](https://huggingface.co/openbmb/MiniCPM5-2B)** for AMD XDNA NPU inference.

This repository contains a quantized **Q4NX** port of the model, compiled for the OpenFlowLM (OFLM) runtime. It is **not** a GGUF file.

| Item | Value |
|------|-------|
| Source model | [`openbmb/MiniCPM5-2B`](https://huggingface.co/openbmb/MiniCPM5-2B) |
| Source GGUF | `MiniCPM5-2B.i1-Q4_1.gguf` |
| Weights | `model.q4nx` (1.81 GB) |
| Modality | language |
| OFLM version | `0.1.0` |
| Converted | 2026-09-14 |

## Install and run

This repository works with `oflm-add`, a small installer that copies the model
into the OpenFlowLM user directory and registers the tag. It never
modifies the system OpenFlowLM install.

`pip install oflm-add` or `uv tool install oflm-add`

```bash
uv tool install oflm-add
oflm-add Atomic-Germ/MiniCPM5-2B-OpenNPU2-NPU2 --family qwen3.5 --xclbin-from MiniCPM5-2B-OpenNPU2-NPU2
OFLM_CONFIG_PATH="$HOME/.config/oflm/model_list.json" OFLM_XCLBIN_PATH="$HOME/.config/oflm" oflm run MiniCPM5-2B-OpenNPU2-NPU2
```

## Files

| File | Description |
|------|-------------|
| `model.q4nx` | Quantized weights (Q8_0 / Q4_1 / BF16) |
| `config.json` | OFLM runtime configuration |
| `tokenizer.json` | Tokenizer vocabulary |
| `tokenizer_config.json` | Tokenizer configuration |
| `chat_template.jinja` | Chat template |


---

## Source model card

See the original model card: [openbmb/MiniCPM5-2B](https://huggingface.co/openbmb/MiniCPM5-2B)