Mungert commited on
Commit
27b1120
·
verified ·
1 Parent(s): 0f17709

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +312 -0
README.md ADDED
@@ -0,0 +1,312 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: agpl-3.0
3
+ language:
4
+ - zh
5
+ - en
6
+ pipeline_tag: image-text-to-text
7
+ library_name: transformers
8
+ ---
9
+
10
+ # <span style="color: #7FFF7F;">MinerU2.5-2509-1.2B GGUF Models</span>
11
+
12
+
13
+ ## <span style="color: #7F7FFF;">Model Generation Details</span>
14
+
15
+ This model was generated using [llama.cpp](https://github.com/ggerganov/llama.cpp) at commit [`ee09828cb`](https://github.com/ggerganov/llama.cpp/commit/ee09828cb057460b369576410601a3a09279e23c).
16
+
17
+
18
+
19
+
20
+
21
+
22
+ ---
23
+
24
+ <a href="https://readyforquantum.com/huggingface_gguf_selection_guide.html" style="color: #7FFF7F;">
25
+ Click here to get info on choosing the right GGUF model format
26
+ </a>
27
+
28
+ ---
29
+
30
+
31
+
32
+ <!--Begin Original Model Card-->
33
+
34
+
35
+
36
+ <div align="center">
37
+
38
+ <p align="center">
39
+ <img src="https://raw.githubusercontent.com/opendatalab/MinerU/master/docs/images/MinerU-logo.png" width="300"/>
40
+ <p>
41
+
42
+ <h1 align="center" style="font-size: 28px">
43
+ MinerU2.5: A Decoupled Vision-Language Model for Efficient High-Resolution Document Parsing
44
+ </h1>
45
+
46
+ [![Blog](https://img.shields.io/github/stars/opendatalab/mineru)](https://github.com/opendatalab/MinerU/)
47
+ [![HuggingFace](https://img.shields.io/badge/HuggingFace-black.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF8AAABYCAMAAACkl9t/AAAAk1BMVEVHcEz/nQv/nQv/nQr/nQv/nQr/nQv/nQv/nQr/wRf/txT/pg7/yRr/rBD/zRz/ngv/oAz/zhz/nwv/txT/ngv/0B3+zBz/nQv/0h7/wxn/vRb/thXkuiT/rxH/pxD/ogzcqyf/nQvTlSz/czCxky7/SjifdjT/Mj3+Mj3wMj15aTnDNz+DSD9RTUBsP0FRO0Q6O0WyIxEIAAAAGHRSTlMADB8zSWF3krDDw8TJ1NbX5efv8ff9/fxKDJ9uAAAGKklEQVR42u2Z63qjOAyGC4RwCOfB2JAGqrSb2WnTw/1f3UaWcSGYNKTdf/P+mOkTrE+yJBulvfvLT2A5ruenaVHyIks33npl/6C4s/ZLAM45SOi/1FtZPyFur1OYofBX3w7d54Bxm+E8db+nDr12ttmESZ4zludJEG5S7TO72YPlKZFyE+YCYUJTBZsMiNS5Sd7NlDmKM2Eg2JQg8awbglfqgbhArjxkS7dgp2RH6hc9AMLdZYUtZN5DJr4molC8BfKrEkPKEnEVjLbgW1fLy77ZVOJagoIcLIl+IxaQZGjiX597HopF5CkaXVMDO9Py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Kx8Ly+maxLjJmjQ18rA0YCkxLQbUZP1WqdmyQGJLUm7VnQFqodmXSqmRrdVpqdzk5LvmvgtEcW8PMGdaS23EOWyDVbACZzUJPaqMbjDxpA3Qrgl0AikimGDbqmyT8P8NOYiqrldF8rX+YN7TopX4UoHuSCYY7cgX4gHwclQKl1zhx0THf+tCAUValzjI7Wg9EhptrkIcfIJjA94evOn8B2eHaVzvBrnl2ig0So6hvPaz0IGcOvTHvUIlE2+prqAxLSQxZlU2stql1NqCCLdIiIN/i1DBEHUoElM9dBravbiAnKqgpi4IBkw+utSPIoBijDXJipSVV7MpOEJUAc5Qmm3BnUN+w3hteEieYKfRZSIUcXKMVf0u5wD4EwsUNVvZOtUT7A2GkffHjByWpHqvRBYrTV72a6j8zZ6W0DTE86Hn04bmyWX3Ri9WH7ZU6Q7h+ZHo0nHUAcsQvVhXRDZHChwiyi/hnPuOsSEF6Exk3o6Y9DT1eZ+6cASXk2Y9k+6EOQMDGm6WBK10wOQJCBwren86cPPWUcRAnTVjGcU1LBgs9FURiX/e6479yZcLwCBmTxiawEwrOcleuu12t3tbLv/N4RLYIBhYexm7Fcn4OJcn0+zc+s8/VfPeddZHAGN6TT8eGczHdR/Gts1/MzDkThr23zqrVfAMFT33Nx1RJsx1k5zuWILLnG/vsH+Fv5D4NTVcp1Gzo8AAAAAElFTkSuQmCC&labelColor=white)](https://huggingface.co/opendatalab/MinerU2.5-2509-1.2B)
48
+ [![ModelScope](https://img.shields.io/badge/ModelScope-black?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIzIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCiA8Zz4KICA8dGl0bGU+TGF5ZXIgMTwvdGl0bGU+CiAgPHBhdGggaWQ9InN2Z18xNCIgZmlsbD0iIzYyNGFmZiIgZD0ibTAsODkuODRsMjUuNjUsMGwwLDI1LjY0OTk5bC0yNS42NSwwbDAsLTI1LjY0O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NDk5OXoiLz4KICA8cGF0aCBpZD0ic3ZnXzIzIiBmaWxsPSIjNjI0YWZmIiBkPSJtNDcuODQsNjQuMTlsMjUuNjUsMGwwLC0yMi4xOWwtNDcuODQsMGwwLDQ3Ljg0bDIyLjE5LDBsMCwtMjUuNjV6Ii8+CiAgPHBhdGggaWQ9InN2Z18yNCIgZmlsbD0iIzYyNGFmZiIgZD0ibTQ3Ljg0LDExNS40OWwtMjIuMTksMGwwLDQ3Ljg0bDQ3Ljg0LDBsMCwtMjIuMTlsLTI1LjY1LDBsMCwtMjUuNjV6Ii8+CiA8L2c+Cjwvc3ZnPg==&labelColor=white)](https://modelscope.cn/models/OpenDataLab/MinerU2.5-2509-1.2B)
49
+ [![HuggingFace](https://img.shields.io/badge/Demo_on_HuggingFace-black.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF8AAABYCAMAAACkl9t/AAAAk1BMVEVHcEz/nQv/nQv/nQr/nQv/nQr/nQv/nQv/nQr/wRf/txT/pg7/yRr/rBD/zRz/ngv/oAz/zhz/nwv/txT/ngv/0B3+zBz/nQv/0h7/wxn/vRb/thXkuiT/rxH/pxD/ogzcqyf/nQvTlSz/czCxky7/SjifdjT/Mj3+Mj3wMj15aTnDNz+DSD9RTUBsP0FRO0Q6O0WyIxEIAAAAGHRSTlMADB8zSWF3krDDw8TJ1NbX5efv8ff9/fxKDJ9uAAAGKklEQVR42u2Z63qjOAyGC4RwCOfB2JAGqrSb2WnTw/1f3UaWcSGYNKTdf/P+mOkTrE+yJBulvfvLT2A5ruenaVHyIks33npl/6C4s/ZLAM45SOi/1FtZPyFur1OYofBX3w7d54Bxm+E8db+nDr12ttmESZ4zludJEG5S7TO72YPlKZFyE+YCYUJTBZsMiNS5Sd7NlDmKM2Eg2JQg8awbglfqgbhArjxkS7dgp2RH6hc9AMLdZYUtZN5DJr4molC8BfKrEkPKEnEVjLbgW1fLy77ZVOJagoIcLIl+IxaQZGjiX597HopF5CkaXVMDO9Pyix3A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8Ly+maxLjJmjQ18rA0YCkxLQbUZP1WqdmyQGJLUm7VnQFqodmXSqmRrdVpqdzk5LvmvgtEcW8PMGdaS23EOWyDVbACZzUJPaqMbjDxpA3Qrgl0AikimGDbqmyT8P8NOYiqrldF8rX+YN7TopX4UoHuSCYY7cgX4gHwclQKl1zhx0THf+tCAUValzjI7Wg9EhptrkIcfIJjA94evOn8B2eHaVzvBrnl2ig0So6hvPaz0IGcOvTHvUIlE2+prqAxLSQxZlU2stql1NqCCLdIiIN/i1DBEHUoElM9dBravbiAnKqgpi4IBkw+utSPIoBijDXJipSVV7MpOEJUAc5Qmm3BnUN+w3hteEieYKfRZSIUcXKMVf0u5wD4EwsUNVvZOtUT7A2GkffHjByWpHqvRBYrTV72a6j8zZ6W0DTE86Hn04bmyWX3Ri9WH7ZU6Q7h+ZHo0nHUAcsQvVhXRDZHChwiyi/hnPuOsSEF6Exk3o6Y9DT1eZ+6cASXk2Y9k+6EOQMDGm6WBK10wOQJCBwren86cPPWUcRAnTVjGcU1LBgs9FURiX/e6479yZcLwCBmTxiawEwrOcleuu12t3tbLv/N4RLYIBhYexm7Fcn4OJcn0+zc+s8/VfPeddZHAGN6TT8eGczHdR/Gts1/MzDkThr23zqrVfAMFT33Nx1RJsx1k5zuWILLnG/vsH+Fv5D4NTVcp1Gzo8AAAAAElFTkSuQmCC&labelColor=white)](https://huggingface.co/spaces/opendatalab/MinerU)
50
+ [![ModelScope](https://img.shields.io/badge/Demo_on_ModelScope-black?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIzIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCiA8Zz4KICA8dGl0bGU+TGF5ZXIgMTwvdGl0bGU+CiAgPHBhdGggaWQ9InN2Z18xNCIgZmlsbD0iIzYyNGFmZiIgZD0ibTAsODkuODRsMjUuNjUsMGwwLDI1LjY0OTk5bC0yNS42NSwwbDAsLTI1LjY0OTk5e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OXoiLz4KICA8cGF0aCBpZD0ic3ZnXzIzIiBmaWxsPSIjNjI0YWZmIiBkPSJtNDcuODQsNjQuMTlsMjUuNjUsMGwwLC0yMi4xOWwtNDcuODQsMGwwLDQ3Ljg0bDIyLjE5LDBsMCwtMjUuNjV6Ii8+CiAgPHBhdGggaWQ9InN2Z18yNCIgZmlsbD0iIzYyNGFmZiIgZD0ibTQ3Ljg0LDExNS40OWwtMjIuMTksMGwwLDQ3Ljg0bDQ3Ljg0LDBsMCwtMjIuMTlsLTI1LjY1LDBsMCwtMjUuNjV6Ii8+CiA8L2c+Cjwvc3ZnPg==&labelColor=white)](https://www.modelscope.cn/studios/OpenDataLab/MinerU)
51
+
52
+
53
+ <div align="center">
54
+ <a href="https://mineru.net/OpenSourceTools/Extractor" target="_blank" rel="noopener noreferrer"><strong>🚀 Official Demo</strong></a> |
55
+ <a href="https://arxiv.org/abs/2509.22186" target="_blank" rel="noopener noreferrer"><strong>📄 Technical Report</strong></a>
56
+ </div>
57
+
58
+ </div>
59
+
60
+ ---
61
+
62
+ <p align="center">
63
+ <img alt="Image" src="https://hotelll.github.io/MinerU2.5/performance.jpeg"/>
64
+ <p>
65
+
66
+ # Introduction
67
+ <!-- We present **MinerU2.5**, a 1.2B-parameter VLM-based document parsing model that delivers state-of-the-art accuracy with high efficiency. It adopts a coarse-to-fine, two-stage parsing strategy. A large-scale, diverse data engine supports both pretraining and fine-tuning, enabling robust performance across document types. -->
68
+ **MinerU2.5** is a 1.2B-parameter vision-language model for document parsing that achieves state-of-the-art accuracy with high computational efficiency. It adopts a two-stage parsing strategy: first conducting efficient global layout analysis on downsampled images, then performing fine-grained content recognition on native-resolution crops for text, formulas, and tables. Supported by a large-scale, diverse data engine for pretraining and fine-tuning, MinerU2.5 consistently outperforms both general-purpose and domain-specific models across multiple benchmarks while maintaining low computational overhead.
69
+
70
+ ## Key Improvements
71
+ <!-- - **More Precise Layout Detection:** Faithfully preserves non-body elements such as headers, footers, and page numbers, ensuring comprehensive content integrity.
72
+ - **Significantly Improved Body Text Recognition:** Produces more standardized text formatting with clearly discernible structures for lists, references, and other elements.
73
+ - **Breakthroughs in Formula Parsing:** Delivers high-quality parsing of complex, lengthy mathematical formulae and accurately recognizes mixed-language (Chinese-English) equations.
74
+ - **Enhanced Robustness in Table Parsing:** Effortlessly handles challenging cases, including rotated tables, borderless tables, and tables with partial borders. -->
75
+
76
+ - **Comprehensive and Granular Layout Analysis:** It not only preserves non-body elements like headers, footers, and page numbers to ensure full content integrity, but also employs a refined and standardized labeling schema. This enables a clearer, more structured representation of elements such as lists, references, and code blocks.
77
+ - **Breakthroughs in Formula Parsing:** Delivers high-quality parsing of complex, lengthy mathematical formulae and accurately recognizes mixed-language (Chinese-English) equations.
78
+ - **Enhanced Robustness in Table Parsing:** Effortlessly handles challenging cases, including rotated tables, borderless tables, and tables with partial borders.
79
+
80
+
81
+ # Quick Start
82
+ For convenience, we provide `mineru-vl-utils`, a Python package that simplifies the process of sending requests and handling responses from MinerU2.5 Vision-Language Model. Here we give some examples to use MinerU2.5. For more information and usages, please refer to [mineru-vl-utils](https://github.com/opendatalab/mineru-vl-utils/tree/main).
83
+
84
+ 📌 We strongly recommend using vllm for inference, as the `vllm-async-engine` can achieve a concurrent inference speed of **2.12 fps** on one A100.
85
+
86
+ ## Install packages
87
+ ```bash
88
+ # For `transformers` backend
89
+ pip install "mineru-vl-utils[transformers]"
90
+ # For `vllm-engine` and `vllm-async-engine` backend
91
+ pip install "mineru-vl-utils[vllm]"
92
+ ```
93
+
94
+ ## `transformers` Example
95
+
96
+ ```python
97
+ from transformers import AutoProcessor, Qwen2VLForConditionalGeneration
98
+ from PIL import Image
99
+ from mineru_vl_utils import MinerUClient
100
+
101
+ # for transformers>=4.56.0
102
+ model = Qwen2VLForConditionalGeneration.from_pretrained(
103
+ "opendatalab/MinerU2.5-2509-1.2B",
104
+ dtype="auto", # use `torch_dtype` instead of `dtype` for transformers<4.56.0
105
+ device_map="auto"
106
+ )
107
+
108
+ processor = AutoProcessor.from_pretrained(
109
+ "opendatalab/MinerU2.5-2509-1.2B",
110
+ use_fast=True
111
+ )
112
+
113
+ client = MinerUClient(
114
+ backend="transformers",
115
+ model=model,
116
+ processor=processor
117
+ )
118
+
119
+ image = Image.open("/path/to/the/test/image.png")
120
+ extracted_blocks = client.two_step_extract(image)
121
+ print(extracted_blocks)
122
+ ```
123
+
124
+ ## `vllm-engine` Example (Recommended!)
125
+
126
+ ```python
127
+ from vllm import LLM
128
+ from PIL import Image
129
+ from mineru_vl_utils import MinerUClient
130
+ from mineru_vl_utils import MinerULogitsProcessor # if vllm>=0.10.1
131
+
132
+ llm = LLM(
133
+ model="opendatalab/MinerU2.5-2509-1.2B",
134
+ logits_processors=[MinerULogitsProcessor] # if vllm>=0.10.1
135
+ )
136
+
137
+ client = MinerUClient(
138
+ backend="vllm-engine",
139
+ vllm_llm=llm
140
+ )
141
+
142
+ image = Image.open("/path/to/the/test/image.png")
143
+ extracted_blocks = client.two_step_extract(image)
144
+ print(extracted_blocks)
145
+ ```
146
+
147
+ ## `vllm-async-engine` Example (Recommended!)
148
+
149
+ ```python
150
+ import io
151
+ import asyncio
152
+ import aiofiles
153
+
154
+ from vllm.v1.engine.async_llm import AsyncLLM
155
+ from vllm.engine.arg_utils import AsyncEngineArgs
156
+ from PIL import Image
157
+ from mineru_vl_utils import MinerUClient
158
+ from mineru_vl_utils import MinerULogitsProcessor # if vllm>=0.10.1
159
+
160
+ async_llm = AsyncLLM.from_engine_args(
161
+ AsyncEngineArgs(
162
+ model="opendatalab/MinerU2.5-2509-1.2B",
163
+ logits_processors=[MinerULogitsProcessor] # if vllm>=0.10.1
164
+ )
165
+ )
166
+
167
+ client = MinerUClient(
168
+ backend="vllm-async-engine",
169
+ vllm_async_llm=async_llm,
170
+ )
171
+
172
+ async def main():
173
+ image_path = "/path/to/the/test/image.png"
174
+ async with aiofiles.open(image_path, "rb") as f:
175
+ image_data = await f.read()
176
+ image = Image.open(io.BytesIO(image_data))
177
+ extracted_blocks = await client.aio_two_step_extract(image)
178
+ print(extracted_blocks)
179
+
180
+ asyncio.run(main())
181
+
182
+ async_llm.shutdown()
183
+ ```
184
+
185
+ # Model Architecture
186
+ <p align="center">
187
+ <img alt="Image" src="https://hotelll.github.io/MinerU2.5/Mineru25_framework.jpeg"/>
188
+ <p>
189
+
190
+ # Performance on OmniDocBench
191
+ ## Across Different Elements
192
+ <p align="center">
193
+ <img alt="Image" src="https://hotelll.github.io/MinerU2.5/omnidocbench_element.jpeg"/>
194
+ <p>
195
+
196
+ ## Across Various Document Types
197
+ <p align="center">
198
+ <img alt="Image" src="https://hotelll.github.io/MinerU2.5/omnidocbench_type.jpeg"/>
199
+ <p>
200
+
201
+
202
+ # Case Demonstration
203
+ ## Full-Document Parsing across Various Doc-Types
204
+ <p align="center">
205
+ <img alt="Image" src="https://hotelll.github.io/MinerU2.5/PDF-Type-1_page_1.png"/>
206
+ <p>
207
+
208
+ <p align="center">
209
+ <img alt="Image" src="https://hotelll.github.io/MinerU2.5/PDF-Type-2_page_1.png"/>
210
+ <p>
211
+
212
+ <p align="center">
213
+ <img alt="Image" src="https://hotelll.github.io/MinerU2.5//PDF-Type-3_page_1.png"/>
214
+ <p>
215
+
216
+ ## Table Recognition
217
+ <p align="center">
218
+ <img alt="Image" src="https://hotelll.github.io/MinerU2.5/Table-Module-1_page_1.png"/>
219
+ <p>
220
+
221
+ <p align="center">
222
+ <img alt="Image" src="https://hotelll.github.io/MinerU2.5/Table-Module-2_page_1.png"/>
223
+ <p>
224
+
225
+ ## Formula Recognition
226
+ <p align="center">
227
+ <img alt="Image" src="https://hotelll.github.io/MinerU2.5/Formula-Module-1_page_1.png"/>
228
+ <p>
229
+
230
+ <p align="center">
231
+ <img alt="Image" src="https://hotelll.github.io/MinerU2.5/Formula-Module-2_page_1.png"/>
232
+ <p>
233
+
234
+
235
+ # Acknowledgements
236
+ We would like to thank [Qwen Team](https://github.com/QwenLM), [vLLM](https://github.com/vllm-project/vllm), [OmniDocBench](https://github.com/opendatalab/OmniDocBench), [UniMERNet](https://github.com/opendatalab/UniMERNet), [PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR), [DocLayout-YOLO](https://github.com/opendatalab/DocLayout-YOLO) for providing valuable code and models. We also appreciate everyone's contribution to this open-source project!
237
+
238
+
239
+ # Citation
240
+
241
+ If you find our work useful in your research, please consider giving a star ⭐ and citation 📝 :
242
+
243
+ ```BibTeX
244
+ @misc{niu2025mineru25decoupledvisionlanguagemodel,
245
+ title={MinerU2.5: A Decoupled Vision-Language Model for Efficient High-Resolution Document Parsing},
246
+ author={Junbo Niu and Zheng Liu and Zhuangcheng Gu and Bin Wang and Linke Ouyang and Zhiyuan Zhao and Tao Chu and Tianyao He and Fan Wu and Qintong Zhang and Zhenjiang Jin and others},
247
+ year={2025},
248
+ eprint={2509.22186},
249
+ archivePrefix={arXiv},
250
+ primaryClass={cs.CV},
251
+ url={https://arxiv.org/abs/2509.22186},
252
+ }
253
+ ```
254
+
255
+ <!--End Original Model Card-->
256
+
257
+ ---
258
+
259
+ # <span id="testllm" style="color: #7F7FFF;">🚀 If you find these models useful</span>
260
+
261
+ Help me test my **AI-Powered Quantum Network Monitor Assistant** with **quantum-ready security checks**:
262
+
263
+ 👉 [Quantum Network Monitor](https://readyforquantum.com/?assistant=open&utm_source=huggingface&utm_medium=referral&utm_campaign=huggingface_repo_readme)
264
+
265
+
266
+ The full Open Source Code for the Quantum Network Monitor Service available at my github repos ( repos with NetworkMonitor in the name) : [Source Code Quantum Network Monitor](https://github.com/Mungert69). You will also find the code I use to quantize the models if you want to do it yourself [GGUFModelBuilder](https://github.com/Mungert69/GGUFModelBuilder)
267
+
268
+ 💬 **How to test**:
269
+ Choose an **AI assistant type**:
270
+ - `TurboLLM` (GPT-4.1-mini)
271
+ - `HugLLM` (Hugginface Open-source models)
272
+ - `TestLLM` (Experimental CPU-only)
273
+
274
+ ### **What I’m Testing**
275
+ I’m pushing the limits of **small open-source models for AI network monitoring**, specifically:
276
+ - **Function calling** against live network services
277
+ - **How small can a model go** while still handling:
278
+ - Automated **Nmap security scans**
279
+ - **Quantum-readiness checks**
280
+ - **Network Monitoring tasks**
281
+
282
+ 🟡 **TestLLM** – Current experimental model (llama.cpp on 2 CPU threads on huggingface docker space):
283
+ - ✅ **Zero-configuration setup**
284
+ - ⏳ 30s load time (slow inference but **no API costs**) . No token limited as the cost is low.
285
+ - 🔧 **Help wanted!** If you’re into **edge-device AI**, let’s collaborate!
286
+
287
+ ### **Other Assistants**
288
+ 🟢 **TurboLLM** – Uses **gpt-4.1-mini** :
289
+ - **It performs very well but unfortunatly OpenAI charges per token. For this reason tokens usage is limited.
290
+ - **Create custom cmd processors to run .net code on Quantum Network Monitor Agents**
291
+ - **Real-time network diagnostics and monitoring**
292
+ - **Security Audits**
293
+ - **Penetration testing** (Nmap/Metasploit)
294
+
295
+ 🔵 **HugLLM** – Latest Open-source models:
296
+ - 🌐 Runs on Hugging Face Inference API. Performs pretty well using the lastest models hosted on Novita.
297
+
298
+ ### �� **Example commands you could test**:
299
+ 1. `"Give me info on my websites SSL certificate"`
300
+ 2. `"Check if my server is using quantum safe encyption for communication"`
301
+ 3. `"Run a comprehensive security audit on my server"`
302
+ 4. '"Create a cmd processor to .. (what ever you want)" Note you need to install a [Quantum Network Monitor Agent](https://readyforquantum.com/Download/?utm_source=huggingface&utm_medium=referral&utm_campaign=huggingface_repo_readme) to run the .net code on. This is a very flexible and powerful feature. Use with caution!
303
+
304
+ ### Final Word
305
+
306
+ I fund the servers used to create these model files, run the Quantum Network Monitor service, and pay for inference from Novita and OpenAI—all out of my own pocket. All the code behind the model creation and the Quantum Network Monitor project is [open source](https://github.com/Mungert69). Feel free to use whatever you find helpful.
307
+
308
+ If you appreciate the work, please consider [buying me a coffee](https://www.buymeacoffee.com/mahadeva) ☕. Your support helps cover service costs and allows me to raise token limits for everyone.
309
+
310
+ I'm also open to job opportunities or sponsorship.
311
+
312
+ Thank you! 😊