Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

feat: add changelog section to documentation and create changelog file

myhlolideba6a991fa3
diff --git a/README.md b/README.md
index b586af6e..caf3573f 100644
--- a/README.md
+++ b/README.md
@@ -45,545 +45,17 @@
# Changelog
-- 2025/12/12 2.6.7 Release
- - Bug fix: #4168
-
-- 2025/12/02 2.6.6 Release
- - `mineru-api` tool optimizations
- - Added descriptive text to `mineru-api` interface parameters to improve API documentation readability.
- - You can use the environment variable `MINERU_API_ENABLE_FASTAPI_DOCS` to control whether the auto-generated interface documentation page is enabled (enabled by default).
- - Added concurrency configuration options for the `vlm-vllm-async-engine`, `vlm-lmdeploy-engine`, and `vlm-http-client` backends. Users can use the environment variable `MINERU_API_MAX_CONCURRENT_REQUESTS` to set the maximum number of concurrent API requests (unlimited by default).
-
-- 2025/11/26 2.6.5 Release
- - Added support for a new backend vlm-lmdeploy-engine. Its usage is similar to vlm-vllm-(async)engine, but it uses lmdeploy as the inference engine and additionally supports native inference acceleration on Windows platforms compared to vllm.
-
-- 2025/11/04 2.6.4 Release
- - Added timeout configuration for PDF image rendering, default is 300 seconds, can be configured via environment variable `MINERU_PDF_RENDER_TIMEOUT` to prevent long blocking of the rendering process caused by some abnormal PDF files.
- - Added CPU thread count configuration options for ONNX models, default is the system CPU core count, can be configured via environment variables `MINERU_INTRA_OP_NUM_THREADS` and `MINERU_INTER_OP_NUM_THREADS` to reduce CPU resource contention conflicts in high concurrency scenarios.
-
-- 2025/10/31 2.6.3 Release
- - Added support for a new backend `vlm-mlx-engine`, enabling MLX-accelerated inference for the MinerU2.5 model on Apple Silicon devices. Compared to the `vlm-transformers` backend, `vlm-mlx-engine` delivers a 100%–200% speed improvement.
- - Bug fixes: #3849, #3859
-
-- 2025/10/24 2.6.2 Release
- - `pipeline` backend optimizations
- - Added experimental support for Chinese formulas, which can be enabled by setting the environment variable `export MINERU_FORMULA_CH_SUPPORT=1`. This feature may cause a slight decrease in MFR speed and failures in recognizing some long formulas. It is recommended to enable it only when parsing Chinese formulas is needed. To disable this feature, set the environment variable to `0`.
- - `OCR` speed significantly improved by 200%~300%, thanks to the optimization solution provided by [@cjsdurj](https://github.com/cjsdurj)
- - `OCR` models optimized for improved accuracy and coverage of Latin script recognition, and updated Cyrillic, Arabic, Devanagari, Telugu (te), and Tamil (ta) language systems to `ppocr-v5` version, with accuracy improved by over 40% compared to previous models
- - `vlm` backend optimizations
- - `table_caption` and `table_footnote` matching logic optimized to improve the accuracy of table caption and footnote matching and reading order rationality in scenarios with multiple consecutive tables on a page
- - Optimized CPU resource usage during high concurrency when using `vllm` backend, reducing server pressure
- - Adapted to `vllm` version 0.11.0
- - General optimizations
- - Cross-page table merging effect optimized, added support for cross-page continuation table merging, improving table merging effectiveness in multi-column merge scenarios
- - Added environment variable configuration option `MINERU_TABLE_MERGE_ENABLE` for table merging feature. Table merging is enabled by default and can be disabled by setting this variable to `0`
-
-- 2025/09/26 2.5.4 released
- - 🎉🎉 The MinerU2.5 [Technical Report](https://arxiv.org/abs/2509.22186) is now available! We welcome you to read it for a comprehensive overview of its model architecture, training strategy, data engineering and evaluation results.
- - Fixed an issue where some `PDF` files were mistakenly identified as `AI` files, causing parsing failures
-
-- 2025/09/20 2.5.3 Released
- - Dependency version range adjustment to enable Turing and earlier architecture GPUs to use vLLM acceleration for MinerU2.5 model inference.
- - `pipeline` backend compatibility fixes for torch 2.8.0.
- - Reduced default concurrency for vLLM async backend to lower server pressure and avoid connection closure issues caused by high load.
- - More compatibility-related details can be found in the [announcement](https://github.com/opendatalab/MinerU/discussions/3548)
-
-- 2025/09/19 2.5.2 Released
-
- We are officially releasing MinerU2.5, currently the most powerful multimodal large model for document parsing.
- With only 1.2B parameters, MinerU2.5's accuracy on the OmniDocBench benchmark comprehensively surpasses top-tier multimodal models like Gemini 2.5 Pro, GPT-4o, and Qwen2.5-VL-72B. It also significantly outperforms leading specialized models such as dots.ocr, MonkeyOCR, and PP-StructureV3.
- The model has been released on [HuggingFace](https://huggingface.co/opendatalab/MinerU2.5-2509-1.2B) and [ModelScope](https://modelscope.cn/models/opendatalab/MinerU2.5-2509-1.2B) platforms. Welcome to download and use!
- - Core Highlights:
- - SOTA Performance with Extreme Efficiency: As a 1.2B model, it achieves State-of-the-Art (SOTA) results that exceed models in the 10B and 100B+ classes, redefining the performance-per-parameter standard in document AI.
- - Advanced Architecture for Across-the-Board Leadership: By combining a two-stage inference pipeline (decoupling layout analysis from content recognition) with a native high-resolution architecture, it achieves SOTA performance across five key areas: layout analysis, text recognition, formula recognition, table recognition, and reading order.
- - Key Capability Enhancements:
- - Layout Detection: Delivers more complete results by accurately covering non-body content like headers, footers, and page numbers. It also provides more precise element localization and natural format reconstruction for lists and references.
- - Table Parsing: Drastically improves parsing for challenging cases, including rotated tables, borderless/semi-structured tables, and long/complex tables.
- - Formula Recognition: Significantly boosts accuracy for complex, long-form, and hybrid Chinese-English formulas, greatly enhancing the parsing capability for mathematical documents.
-
- Additionally, with the release of vlm 2.5, we have made some adjustments to the repository:
- - The vlm backend has been upgraded to version 2.5, supporting the MinerU2.5 model and no longer compatible with the MinerU2.0-2505-0.9B model. The last version supporting the 2.0 model is mineru-2.2.2.
- - VLM inference-related code has been moved to [mineru_vl_utils](https://github.com/opendatalab/mineru-vl-utils), reducing coupling with the main mineru repository and facilitating independent iteration in the future.
- - The vlm accelerated inference framework has been switched from `sglang` to `vllm`, achieving full compatibility with the vllm ecosystem, allowing users to use the MinerU2.5 model and accelerated inference on any platform that supports the vllm framework.
- - Due to major upgrades in the vlm model supporting more layout types, we have made some adjustments to the structure of the parsing intermediate file `middle.json` and result file `content_list.json`. Please refer to the [documentation](https://opendatalab.github.io/MinerU/reference/output_files/) for details.
-
- Other repository optimizations:
- - Removed file extension whitelist validation for input files. When input files are PDF documents or images, there are no longer requirements for file extensions, improving usability.
-
-<details>
- <summary>History Log</summary>
-
- <details>
- <summary>2025/09/10 2.2.2 Released</summary>
- <ul>
- <li>Fixed the issue where the new table recognition model would affect the overall parsing task when some table parsing failed</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/09/08 2.2.1 Released</summary>
- <ul>
- <li>Fixed the issue where some newly added models were not downloaded when using the model download command.</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/09/05 2.2.0 Released</summary>
- <ul>
- <li>
- Major Updates
- <ul>
- <li>In this version, we focused on improving table parsing accuracy by introducing a new <a href="https://github.com/RapidAI/TableStructureRec">wired table recognition model</a> and a brand-new hybrid table structure parsing algorithm, significantly enhancing the table recognition capabilities of the <code>pipeline</code> backend.</li>
- <li>We also added support for cross-page table merging, which is supported by both <code>pipeline</code> and <code>vlm</code> backends, further improving the completeness and accuracy of table parsing.</li>
- </ul>
- </li>
- <li>
- Other Updates
- <ul>
- <li>The <code>pipeline</code> backend now supports 270-degree rotated table parsing, bringing support for table parsing in 0/90/270-degree orientations</li>
- <li><code>pipeline</code> added OCR capability support for Thai and Greek, and updated the English OCR model to the latest version. English recognition accuracy improved by 11%, Thai recognition model accuracy is 82.68%, and Greek recognition model accuracy is 89.28% (by PPOCRv5)</li>
- <li>Added <code>bbox</code> field (mapped to 0-1000 range) in the output <code>content_list.json</code>, making it convenient for users to directly obtain position information for each content block</li>
- <li>Removed the <code>pipeline_old_linux</code> installation option, no longer supporting legacy Linux systems such as <code>CentOS 7</code>, to provide better support for <code>uv</code>'s <code>sync</code>/<code>run</code> commands</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2025/08/01 2.1.10 Released</summary>
- <ul>
- <li>Fixed an issue in the <code>pipeline</code> backend where block overlap caused the parsing results to deviate from expectations #3232</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/07/30 2.1.9 Released</summary>
- <ul>
- <li><code>transformers</code> 4.54.1 version adaptation</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/07/28 2.1.8 Released</summary>
- <ul>
- <li><code>sglang</code> 0.4.9.post5 version adaptation</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/07/27 2.1.7 Released</summary>
- <ul>
- <li><code>transformers</code> 4.54.0 version adaptation</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/07/26 2.1.6 Released</summary>
- <ul>
- <li>Fixed table parsing issues in handwritten documents when using <code>vlm</code> backend</li>
- <li>Fixed visualization box position drift issue when document is rotated #3175</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/07/24 2.1.5 Released</summary>
- <ul>
- <li><code>sglang</code> 0.4.9 version adaptation, synchronously upgrading the dockerfile base image to sglang 0.4.9.post3</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/07/23 2.1.4 Released</summary>
- <ul>
- <li><strong>Bug Fixes</strong>
- <ul>
- <li>Fixed the issue of excessive memory consumption during the <code>MFR</code> step in the <code>pipeline</code> backend under certain scenarios #2771</li>
- <li>Fixed the inaccurate matching between <code>image</code>/<code>table</code> and <code>caption</code>/<code>footnote</code> under certain conditions #3129</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2025/07/16 2.1.1 Released</summary>
- <ul>
- <li><strong>Bug fixes</strong>
- <ul>
- <li>Fixed text block content loss issue that could occur in certain <code>pipeline</code> scenarios #3005</li>
- <li>Fixed issue where <code>sglang-client</code> required unnecessary packages like <code>torch</code> #2968</li>
- <li>Updated <code>dockerfile</code> to fix incomplete text content parsing due to missing fonts in Linux #2915</li>
- </ul>
- </li>
- <li><strong>Usability improvements</strong>
- <ul>
- <li>Updated <code>compose.yaml</code> to facilitate direct startup of <code>sglang-server</code>, <code>mineru-api</code>, and <code>mineru-gradio</code> services</li>
- <li>Launched brand new <a href="https://opendatalab.github.io/MinerU/">online documentation site</a>, simplified readme, providing better documentation experience</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2025/07/05 2.1.0 Released</summary>
- <ul>
- <li>This is the first major update of MinerU 2, which includes a large number of new features and improvements, covering significant performance optimizations, user experience enhancements, and bug fixes. The detailed update contents are as follows:</li>
- <li><strong>Performance Optimizations:</strong>
- <ul>
- <li>Significantly improved preprocessing speed for documents with specific resolutions (around 2000 pixels on the long side).</li>
- <li>Greatly enhanced post-processing speed when the <code>pipeline</code> backend handles batch processing of documents with fewer pages (&lt;10 pages).</li>
- <li>Layout analysis speed of the <code>pipeline</code> backend has been increased by approximately 20%.</li>
- </ul>
- </li>
- <li><strong>Experience Enhancements:</strong>
- <ul>
- <li>Built-in ready-to-use <code>fastapi service</code> and <code>gradio webui</code>. For detailed usage instructions, please refer to <a href="https://opendatalab.github.io/MinerU/usage/quick_usage/#advanced-usage-via-api-webui-sglang-clientserver">Documentation</a>.</li>
- <li>Adapted to <code>sglang</code> version <code>0.4.8</code>, significantly reducing the GPU memory requirements for the <code>vlm-sglang</code> backend. It can now run on graphics cards with as little as <code>8GB GPU memory</code> (Turing architecture or newer).</li>
- <li>Added transparent parameter passing for all commands related to <code>sglang</code>, allowing the <code>sglang-engine</code> backend to receive all <code>sglang</code> parameters consistently with the <code>sglang-server</code>.</li>
- <li>Supports feature extensions based on configuration files, including <code>custom formula delimiters</code>, <code>enabling heading classification</code>, and <code>customizing local model directories</code>. For detailed usage instructions, please refer to <a href="https://opendatalab.github.io/MinerU/usage/quick_usage/#extending-mineru-functionality-with-configuration-files">Documentation</a>.</li>
- </ul>
- </li>
- <li><strong>New Features:</strong>
- <ul>
- <li>Updated the <code>pipeline</code> backend with the PP-OCRv5 multilingual text recognition model, supporting text recognition in 37 languages such as French, Spanish, Portuguese, Russian, and Korean, with an average accuracy improvement of over 30%. <a href="https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/algorithm/PP-OCRv5/PP-OCRv5_multi_languages.html">Details</a></li>
- <li>Introduced limited support for vertical text layout in the <code>pipeline</code> backend.</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2025/06/20 2.0.6 Released</summary>
- <ul>
- <li>Fixed occasional parsing interruptions caused by invalid block content in <code>vlm</code> mode</li>
- <li>Fixed parsing interruptions caused by incomplete table structures in <code>vlm</code> mode</li>
- </ul>
- </details>
+- 2025/12/31 2.7.0 Release
+ - Simplified installation process. No need to separately install `vlm` acceleration engine dependencies. Using `uv pip install mineru[all]` during installation will install all optional backend dependencies.
+ - Added new `hybrid` backend, which combines the advantages of `pipeline` and `vlm` backends. Built on vlm, it integrates some capabilities of pipeline, adding extra extensibility on top of high accuracy:
+ - Directly extracts text from text PDFs, natively supports multi-language recognition in text PDF scenarios, and greatly reduces parsing hallucinations;
+ - Supports text recognition in 109 languages for scanned PDF scenarios by specifying OCR language;
+ - Independent inline formula recognition switch, which can be disabled separately when inline formula recognition is not needed, improving the visual effect of parsing results.
+ - Simplified engine selection logic for `vlm/hybrid` backends. Users only need to specify the backend as `*-auto-engine`, and the system will automatically select the appropriate engine for inference acceleration based on the current environment, improving usability.
+ - Switched default parsing backend from `pipeline` to `hybrid-auto-engine`, improving out-of-the-box result consistency for new users and avoiding cognitive differences in parsing results.
+ - Added i18n support to gradio application, supporting switching between Chinese and English languages.
- <details>
- <summary>2025/06/17 2.0.5 Released</summary>
- <ul>
- <li>Fixed the issue where models were still required to be downloaded in the <code>sglang-client</code> mode</li>
- <li>Fixed the issue where the <code>sglang-client</code> mode unnecessarily depended on packages like <code>torch</code> during runtime.</li>
- <li>Fixed the issue where only the first instance would take effect when attempting to launch multiple <code>sglang-client</code> instances via multiple URLs within the same process</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/06/15 2.0.3 released</summary>
- <ul>
- <li>Fixed a configuration file key-value update error that occurred when downloading model type was set to <code>all</code></li>
- <li>Fixed the issue where the formula and table feature toggle switches were not working in <code>command line mode</code>, causing the features to remain enabled.</li>
- <li>Fixed compatibility issues with sglang version 0.4.7 in the <code>sglang-engine</code> mode.</li>
- <li>Updated Dockerfile and installation documentation for deploying the full version of MinerU in sglang environment</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/06/13 2.0.0 Released</summary>
- <ul>
- <li><strong>New Architecture</strong>: MinerU 2.0 has been deeply restructured in code organization and interaction methods, significantly improving system usability, maintainability, and extensibility.
- <ul>
- <li><strong>Removal of Third-party Dependency Limitations</strong>: Completely eliminated the dependency on <code>pymupdf</code>, moving the project toward a more open and compliant open-source direction.</li>
- <li><strong>Ready-to-use, Easy Configuration</strong>: No need to manually edit JSON configuration files; most parameters can now be set directly via command line or API.</li>
- <li><strong>Automatic Model Management</strong>: Added automatic model download and update mechanisms, allowing users to complete model deployment without manual intervention.</li>
- <li><strong>Offline Deployment Friendly</strong>: Provides built-in model download commands, supporting deployment requirements in completely offline environments.</li>
- <li><strong>Streamlined Code Structure</strong>: Removed thousands of lines of redundant code, simplified class inheritance logic, significantly improving code readability and development efficiency.</li>
- <li><strong>Unified Intermediate Format Output</strong>: Adopted standardized <code>middle_json</code> format, compatible with most secondary development scenarios based on this format, ensuring seamless ecosystem business migration.</li>
- </ul>
- </li>
- <li><strong>New Model</strong>: MinerU 2.0 integrates our latest small-parameter, high-performance multimodal document parsing model, achieving end-to-end high-speed, high-precision document understanding.
- <ul>
- <li><strong>Small Model, Big Capabilities</strong>: With parameters under 1B, yet surpassing traditional 72B-level vision-language models (VLMs) in parsing accuracy.</li>
- <li><strong>Multiple Functions in One</strong>: A single model covers multilingual recognition, handwriting recognition, layout analysis, table parsing, formula recognition, reading order sorting, and other core tasks.</li>
- <li><strong>Ultimate Inference Speed</strong>: Achieves peak throughput exceeding 10,000 tokens/s through <code>sglang</code> acceleration on a single NVIDIA 4090 card, easily handling large-scale document processing requirements.</li>
- <li><strong>Online Experience</strong>: You can experience our brand-new VLM model on <a href="https://mineru.net/OpenSourceTools/Extractor">MinerU.net</a>, <a href="https://huggingface.co/spaces/opendatalab/MinerU">Hugging Face</a>, and <a href="https://www.modelscope.cn/studios/OpenDataLab/MinerU">ModelScope</a>.</li>
- </ul>
- </li>
- <li><strong>Incompatible Changes Notice</strong>: To improve overall architectural rationality and long-term maintainability, this version contains some incompatible changes:
- <ul>
- <li>Python package name changed from <code>magic-pdf</code> to <code>mineru</code>, and the command-line tool changed from <code>magic-pdf</code> to <code>mineru</code>. Please update your scripts and command calls accordingly.</li>
- <li>For modular system design and ecosystem consistency considerations, MinerU 2.0 no longer includes the LibreOffice document conversion module. If you need to process Office documents, we recommend converting them to PDF format through an independently deployed LibreOffice service before proceeding with subsequent parsing operations.</li>
- </ul>
- </li>
- </ul>
- </details>
- <details>
- <summary>2025/05/24 Release 1.3.12</summary>
- <ul>
- <li>Added support for PPOCRv5 models, updated <code>ch_server</code> model to <code>PP-OCRv5_rec_server</code>, and <code>ch_lite</code> model to <code>PP-OCRv5_rec_mobile</code> (model update required)
- <ul>
- <li>In testing, we found that PPOCRv5(server) has some improvement for handwritten documents, but has slightly lower accuracy than v4_server_doc for other document types, so the default ch model remains unchanged as <code>PP-OCRv4_server_rec_doc</code>.</li>
- <li>Since PPOCRv5 has enhanced recognition capabilities for handwriting and special characters, you can manually choose the PPOCRv5 model for Japanese-Traditional Chinese mixed scenarios and handwritten documents</li>
- <li>You can select the appropriate model through the lang parameter <code>lang='ch_server'</code> (Python API) or <code>--lang ch_server</code> (command line):
- <ul>
- <li><code>ch</code>: <code>PP-OCRv4_server_rec_doc</code> (default) (Chinese/English/Japanese/Traditional Chinese mixed/15K dictionary)</li>
- <li><code>ch_server</code>: <code>PP-OCRv5_rec_server</code> (Chinese/English/Japanese/Traditional Chinese mixed + handwriting/18K dictionary)</li>
- <li><code>ch_lite</code>: <code>PP-OCRv5_rec_mobile</code> (Chinese/English/Japanese/Traditional Chinese mixed + handwriting/18K dictionary)</li>
- <li><code>ch_server_v4</code>: <code>PP-OCRv4_rec_server</code> (Chinese/English mixed/6K dictionary)</li>
- <li><code>ch_lite_v4</code>: <code>PP-OCRv4_rec_mobile</code> (Chinese/English mixed/6K dictionary)</li>
- </ul>
- </li>
- </ul>
- </li>
- <li>Added support for handwritten documents through optimized layout recognition of handwritten text areas
- <ul>
- <li>This feature is supported by default, no additional configuration required</li>
- <li>You can refer to the instructions above to manually select the PPOCRv5 model for better handwritten document parsing results</li>
- </ul>
- </li>
- <li>The <code>huggingface</code> and <code>modelscope</code> demos have been updated to versions that support handwriting recognition and PPOCRv5 models, which you can experience online</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/04/29 Release 1.3.10</summary>
- <ul>
- <li>Added support for custom formula delimiters, which can be configured by modifying the <code>latex-delimiter-config</code> section in the <code>magic-pdf.json</code> file in your user directory.</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/04/27 Release 1.3.9</summary>
- <ul>
- <li>Optimized formula parsing functionality, improved formula rendering success rate</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/04/23 Release 1.3.8</summary>
- <ul>
- <li>The default <code>ocr</code> model (<code>ch</code>) has been updated to <code>PP-OCRv4_server_rec_doc</code> (model update required)
- <ul>
- <li><code>PP-OCRv4_server_rec_doc</code> is trained on a mixture of more Chinese document data and PP-OCR training data based on <code>PP-OCRv4_server_rec</code>, adding recognition capabilities for some traditional Chinese characters, Japanese, and special characters. It can recognize over 15,000 characters and improves both document-specific and general text recognition abilities.</li>
- <li><a href="https://paddlepaddle.github.io/PaddleX/latest/module_usage/tutorials/ocr_modules/text_recognition.html#_3">Performance comparison of PP-OCRv4_server_rec_doc/PP-OCRv4_server_rec/PP-OCRv4_mobile_rec</a></li>
- <li>After verification, the <code>PP-OCRv4_server_rec_doc</code> model shows significant accuracy improvements in Chinese/English/Japanese/Traditional Chinese in both single language and mixed language scenarios, with comparable speed to <code>PP-OCRv4_server_rec</code>, making it suitable for most use cases.</li>
- <li>In some pure English scenarios, <code>PP-OCRv4_server_rec_doc</code> may have word adhesion issues, while <code>PP-OCRv4_server_rec</code> performs better in these cases. Therefore, we've kept the <code>PP-OCRv4_server_rec</code> model, which users can access by adding the parameter <code>lang='ch_server'</code> (Python API) or <code>--lang ch_server</code> (command line).</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2025/04/22 Release 1.3.7</summary>
- <ul>
- <li>Fixed the issue where the lang parameter was ineffective during table parsing model initialization</li>
- <li>Fixed the significant speed reduction of OCR and table parsing in <code>cpu</code> mode</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/04/16 Release 1.3.4</summary>
- <ul>
- <li>Slightly improved OCR-det speed by removing some unnecessary blocks</li>
- <li>Fixed page-internal sorting errors caused by footnotes in certain cases</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/04/12 Release 1.3.2</summary>
- <ul>
- <li>Fixed dependency version incompatibility issues when installing on Windows with Python 3.13</li>
- <li>Optimized memory usage during batch inference</li>
- <li>Improved parsing of tables rotated 90 degrees</li>
- <li>Enhanced parsing of oversized tables in financial report samples</li>
- <li>Fixed the occasional word adhesion issue in English text areas when OCR language is not specified (model update required)</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/04/08 Release 1.3.1</summary>
- <ul>
- <li>Fixed several compatibility issues
- <ul>
- <li>Added support for Python 3.13</li>
- <li>Made final adaptations for outdated Linux systems (such as CentOS 7) with no guarantee of continued support in future versions, <a href="https://github.com/opendatalab/MinerU/issues/1004">installation instructions</a></li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2025/04/03 Release 1.3.0</summary>
- <ul>
- <li>Installation and compatibility optimizations
- <ul>
- <li>Resolved compatibility issues caused by <code>detectron2</code> by removing <code>layoutlmv3</code> usage in layout</li>
- <li>Extended torch version compatibility to 2.2~2.6 (excluding 2.5)</li>
- <li>Added CUDA compatibility for versions 11.8/12.4/12.6/12.8 (CUDA version determined by torch), solving compatibility issues for users with 50-series and H-series GPUs</li>
- <li>Extended Python compatibility to versions 3.10~3.12, fixing the issue of automatic downgrade to version 0.6.1 when installing in non-3.10 environments</li>
- <li>Optimized offline deployment process, eliminating the need to download any model files after successful deployment</li>
- </ul>
- </li>
- <li>Performance optimizations
- <ul>
- <li>Enhanced parsing speed for batches of small files by supporting batch processing of multiple PDF files (<a href="demo/batch_demo.py">script example</a>), with formula parsing speed improved by up to 1400% and overall parsing speed improved by up to 500% compared to version 1.0.1</li>
- <li>Reduced memory usage and improved parsing speed by optimizing MFR model loading and usage (requires re-running the <a href="docs/how_to_download_models_zh_cn.md">model download process</a> to get incremental updates to model files)</li>
- <li>Optimized GPU memory usage, requiring only 6GB minimum to run this project</li>
- <li>Improved running speed on MPS devices</li>
- </ul>
- </li>
- <li>Parsing effect optimizations
- <ul>
- <li>Updated MFR model to <code>unimernet(2503)</code>, fixing line break loss issues in multi-line formulas</li>
- </ul>
- </li>
- <li>Usability optimizations
- <ul>
- <li>Completely replaced the <code>paddle</code> framework and <code>paddleocr</code> in the project by using <code>paddleocr2torch</code>, resolving conflicts between <code>paddle</code> and <code>torch</code>, as well as thread safety issues caused by the <code>paddle</code> framework</li>
- <li>Added real-time progress bar display during parsing, allowing precise tracking of parsing progress and making the waiting process more bearable</li>
- </ul>
- </li>
- </ul>
- </details>
- <details>
- <summary>2025/03/03 1.2.1 released</summary>
- <ul>
- <li>Fixed the impact on punctuation marks during full-width to half-width conversion of letters and numbers</li>
- <li>Fixed caption matching inaccuracies in certain scenarios</li>
- <li>Fixed formula span loss issues in certain scenarios</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/02/24 1.2.0 released</summary>
- <p>This version includes several fixes and improvements to enhance parsing efficiency and accuracy:</p>
- <ul>
- <li><strong>Performance Optimization</strong>
- <ul>
- <li>Increased classification speed for PDF documents in auto mode.</li>
- </ul>
- </li>
- <li><strong>Parsing Optimization</strong>
- <ul>
- <li>Improved parsing logic for documents containing watermarks, significantly enhancing the parsing results for such documents.</li>
- <li>Enhanced the matching logic for multiple images/tables and captions within a single page, improving the accuracy of image-text matching in complex layouts.</li>
- </ul>
- </li>
- <li><strong>Bug Fixes</strong>
- <ul>
- <li>Fixed an issue where image/table spans were incorrectly filled into text blocks under certain conditions.</li>
- <li>Resolved an issue where title blocks were empty in some cases.</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2025/01/22 1.1.0 released</summary>
- <p>In this version we have focused on improving parsing accuracy and efficiency:</p>
- <ul>
- <li><strong>Model capability upgrade</strong> (requires re-executing the <a href="https://github.com/opendatalab/MinerU/blob/master/docs/how_to_download_models_en.md">model download process</a> to obtain incremental updates of model files)
- <ul>
- <li>The layout recognition model has been upgraded to the latest <code>doclayout_yolo(2501)</code> model, improving layout recognition accuracy.</li>
- <li>The formula parsing model has been upgraded to the latest <code>unimernet(2501)</code> model, improving formula recognition accuracy.</li>
- </ul>
- </li>
- <li><strong>Performance optimization</strong>
- <ul>
- <li>On devices that meet certain configuration requirements (16GB+ VRAM), by optimizing resource usage and restructuring the processing pipeline, overall parsing speed has been increased by more than 50%.</li>
- </ul>
- </li>
- <li><strong>Parsing effect optimization</strong>
- <ul>
- <li>Added a new heading classification feature (testing version, enabled by default) to the online demo (<a href="https://mineru.net/OpenSourceTools/Extractor">mineru.net</a>/<a href="https://huggingface.co/spaces/opendatalab/MinerU">huggingface</a>/<a href="https://www.modelscope.cn/studios/OpenDataLab/MinerU">modelscope</a>), which supports hierarchical classification of headings, thereby enhancing document structuring.</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2025/01/10 1.0.1 released</summary>
- <p>This is our first official release, where we have introduced a completely new API interface and enhanced compatibility through extensive refactoring, as well as a brand new automatic language identification feature:</p>
- <ul>
- <li><strong>New API Interface</strong>
- <ul>
- <li>For the data-side API, we have introduced the Dataset class, designed to provide a robust and flexible data processing framework. This framework currently supports a variety of document formats, including images (.jpg and .png), PDFs, Word documents (.doc and .docx), and PowerPoint presentations (.ppt and .pptx). It ensures effective support for data processing tasks ranging from simple to complex.</li>
- <li>For the user-side API, we have meticulously designed the MinerU processing workflow as a series of composable Stages. Each Stage represents a specific processing step, allowing users to define new Stages according to their needs and creatively combine these stages to customize their data processing workflows.</li>
- </ul>
- </li>
- <li><strong>Enhanced Compatibility</strong>
- <ul>
- <li>By optimizing the dependency environment and configuration items, we ensure stable and efficient operation on ARM architecture Linux systems.</li>
- <li>We have deeply integrated with Huawei Ascend NPU acceleration, providing autonomous and controllable high-performance computing capabilities. This supports the localization and development of AI application platforms in China. <a href="https://github.com/opendatalab/MinerU/blob/master/docs/README_Ascend_NPU_Acceleration_zh_CN.md">Ascend NPU Acceleration</a></li>
- </ul>
- </li>
- <li><strong>Automatic Language Identification</strong>
- <ul>
- <li>By introducing a new language recognition model, setting the <code>lang</code> configuration to <code>auto</code> during document parsing will automatically select the appropriate OCR language model, improving the accuracy of scanned document parsing.</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2024/11/22 0.10.0 released</summary>
- <p>Introducing hybrid OCR text extraction capabilities:</p>
- <ul>
- <li>Significantly improved parsing performance in complex text distribution scenarios such as dense formulas, irregular span regions, and text represented by images.</li>
- <li>Combines the dual advantages of accurate content extraction and faster speed in text mode, and more precise span/line region recognition in OCR mode.</li>
- </ul>
- </details>
-
- <details>
- <summary>2024/11/15 0.9.3 released</summary>
- <p>Integrated <a href="https://github.com/RapidAI/RapidTable">RapidTable</a> for table recognition, improving single-table parsing speed by more than 10 times, with higher accuracy and lower GPU memory usage.</p>
- </details>
-
- <details>
- <summary>2024/11/06 0.9.2 released</summary>
- <p>Integrated the <a href="https://huggingface.co/U4R/StructTable-InternVL2-1B">StructTable-InternVL2-1B</a> model for table recognition functionality.</p>
- </details>
-
- <details>
- <summary>2024/10/31 0.9.0 released</summary>
- <p>This is a major new version with extensive code refactoring, addressing numerous issues, improving performance, reducing hardware requirements, and enhancing usability:</p>
- <ul>
- <li>Refactored the sorting module code to use <a href="https://github.com/ppaanngggg/layoutreader">layoutreader</a> for reading order sorting, ensuring high accuracy in various layouts.</li>
- <li>Refactored the paragraph concatenation module to achieve good results in cross-column, cross-page, cross-figure, and cross-table scenarios.</li>
- <li>Refactored the list and table of contents recognition functions, significantly improving the accuracy of list blocks and table of contents blocks, as well as the parsing of corresponding text paragraphs.</li>
- <li>Refactored the matching logic for figures, tables, and descriptive text, greatly enhancing the accuracy of matching captions and footnotes to figures and tables, and reducing the loss rate of descriptive text to near zero.</li>
- <li>Added multi-language support for OCR, supporting detection and recognition of 84 languages. For the list of supported languages, see <a href="https://paddlepaddle.github.io/PaddleOCR/latest/en/ppocr/blog/multi_languages.html#5-support-languages-and-abbreviations">OCR Language Support List</a>.</li>
- <li>Added memory recycling logic and other memory optimization measures, significantly reducing memory usage. The memory requirement for enabling all acceleration features except table acceleration (layout/formula/OCR) has been reduced from 16GB to 8GB, and the memory requirement for enabling all acceleration features has been reduced from 24GB to 10GB.</li>
- <li>Optimized configuration file feature switches, adding an independent formula detection switch to significantly improve speed and parsing results when formula detection is not needed.</li>
- <li>Integrated <a href="https://github.com/opendatalab/PDF-Extract-Kit">PDF-Extract-Kit 1.0</a>:
- <ul>
- <li>Added the self-developed <code>doclayout_yolo</code> model, which speeds up processing by more than 10 times compared to the original solution while maintaining similar parsing effects, and can be freely switched with <code>layoutlmv3</code> via the configuration file.</li>
- <li>Upgraded formula parsing to <code>unimernet 0.2.1</code>, improving formula parsing accuracy while significantly reducing memory usage.</li>
- <li>Due to the repository change for <code>PDF-Extract-Kit 1.0</code>, you need to re-download the model. Please refer to <a href="https://github.com/opendatalab/MinerU/blob/master/docs/how_to_download_models_en.md">How to Download Models</a> for detailed steps.</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2024/09/27 Version 0.8.1 released</summary>
- <p>Fixed some bugs, and providing a <a href="https://github.com/opendatalab/MinerU/blob/master/projects/web_demo/README.md">localized deployment version</a> of the <a href="https://opendatalab.com/OpenSourceTools/Extractor/PDF/">online demo</a> and the <a href="https://github.com/opendatalab/MinerU/blob/master/projects/web/README.md">front-end interface</a>.</p>
- </details>
-
- <details>
- <summary>2024/09/09 Version 0.8.0 released</summary>
- <p>Supporting fast deployment with Dockerfile, and launching demos on Huggingface and Modelscope.</p>
- </details>
-
- <details>
- <summary>2024/08/30 Version 0.7.1 released</summary>
- <p>Add paddle tablemaster table recognition option</p>
- </details>
-
- <details>
- <summary>2024/08/09 Version 0.7.0b1 released</summary>
- <p>Simplified installation process, added table recognition functionality</p>
- </details>
-
- <details>
- <summary>2024/08/01 Version 0.6.2b1 released</summary>
- <p>Optimized dependency conflict issues and installation documentation</p>
- </details>
-
- <details>
- <summary>2024/07/05 Initial open-source release</summary>
- </details>
-</details>
+> 📝 View the complete [Changelog](https://opendatalab.github.io/MinerU/changelog/) for more historical version information
# MinerU
diff --git a/README_zh-CN.md b/README_zh-CN.md
index fb8c29de..58d29364 100644
--- a/README_zh-CN.md
+++ b/README_zh-CN.md
@@ -44,538 +44,18 @@
</div>
# 更新记录
-- 2025/12/12 2.6.7 发布
- - bug修复: #4168
-
-- 2025/12/02 2.6.6 发布
- - `Ascend`适配优化
- - 优化命令行工具初始化流程,使Ascend适配方案中`vlm-vllm-engine`后端在命令行工具中可用。
- - 为Atlas 300I Duo(310p)设备更新适配文档。
- - `mineru-api`工具优化
- - 为`mineru-api`接口参数增加描述性文本,优化接口文档可读性。
- - 可通过环境变量`MINERU_API_ENABLE_FASTAPI_DOCS`控制是否启用自动生成的接口文档页面,默认为启用。
- - 为`vlm-vllm-async-engine`、`vlm-lmdeploy-engine`、`vlm-http-client`后端增加并发数配置选项,用户可通过环境变量`MINERU_API_MAX_CONCURRENT_REQUESTS`控制api接口的最大并发请求数,默认为不限制数量。
-
-- 2025/11/26 2.6.5 发布
- - 增加新后端`vlm-lmdeploy-engine`支持,使用方式与`vlm-vllm-(async)engine`类似,但使用`lmdeploy`作为推理引擎,与`vllm`相比额外支持Windows平台原生推理加速。
- - 新增国产算力平台`昇腾/npu`、`平头哥/ppu`、`沐曦/maca`的适配支持,用户可在对应平台上使用`pipeline`与`vlm`模型,并使用`vllm`/`lmdeploy`引擎加速vlm模型推理,具体使用方式请参考[其他加速卡适配](https://opendatalab.github.io/MinerU/zh/usage/)。
- - 国产平台适配不易,我们已尽量确保适配的完整性和稳定性,但仍可能存在一些稳定性/兼容问题与精度对齐问题,请大家根据适配文档页面内红绿灯情况自行选择合适的环境与场景进行使用。
- - 如在使用国产化平台适配方案的过程中遇到任何文档未提及的问题,为便于其他用户查找解决方案,请在discussions的[指定帖子](https://github.com/opendatalab/MinerU/discussions/4064)中进行反馈。
-
-- 2025/11/04 2.6.4 发布
- - 为pdf渲染图片增加超时配置,默认为300秒,可通过环境变量`MINERU_PDF_RENDER_TIMEOUT`进行配置,防止部分异常pdf文件导致渲染过程长时间阻塞。
- - 为onnx模型增加cpu线程数配置选项,默认为系统cpu核心数,可通过环境变量`MINERU_INTRA_OP_NUM_THREADS`和`MINERU_INTER_OP_NUM_THREADS`进行配置,以减少高并发场景下的对cpu资源的抢占冲突。
-
-- 2025/10/31 2.6.3 发布
- - 增加新后端`vlm-mlx-engine`支持,在Apple Silicon设备上支持使用`MLX`加速`MinerU2.5`模型推理,相比`vlm-transformers`后端,`vlm-mlx-engine`后端速度提升100%~200%。
- - bug修复: #3849 #3859
-
-- 2025/10/24 2.6.2 发布
- - `pipline`后端优化
- - 增加对中文公式的实验性支持,可通过配置环境变量`export MINERU_FORMULA_CH_SUPPORT=1`开启。该功能可能会导致MFR速率略微下降、部分长公式识别失败等问题,建议仅在需要解析中文公式的场景下开启。如需关闭该功能,可将环境变量设置为`0`。
- - `OCR`速度大幅提升200%~300%,感谢 [@cjsdurj](https://github.com/cjsdurj) 提供的优化方案
- - `OCR`模型优化拉丁文识别的准度和广度,并更新西里尔文(cyrillic)、阿拉伯文(arabic)、天城文(devanagari)、泰卢固语(te)、泰米尔语(ta)语系至`ppocr-v5`版本,精度相比上代模型提升40%以上
- - `vlm`后端优化
- - `table_caption`、`table_footnote`匹配逻辑优化,提升页内多张连续表场景下的表格标题和脚注的匹配准确率和阅读顺序合理性
- - 优化使用`vllm`后端时高并发时的cpu资源占用,降低服务端压力
- - 适配`vllm`0.11.0版本
- - 通用优化
- - 跨页表格合并效果优化,新增跨页续表合并支持,提升在多列合并场景下的表格合并效果
- - 为表格合并功能增加环境变量配置选项`MINERU_TABLE_MERGE_ENABLE`,表格合并功能默认开启,可通过设置该变量为`0`来关闭表格合并功能
-
-- 2025/09/26 2.5.4 发布
- - 🎉🎉 MinerU2.5[技术报告](https://arxiv.org/abs/2509.22186)现已发布,欢迎阅读全面了解其模型架构、训练策略、数据工程和评测结果。
- - 修复部分`pdf`文件被识别成`ai`文件导致无法解析的问题
-
-- 2025/09/20 2.5.3 发布
- - 依赖版本范围调整,使得Turing及更早架构显卡可以使用vLLM加速推理MinerU2.5模型。
- - `pipeline`后端对torch 2.8.0的一些兼容性修复。
- - 降低vLLM异步后端默认的并发数,降低服务端压力以避免高压导致的链接关闭问题。
- - 更多兼容性相关内容详见[公告](https://github.com/opendatalab/MinerU/discussions/3547)
-
-- 2025/09/19 2.5.2 发布
- 我们正式发布 MinerU2.5,当前最强文档解析多模态大模型。仅凭 1.2B 参数,MinerU2.5 在 OmniDocBench 文档解析评测中,精度已全面超越 Gemini2.5-Pro、GPT-4o、Qwen2.5-VL-72B等顶级多模态大模型,并显著领先于主流文档解析专用模型(如 dots.ocr, MonkeyOCR, PP-StructureV3 等)。
- 模型已发布至[HuggingFace](https://huggingface.co/opendatalab/MinerU2.5-2509-1.2B)和[ModelScope](https://modelscope.cn/models/opendatalab/MinerU2.5-2509-1.2B)平台,欢迎大家下载使用!
- - 核心亮点
- - 极致能效,性能SOTA: 以 1.2B 的轻量化规模,实现了超越百亿乃至千亿级模型的SOTA性能,重新定义了文档解析的能效比。
- - 先进架构,全面领先: 通过 “两阶段推理” (解耦布局分析与内容识别) 与 原生高分辨率架构 的结合,在布局分析、文本识别、公式识别、表格识别及阅读顺序五大方面均达到 SOTA 水平。
- - 关键能力提升
- - 布局检测: 结果更完整,精准覆盖页眉、页脚、页码等非正文内容;同时提供更精准的元素定位与更自然的格式还原(如列表、参考文献)。
- - 表格解析: 大幅优化了对旋转表格、无线/少线表、以及长难表格的解析能力。
- - 公式识别: 显著提升中英混合公式及复杂长公式的识别准确率,大幅改善数学类文档解析能力。
-
- 此外,伴随vlm 2.5的发布,我们对仓库做出一些调整:
- - vlm后端升级至2.5版本,支持MinerU2.5模型,不再兼容MinerU2.0-2505-0.9B模型,最后一个支持2.0模型的版本为mineru-2.2.2。
- - vlm推理相关代码已移至[mineru_vl_utils](https://github.com/opendatalab/mineru-vl-utils),降低与mineru主仓库的耦合度,便于后续独立迭代。
- - vlm加速推理框架从`sglang`切换至`vllm`,并实现对vllm生态的完全兼容,使得用户可以在任何支持vllm框架的平台上使用MinerU2.5模型并加速推理。
- - 由于vlm模型的重大升级,支持更多layout type,因此我们对解析的中间文件`middle.json`和结果文件`content_list.json`的结构做出一些调整,请参考[文档](https://opendatalab.github.io/MinerU/zh/reference/output_files/)了解详情。
-
- 其他仓库优化:
- - 移除对输入文件的后缀名白名单校验,当输入文件为PDF文档或图片时,对文件的后缀名不再有要求,提升易用性。
-
-<details>
- <summary>历史日志</summary>
-
- <details>
- <summary>2025/09/10 2.2.2 发布</summary>
- <ul>
- <li>修复新的表格识别模型在部分表格解析失败时影响整体解析任务的问题</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/09/08 2.2.1 发布</summary>
- <ul>
- <li>修复使用模型下载命令时,部分新增模型未下载的问题</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/09/05 2.2.0 发布</summary>
- <ul>
- <li>
- 主要更新
- <ul>
- <li>在这个版本我们重点提升了表格的解析精度,通过引入新的<a href="https://github.com/RapidAI/TableStructureRec">有线表识别模型</a>和全新的混合表格结构解析算法,显著提升了<code>pipeline</code>后端的表格识别能力。</li>
- <li>另外我们增加了对跨页表格合并的支持,这一功能同时支持<code>pipeline</code>和<code>vlm</code>后端,进一步提升了表格解析的完整性和准确性。</li>
- </ul>
- </li>
- <li>
- 其他更新
- <ul>
- <li><code>pipeline</code>后端增加270度旋转的表格解析能力,现已支持0/90/270度三个方向的表格解析</li>
- <li><code>pipeline</code>增加对泰文、希腊文的ocr能力支持,并更新了英文ocr模型至最新,英文识别精度提升11%,泰文识别模型精度 82.68%,希腊文识别模型精度 89.28%(by PPOCRv5)</li>
- <li>在输出的<code>content_list.json</code>中增加了<code>bbox</code>字段(映射至0-1000范围内),方便用户直接获取每个内容块的位置信息</li>
- <li>移除<code>pipeline_old_linux</code>安装可选项,不再支持老版本的Linux系统如<code>Centos 7</code>等,以便对<code>uv</code>的<code>sync</code>/<code>run</code>等命令进行更好的支持</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2025/08/01 2.1.10 发布</summary>
- <ul>
- <li>修复<code>pipeline</code>后端因block覆盖导致的解析结果与预期不符 #3232</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/07/30 2.1.9 发布</summary>
- <ul>
- <li><code>transformers</code> 4.54.1 版本适配</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/07/28 2.1.8 发布</summary>
- <ul>
- <li><code>sglang</code> 0.4.9.post5 版本适配</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/07/27 2.1.7 发布</summary>
- <ul>
- <li><code>transformers</code> 4.54.0 版本适配</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/07/26 2.1.6 发布</summary>
- <ul>
- <li>修复<code>vlm</code>后端解析部分手写文档时的表格异常问题</li>
- <li>修复文档旋转时可视化框位置漂移问题 #3175</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/07/24 2.1.5 发布</summary>
- <ul>
- <li><code>sglang</code> 0.4.9 版本适配,同步升级dockerfile基础镜像为sglang 0.4.9.post3</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/07/23 2.1.4 发布</summary>
- <ul>
- <li><strong>bug修复</strong>
- <ul>
- <li>修复<code>pipeline</code>后端中<code>MFR</code>步骤在某些情况下显存消耗过大的问题 #2771</li>
- <li>修复某些情况下<code>image</code>/<code>table</code>与<code>caption</code>/<code>footnote</code>匹配不准确的问题 #3129</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2025/07/16 2.1.1 发布</summary>
- <ul>
- <li><strong>bug修复</strong>
- <ul>
- <li>修复<code>pipeline</code>在某些情况可能发生的文本块内容丢失问题 #3005</li>
- <li>修复<code>sglang-client</code>需要安装<code>torch</code>等不必要的包的问题 #2968</li>
- <li>更新<code>dockerfile</code>以修复linux字体缺失导致的解析文本内容不完整问题 #2915</li>
- </ul>
- </li>
- <li><strong>易用性更新</strong>
- <ul>
- <li>更新<code>compose.yaml</code>,便于用户直接启动<code>sglang-server</code>、<code>mineru-api</code>、<code>mineru-gradio</code>服务</li>
- <li>启用全新的<a href="https://opendatalab.github.io/MinerU/zh/">在线文档站点</a>,简化readme,提供更好的文档体验</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2025/07/05 2.1.0 发布</summary>
- <p>这是 MinerU 2 的第一个大版本更新,包含了大量新功能和改进,包含众多性能优化、体验优化和bug修复,具体更新内容如下:</p>
- <ul>
- <li><strong>性能优化:</strong>
- <ul>
- <li>大幅提升某些特定分辨率(长边2000像素左右)文档的预处理速度</li>
- <li>大幅提升<code>pipeline</code>后端批量处理大量页数较少(&lt;10)文档时的后处理速度</li>
- <li><code>pipeline</code>后端的layout分析速度提升约20%</li>
- </ul>
- </li>
- <li><strong>体验优化:</strong>
- <ul>
- <li>内置开箱即用的<code>fastapi服务</code>和<code>gradio webui</code>,详细使用方法请参考<a href="https://opendatalab.github.io/MinerU/zh/usage/quick_usage/#apiwebuisglang-clientserver">文档</a></li>
- <li><code>sglang</code>适配<code>0.4.8</code>版本,大幅降低<code>vlm-sglang</code>后端的显存要求,最低可在<code>8G显存</code>(Turing及以后架构)的显卡上运行</li>
- <li>对所有命令增加<code>sglang</code>的参数透传,使得<code>sglang-engine</code>后端可以与<code>sglang-server</code>一致,接收<code>sglang</code>的所有参数</li>
- <li>支持基于配置文件的功能扩展,包含<code>自定义公式标识符</code>、<code>开启标题分级功能</code>、<code>自定义本地模型目录</code>,详细使用方法请参考<a href="https://opendatalab.github.io/MinerU/zh/usage/quick_usage/#mineru_1">文档</a></li>
- </ul>
- </li>
- <li><strong>新特性:</strong>
- <ul>
- <li><code>pipeline</code>后端更新 PP-OCRv5 多语种文本识别模型,支持法语、西班牙语、葡萄牙语、俄语、韩语等 37 种语言的文字识别,平均精度涨幅超30%。<a href="https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/algorithm/PP-OCRv5/PP-OCRv5_multi_languages.html">详情</a></li>
- <li><code>pipeline</code>后端增加对竖排文本的有限支持</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2025/06/20 2.0.6发布</summary>
- <ul>
- <li>修复<code>vlm</code>模式下,某些偶发的无效块内容导致解析中断问题</li>
- <li>修复<code>vlm</code>模式下,某些不完整的表结构导致的解析中断问题</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/06/17 2.0.5发布</summary>
- <ul>
- <li>修复了<code>sglang-client</code>模式下依然需要下载模型的问题</li>
- <li>修复了<code>sglang-client</code>模式需要依赖<code>torch</code>等实际运行不需要的包的问题</li>
- <li>修复了同一进程内尝试通过多个url启动多个<code>sglang-client</code>实例时,只有第一个生效的问题</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/06/15 2.0.3发布</summary>
- <ul>
- <li>修复了当下载模型类型设置为<code>all</code>时,配置文件出现键值更新错误的问题</li>
- <li>修复了命令行模式下公式和表格功能开关不生效导致功能无法关闭的问题</li>
- <li>修复了<code>sglang-engine</code>模式下,0.4.7版本sglang的兼容性问题</li>
- <li>更新了sglang环境下部署完整版MinerU的Dockerfile和相关安装文档</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/06/13 2.0.0发布</summary>
- <ul>
- <li><strong>全新架构</strong>:MinerU 2.0 在代码结构和交互方式上进行了深度重构,显著提升了系统的易用性、可维护性与扩展能力。
- <ul>
- <li><strong>去除第三方依赖限制</strong>:彻底移除对 <code>pymupdf</code> 的依赖,推动项目向更开放、合规的开源方向迈进。</li>
- <li><strong>开箱即用,配置便捷</strong>:无需手动编辑 JSON 配置文件,绝大多数参数已支持命令行或 API 直接设置。</li>
- <li><strong>模型自动管理</strong>:新增模型自动下载与更新机制,用户无需手动干预即可完成模型部署。</li>
- <li><strong>离线部署友好</strong>:提供内置模型下载命令,支持完全断网环境下的部署需求。</li>
- <li><strong>代码结构精简</strong>:移除数千行冗余代码,简化类继承逻辑,显著提升代码可读性与开发效率。</li>
- <li><strong>统一中间格式输出</strong>:采用标准化的 <code>middle_json</code> 格式,兼容多数基于该格式的二次开发场景,确保生态业务无缝迁移。</li>
- </ul>
- </li>
- <li><strong>全新模型</strong>:MinerU 2.0 集成了我们最新研发的小参数量、高性能多模态文档解析模型,实现端到端的高速、高精度文档理解。
- <ul>
- <li><strong>小模型,大能力</strong>:模型参数不足 1B,却在解析精度上超越传统 72B 级别的视觉语言模型(VLM)。</li>
- <li><strong>多功能合一</strong>:单模型覆盖多语言识别、手写识别、版面分析、表格解析、公式识别、阅读顺序排序等核心任务。</li>
- <li><strong>极致推理速度</strong>:在单卡 NVIDIA 4090 上通过 <code>sglang</code> 加速,达到峰值吞吐量超过 10,000 token/s,轻松应对大规模文档处理需求。</li>
- <li><strong>在线体验</strong>:您可以在<a href="https://mineru.net/OpenSourceTools/Extractor">MinerU.net</a>、<a href="https://huggingface.co/spaces/opendatalab/MinerU">Hugging Face</a>, 以及<a href="https://www.modelscope.cn/studios/OpenDataLab/MinerU">ModelScope</a>体验我们的全新VLM模型</li>
- </ul>
- </li>
- <li><strong>不兼容变更说明</strong>:为提升整体架构合理性与长期可维护性,本版本包含部分不兼容的变更:
- <ul>
- <li>Python 包名从 <code>magic-pdf</code> 更改为 <code>mineru</code>,命令行工具也由 <code>magic-pdf</code> 改为 <code>mineru</code>,请同步更新脚本与调用命令。</li>
- <li>出于对系统模块化设计与生态一致性的考虑,MinerU 2.0 已不再内置 LibreOffice 文档转换模块。如需处理 Office 文档,建议通过独立部署的 LibreOffice 服务先行转换为 PDF 格式,再进行后续解析操作。</li>
- </ul>
- </li>
- </ul>
- </details>
- <details>
- <summary>2025/05/24 1.3.12 发布</summary>
- <ul>
- <li>增加ppocrv5模型的支持,将<code>ch_server</code>模型更新为<code>PP-OCRv5_rec_server</code>,<code>ch_lite</code>模型更新为<code>PP-OCRv5_rec_mobile</code>(需更新模型)
- <ul>
- <li>在测试中,发现ppocrv5(server)对手写文档效果有一定提升,但在其余类别文档的精度略差于v4_server_doc,因此默认的ch模型保持不变,仍为<code>PP-OCRv4_server_rec_doc</code>。</li>
- <li>由于ppocrv5强化了手写场景和特殊字符的识别能力,因此您可以在日繁混合场景以及手写文档场景下手动选择使用ppocrv5模型</li>
- <li>您可通过lang参数<code>lang='ch_server'</code>(python api)或<code>--lang ch_server</code>(命令行)自行选择相应的模型:
- <ul>
- <li><code>ch</code> :<code>PP-OCRv4_rec_server_doc</code>(默认)(中英日繁混合/1.5w字典)</li>
- <li><code>ch_server</code> :<code>PP-OCRv5_rec_server</code>(中英日繁混合+手写场景/1.8w字典)</li>
- <li><code>ch_lite</code> :<code>PP-OCRv5_rec_mobile</code>(中英日繁混合+手写场景/1.8w字典)</li>
- <li><code>ch_server_v4</code> :<code>PP-OCRv4_rec_server</code>(中英混合/6k字典)</li>
- <li><code>ch_lite_v4</code> :<code>PP-OCRv4_rec_mobile</code>(中英混合/6k字典)</li>
- </ul>
- </li>
- </ul>
- </li>
- <li>增加手写文档的支持,通过优化layout对手写文本区域的识别,现已支持手写文档的解析
- <ul>
- <li>默认支持此功能,无需额外配置</li>
- <li>可以参考上述说明,手动选择ppocrv5模型以获得更好的手写文档解析效果</li>
- </ul>
- </li>
- <li><code>huggingface</code>和<code>modelscope</code>的demo已更新为支持手写识别和ppocrv5模型的版本,可自行在线体验</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/04/29 1.3.10 发布</summary>
- <ul>
- <li>支持使用自定义公式标识符,可通过修改用户目录下的<code>magic-pdf.json</code>文件中的<code>latex-delimiter-config</code>项实现。</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/04/27 1.3.9 发布</summary>
- <ul>
- <li>优化公式解析功能,提升公式渲染的成功率</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/04/23 1.3.8 发布</summary>
- <ul>
- <li><code>ocr</code>默认模型(<code>ch</code>)更新为<code>PP-OCRv4_server_rec_doc</code>(需更新模型)
- <ul>
- <li><code>PP-OCRv4_server_rec_doc</code>是在<code>PP-OCRv4_server_rec</code>的基础上,在更多中文文档数据和PP-OCR训练数据的混合数据训练而成,增加了部分繁体字、日文、特殊字符的识别能力,可支持识别的字符为1.5万+,除文档相关的文字识别能力提升外,也同时提升了通用文字的识别能力。</li>
- <li><a href="https://paddlepaddle.github.io/PaddleX/latest/module_usage/tutorials/ocr_modules/text_recognition.html#_3">PP-OCRv4_server_rec_doc/PP-OCRv4_server_rec/PP-OCRv4_mobile_rec 性能对比</a></li>
- <li>经验证,<code>PP-OCRv4_server_rec_doc</code>模型在<code>中英日繁</code>单种语言或多种语言混合场景均有明显精度提升,且速度与<code>PP-OCRv4_server_rec</code>相当,适合绝大部分场景使用。</li>
- <li><code>PP-OCRv4_server_rec_doc</code>在小部分纯英文场景可能会发生单词粘连问题,<code>PP-OCRv4_server_rec</code>则在此场景下表现更好,因此我们保留了<code>PP-OCRv4_server_rec</code>模型,用户可通过增加参数<code>lang='ch_server'</code>(python api)或<code>--lang ch_server</code>(命令行)调用。</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2025/04/22 1.3.7 发布</summary>
- <ul>
- <li>修复表格解析模型初始化时lang参数失效的问题</li>
- <li>修复在<code>cpu</code>模式下ocr和表格解析速度大幅下降的问题</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/04/16 1.3.4 发布</summary>
- <ul>
- <li>通过移除一些无用的块,小幅提升了ocr-det的速度</li>
- <li>修复部分情况下由footnote导致的页面内排序错误</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/04/12 1.3.2 发布</summary>
- <ul>
- <li>修复了windows系统下,在python3.13环境安装时一些依赖包版本不兼容的问题</li>
- <li>优化批量推理时的内存占用</li>
- <li>优化旋转90度表格的解析效果</li>
- <li>优化财报样本中超大表格的解析效果</li>
- <li>修复了在未指定OCR语言时,英文文本区域偶尔出现的单词黏连问题(需要更新模型)</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/04/08 1.3.1 发布</summary>
- <ul>
- <li>修复了一些兼容问题
- <ul>
- <li>支持python 3.13</li>
- <li>为部分过时的linux系统(如centos7)做出最后适配,并不再保证后续版本的继续支持,<a href="https://github.com/opendatalab/MinerU/issues/1004">安装说明</a></li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2025/04/03 1.3.0 发布</summary>
- <ul>
- <li>安装与兼容性优化
- <ul>
- <li>通过移除layout中<code>layoutlmv3</code>的使用,解决了由<code>detectron2</code>导致的兼容问题</li>
- <li>torch版本兼容扩展到2.2~2.6(2.5除外)</li>
- <li>cuda兼容支持11.8/12.4/12.6/12.8(cuda版本由torch决定),解决部分用户50系显卡与H系显卡的兼容问题</li>
- <li>python兼容版本扩展到3.10~3.12,解决了在非3.10环境下安装时自动降级到0.6.1的问题</li>
- <li>优化离线部署流程,部署成功后不需要联网下载任何模型文件</li>
- </ul>
- </li>
- <li>性能优化
- <ul>
- <li>通过支持多个pdf文件的batch处理(<a href="demo/batch_demo.py">脚本样例</a>),提升了批量小文件的解析速度 (与1.0.1版本相比,公式解析速度最高提升超过1400%,整体解析速度最高提升超过500%)</li>
- <li>通过优化mfr模型的加载和使用,降低了显存占用并提升了解析速度(需重新执行<a href="docs/how_to_download_models_zh_cn.md">模型下载流程</a>以获得模型文件的增量更新)</li>
- <li>优化显存占用,最低仅需6GB即可运行本项目</li>
- <li>优化了在mps设备上的运行速度</li>
- </ul>
- </li>
- <li>解析效果优化
- <ul>
- <li>mfr模型更新到<code>unimernet(2503)</code>,解决多行公式中换行丢失的问题</li>
- </ul>
- </li>
- <li>易用性优化
- <ul>
- <li>通过使用<code>paddleocr2torch</code>,完全替代<code>paddle</code>框架以及<code>paddleocr</code>在项目中的使用,解决了<code>paddle</code>和<code>torch</code>的冲突问题,和由于<code>paddle</code>框架导致的线程不安全问题</li>
- <li>解析过程增加实时进度条显示,精准把握解析进度,让等待不再痛苦</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2025/03/03 1.2.1 发布,修复了一些问题</summary>
- <ul>
- <li>修复在字母与数字的全角转半角操作时对标点符号的影响</li>
- <li>修复在某些情况下caption的匹配不准确问题</li>
- <li>修复在某些情况下的公式span丢失问题</li>
- </ul>
- </details>
-
- <details>
- <summary>2025/02/24 1.2.0 发布,这个版本我们修复了一些问题,提升了解析的效率与精度:</summary>
- <ul>
- <li>性能优化
- <ul>
- <li>auto模式下pdf文档的分类速度提升</li>
- </ul>
- </li>
- <li>解析优化
- <ul>
- <li>优化对包含水印文档的解析逻辑,显著提升包含水印文档的解析效果</li>
- <li>改进了单页内多个图像/表格与caption的匹配逻辑,提升了复杂布局下图文匹配的准确性</li>
- </ul>
- </li>
- <li>问题修复
- <ul>
- <li>修复在某些情况下图片/表格span被填充进textblock导致的异常</li>
- <li>修复在某些情况下标题block为空的问题</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2025/01/22 1.1.0 发布,在这个版本我们重点提升了解析的精度与效率:</summary>
- <ul>
- <li>模型能力升级(需重新执行 <a href="https://github.com/opendatalab/MinerU/docs/how_to_download_models_zh_cn.md">模型下载流程</a> 以获得模型文件的增量更新)
- <ul>
- <li>布局识别模型升级到最新的 `doclayout_yolo(2501)` 模型,提升了layout识别精度</li>
- <li>公式解析模型升级到最新的 `unimernet(2501)` 模型,提升了公式识别精度</li>
- </ul>
- </li>
- <li>性能优化
- <ul>
- <li>在配置满足一定条件(显存16GB+)的设备上,通过优化资源占用和重构处理流水线,整体解析速度提升50%以上</li>
- </ul>
- </li>
- <li>解析效果优化
- <ul>
- <li>在线demo(<a href="https://mineru.net/OpenSourceTools/Extractor">mineru.net</a> / <a href="https://huggingface.co/spaces/opendatalab/MinerU">huggingface</a> / <a href="https://www.modelscope.cn/studios/OpenDataLab/MinerU">modelscope</a>)上新增标题分级功能(测试版本,默认开启),支持对标题进行分级,提升文档结构化程度</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2025/01/10 1.0.1 发布,这是我们的第一个正式版本,在这个版本中,我们通过大量重构带来了全新的API接口和更广泛的兼容性,以及全新的自动语言识别功能:</summary>
- <ul>
- <li>全新API接口
- <ul>
- <li>对于数据侧API,我们引入了Dataset类,旨在提供一个强大而灵活的数据处理框架。该框架当前支持包括图像(.jpg及.png)、PDF、Word(.doc及.docx)、以及PowerPoint(.ppt及.pptx)在内的多种文档格式,确保了从简单到复杂的数据处理任务都能得到有效的支持。</li>
- <li>针对用户侧API,我们将MinerU的处理流程精心设计为一系列可组合的Stage阶段。每个Stage代表了一个特定的处理步骤,用户可以根据自身需求自由地定义新的Stage,并通过创造性地组合这些阶段来定制专属的数据处理流程。</li>
- </ul>
- </li>
- <li>更广泛的兼容性适配
- <ul>
- <li>通过优化依赖环境和配置项,确保在ARM架构的Linux系统上能够稳定高效运行。</li>
- <li>深度适配华为昇腾NPU加速,积极响应信创要求,提供自主可控的高性能计算能力,助力人工智能应用平台的国产化应用与发展。 <a href="https://github.com/opendatalab/MinerU/docs/README_Ascend_NPU_Acceleration_zh_CN.md">NPU加速教程</a></li>
- </ul>
- </li>
- <li>自动语言识别
- <ul>
- <li>通过引入全新的语言识别模型, 在文档解析中将 `lang` 配置为 `auto`,即可自动选择合适的OCR语言模型,提升扫描类文档解析的准确性。</li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2024/11/22 0.10.0发布,通过引入混合OCR文本提取能力,</summary>
- <ul>
- <li>在公式密集、span区域不规范、部分文本使用图像表现等复杂文本分布场景下获得解析效果的显著提升</li>
- <li>同时具备文本模式内容提取准确、速度更快与OCR模式span/line区域识别更准的双重优势</li>
- </ul>
- </details>
-
- <details>
- <summary>2024/11/15 0.9.3发布,为表格识别功能接入了<a href="https://github.com/RapidAI/RapidTable">RapidTable</a>,单表解析速度提升10倍以上,准确率更高,显存占用更低</summary>
- </details>
-
- <details>
- <summary>2024/11/06 0.9.2发布,为表格识别功能接入了<a href="https://huggingface.co/U4R/StructTable-InternVL2-1B">StructTable-InternVL2-1B</a>模型</summary>
- </details>
-
- <details>
- <summary>2024/10/31 0.9.0发布,这是我们进行了大量代码重构的全新版本,解决了众多问题,提升了性能,降低了硬件需求,并提供了更丰富的易用性:</summary>
- <ul>
- <li>重构排序模块代码,使用 <a href="https://github.com/ppaanngggg/layoutreader">layoutreader</a> 进行阅读顺序排序,确保在各种排版下都能实现极高准确率</li>
- <li>重构段落拼接模块,在跨栏、跨页、跨图、跨表情况下均能实现良好的段落拼接效果</li>
- <li>重构列表和目录识别功能,极大提升列表块和目录块识别的准确率及对应文本段落的解析效果</li>
- <li>重构图、表与描述性文本的匹配逻辑,大幅提升 caption 和 footnote 与图表的匹配准确率,并将描述性文本的丢失率降至接近0</li>
- <li>增加 OCR 的多语言支持,支持 84 种语言的检测与识别,语言支持列表详见 <a href="https://paddlepaddle.github.io/PaddleOCR/latest/ppocr/blog/multi_languages.html#5">OCR 语言支持列表</a></li>
- <li>增加显存回收逻辑及其他显存优化措施,大幅降低显存使用需求。开启除表格加速外的全部加速功能(layout/公式/OCR)的显存需求从16GB降至8GB,开启全部加速功能的显存需求从24GB降至10GB</li>
- <li>优化配置文件的功能开关,增加独立的公式检测开关,无需公式检测时可大幅提升速度和解析效果</li>
- <li>集成 <a href="https://github.com/opendatalab/PDF-Extract-Kit">PDF-Extract-Kit 1.0</a>
- <ul>
- <li>加入自研的 `doclayout_yolo` 模型,在相近解析效果情况下比原方案提速10倍以上,可通过配置文件与 `layoutlmv3` 自由切换</li>
- <li>公式解析升级至 `unimernet 0.2.1`,在提升公式解析准确率的同时,大幅降低显存需求</li>
- <li>因 `PDF-Extract-Kit 1.0` 更换仓库,需要重新下载模型,步骤详见 <a href="https://github.com/opendatalab/MinerU/docs/how_to_download_models_zh_cn.md">如何下载模型</a></li>
- </ul>
- </li>
- </ul>
- </details>
-
- <details>
- <summary>2024/09/27 0.8.1发布,修复了一些bug,同时提供了<a href="https://opendatalab.com/OpenSourceTools/Extractor/PDF/">在线demo</a>的<a href="https://github.com/opendatalab/MinerU/projects/web_demo/README_zh-CN.md">本地化部署版本</a>和<a href="https://github.com/opendatalab/MinerU/projects/web/README_zh-CN.md">前端界面</a></summary>
- </details>
-
- <details>
- <summary>2024/09/09 0.8.0发布,支持Dockerfile快速部署,同时上线了huggingface、modelscope demo</summary>
- </details>
-
- <details>
- <summary>2024/08/30 0.7.1发布,集成了paddle tablemaster表格识别功能</summary>
- </details>
-
- <details>
- <summary>2024/08/09 0.7.0b1发布,简化安装步骤提升易用性,加入表格识别功能</summary>
- </details>
-
- <details>
- <summary>2024/08/01 0.6.2b1发布,优化了依赖冲突问题和安装文档</summary>
- </details>
-
- <details>
- <summary>2024/07/05 首次开源</summary>
- </details>
-</details>
+
+- 2025/12/31 2.7.0 发布
+ - 简化安装流程,现在不再需要单独安装`vlm`加速引擎依赖包,安装时使用`uv pip install mineru[all]`即可安装所有可选后端的依赖包。
+ - 增加全新后端`hybrid`,该后端结合了`pipeline`和`vlm`后端的优势,在vlm的基础上,融入了pipeline的部分能力,在高精度的基础上增加了额外的扩展性:
+ - 从文本pdf中直接抽取文本,在文本pdf场景原生支持多语言识别,并极大减少解析幻觉;
+ - 通过指定ocr语言,在扫描pdf场景下支持109种语言的文本识别;
+ - 独立的行内公式识别开关,在不需要行内公式识别的场景下可单独关闭,提升解析结果视觉效果。
+ - 简化`vlm/hybrid`后端的引擎选择逻辑,用户只需指定后端为`*-auto-engine`,系统会根据当前环境自动选择合适的引擎进行推理加速,提升易用性.
+ - 默认解析后端从`pipeline`切换至`hybrid-auto-engine`,提升新用户开箱即用的结果一致性,避免出现解析结果认知差异。
+ - gradio应用增加i18n适配,支持中英文两种语言切换。
+
+> 📝 查看完整的 [更新日志](https://opendatalab.github.io/MinerU/changelog/) 了解更多历史版本信息
# MinerU
diff --git a/docs/en/reference/changelog.md b/docs/en/reference/changelog.md
new file mode 100644
index 00000000..3c208dad
--- /dev/null
+++ b/docs/en/reference/changelog.md
@@ -0,0 +1,486 @@
+# Changelog
+
+This document records the update history of MinerU project for version 2.6.7 and earlier. For the latest version updates, please check the project [README](https://github.com/opendatalab/MinerU/blob/master/README.md).
+
+---
+
+## 2.6 Series Versions
+
+### 2.6.7 (2025/12/12)
+
+- Bug fix: #4168
+
+### 2.6.6 (2025/12/02)
+
+**`mineru-api` tool optimizations**
+
+- Added descriptive text to `mineru-api` interface parameters to improve API documentation readability.
+- You can use the environment variable `MINERU_API_ENABLE_FASTAPI_DOCS` to control whether the auto-generated interface documentation page is enabled (enabled by default).
+- Added concurrency configuration options for the `vlm-vllm-async-engine`, `vlm-lmdeploy-engine`, and `vlm-http-client` backends. Users can use the environment variable `MINERU_API_MAX_CONCURRENT_REQUESTS` to set the maximum number of concurrent API requests (unlimited by default).
+
+### 2.6.5 (2025/11/26)
+
+- Added support for a new backend vlm-lmdeploy-engine. Its usage is similar to vlm-vllm-(async)engine, but it uses lmdeploy as the inference engine and additionally supports native inference acceleration on Windows platforms compared to vllm.
+
+### 2.6.4 (2025/11/04)
+
+- Added timeout configuration for PDF image rendering, default is 300 seconds, can be configured via environment variable `MINERU_PDF_RENDER_TIMEOUT` to prevent long blocking of the rendering process caused by some abnormal PDF files.
+- Added CPU thread count configuration options for ONNX models, default is the system CPU core count, can be configured via environment variables `MINERU_INTRA_OP_NUM_THREADS` and `MINERU_INTER_OP_NUM_THREADS` to reduce CPU resource contention conflicts in high concurrency scenarios.
+
+### 2.6.3 (2025/10/31)
+
+- Added support for a new backend `vlm-mlx-engine`, enabling MLX-accelerated inference for the MinerU2.5 model on Apple Silicon devices. Compared to the `vlm-transformers` backend, `vlm-mlx-engine` delivers a 100%–200% speed improvement.
+- Bug fixes: #3849, #3859
+
+### 2.6.2 (2025/10/24)
+
+**`pipeline` backend optimizations**
+
+- Added experimental support for Chinese formulas, which can be enabled by setting the environment variable `export MINERU_FORMULA_CH_SUPPORT=1`. This feature may cause a slight decrease in MFR speed and failures in recognizing some long formulas. It is recommended to enable it only when parsing Chinese formulas is needed. To disable this feature, set the environment variable to `0`.
+- `OCR` speed significantly improved by 200%~300%, thanks to the optimization solution provided by [@cjsdurj](https://github.com/cjsdurj)
+- `OCR` models optimized for improved accuracy and coverage of Latin script recognition, and updated Cyrillic, Arabic, Devanagari, Telugu (te), and Tamil (ta) language systems to `ppocr-v5` version, with accuracy improved by over 40% compared to previous models
+
+**`vlm` backend optimizations**
+
+- `table_caption` and `table_footnote` matching logic optimized to improve the accuracy of table caption and footnote matching and reading order rationality in scenarios with multiple consecutive tables on a page
+- Optimized CPU resource usage during high concurrency when using `vllm` backend, reducing server pressure
+- Adapted to `vllm` version 0.11.0
+
+**General optimizations**
+
+- Cross-page table merging effect optimized, added support for cross-page continuation table merging, improving table merging effectiveness in multi-column merge scenarios
+- Added environment variable configuration option `MINERU_TABLE_MERGE_ENABLE` for table merging feature. Table merging is enabled by default and can be disabled by setting this variable to `0`
+
+---
+
+## 2.5 Series Versions
+
+### 2.5.4 (2025/09/26)
+
+- 🎉🎉 The MinerU2.5 [Technical Report](https://arxiv.org/abs/2509.22186) is now available! We welcome you to read it for a comprehensive overview of its model architecture, training strategy, data engineering and evaluation results.
+- Fixed an issue where some `PDF` files were mistakenly identified as `AI` files, causing parsing failures
+
+### 2.5.3 (2025/09/20)
+
+- Dependency version range adjustment to enable Turing and earlier architecture GPUs to use vLLM acceleration for MinerU2.5 model inference.
+- `pipeline` backend compatibility fixes for torch 2.8.0.
+- Reduced default concurrency for vLLM async backend to lower server pressure and avoid connection closure issues caused by high load.
+- More compatibility-related details can be found in the [announcement](https://github.com/opendatalab/MinerU/discussions/3548)
+
+### 2.5.2 (2025/09/19)
+
+We are officially releasing MinerU2.5, currently the most powerful multimodal large model for document parsing.
+
+With only 1.2B parameters, MinerU2.5's accuracy on the OmniDocBench benchmark comprehensively surpasses top-tier multimodal models like Gemini 2.5 Pro, GPT-4o, and Qwen2.5-VL-72B. It also significantly outperforms leading specialized models such as dots.ocr, MonkeyOCR, and PP-StructureV3.
+
+The model has been released on [HuggingFace](https://huggingface.co/opendatalab/MinerU2.5-2509-1.2B) and [ModelScope](https://modelscope.cn/models/opendatalab/MinerU2.5-2509-1.2B) platforms. Welcome to download and use!
+
+**Core Highlights**
+
+- SOTA Performance with Extreme Efficiency: As a 1.2B model, it achieves State-of-the-Art (SOTA) results that exceed models in the 10B and 100B+ classes, redefining the performance-per-parameter standard in document AI.
+- Advanced Architecture for Across-the-Board Leadership: By combining a two-stage inference pipeline (decoupling layout analysis from content recognition) with a native high-resolution architecture, it achieves SOTA performance across five key areas: layout analysis, text recognition, formula recognition, table recognition, and reading order.
+
+**Key Capability Enhancements**
+
+- Layout Detection: Delivers more complete results by accurately covering non-body content like headers, footers, and page numbers. It also provides more precise element localization and natural format reconstruction for lists and references.
+- Table Parsing: Drastically improves parsing for challenging cases, including rotated tables, borderless/semi-structured tables, and long/complex tables.
+- Formula Recognition: Significantly boosts accuracy for complex, long-form, and hybrid Chinese-English formulas, greatly enhancing the parsing capability for mathematical documents.
+
+**Repository Adjustments**
+
+Additionally, with the release of vlm 2.5, we have made some adjustments to the repository:
+
+- The vlm backend has been upgraded to version 2.5, supporting the MinerU2.5 model and no longer compatible with the MinerU2.0-2505-0.9B model. The last version supporting the 2.0 model is mineru-2.2.2.
+- VLM inference-related code has been moved to [mineru_vl_utils](https://github.com/opendatalab/mineru-vl-utils), reducing coupling with the main mineru repository and facilitating independent iteration in the future.
+- The vlm accelerated inference framework has been switched from `sglang` to `vllm`, achieving full compatibility with the vllm ecosystem, allowing users to use the MinerU2.5 model and accelerated inference on any platform that supports the vllm framework.
+- Due to major upgrades in the vlm model supporting more layout types, we have made some adjustments to the structure of the parsing intermediate file `middle.json` and result file `content_list.json`. Please refer to the [documentation](https://opendatalab.github.io/MinerU/reference/output_files/) for details.
+
+**Other Repository Optimizations**
+
+- Removed file extension whitelist validation for input files. When input files are PDF documents or images, there are no longer requirements for file extensions, improving usability.
+
+---
+
+## 2.2 - 2.4 Series Versions
+
+<details>
+<summary>View 2.2.x - 2.4.x version history</summary>
+
+### 2.2.2 (2025/09/10)
+
+- Fixed the issue where the new table recognition model would affect the overall parsing task when some table parsing failed
+
+### 2.2.1 (2025/09/08)
+
+- Fixed the issue where some newly added models were not downloaded when using the model download command.
+
+### 2.2.0 (2025/09/05)
+
+**Major Updates**
+
+- In this version, we focused on improving table parsing accuracy by introducing a new [wired table recognition model](https://github.com/RapidAI/TableStructureRec) and a brand-new hybrid table structure parsing algorithm, significantly enhancing the table recognition capabilities of the `pipeline` backend.
+- We also added support for cross-page table merging, which is supported by both `pipeline` and `vlm` backends, further improving the completeness and accuracy of table parsing.
+
+**Other Updates**
+
+- The `pipeline` backend now supports 270-degree rotated table parsing, bringing support for table parsing in 0/90/270-degree orientations
+- `pipeline` added OCR capability support for Thai and Greek, and updated the English OCR model to the latest version. English recognition accuracy improved by 11%, Thai recognition model accuracy is 82.68%, and Greek recognition model accuracy is 89.28% (by PPOCRv5)
+- Added `bbox` field (mapped to 0-1000 range) in the output `content_list.json`, making it convenient for users to directly obtain position information for each content block
+- Removed the `pipeline_old_linux` installation option, no longer supporting legacy Linux systems such as `CentOS 7`, to provide better support for `uv`'s `sync`/`run` commands
+
+</details>
+
+---
+
+## 2.1 Series Versions
+
+<details>
+<summary>View 2.1.x version history</summary>
+
+### 2.1.10 (2025/08/01)
+
+- Fixed an issue in the `pipeline` backend where block overlap caused the parsing results to deviate from expectations #3232
+
+### 2.1.9 (2025/07/30)
+
+- `transformers` 4.54.1 version adaptation
+
+### 2.1.8 (2025/07/28)
+
+- `sglang` 0.4.9.post5 version adaptation
+
+### 2.1.7 (2025/07/27)
+
+- `transformers` 4.54.0 version adaptation
+
+### 2.1.6 (2025/07/26)
+
+- Fixed table parsing issues in handwritten documents when using `vlm` backend
+- Fixed visualization box position drift issue when document is rotated #3175
+
+### 2.1.5 (2025/07/24)
+
+- `sglang` 0.4.9 version adaptation, synchronously upgrading the dockerfile base image to sglang 0.4.9.post3
+
+### 2.1.4 (2025/07/23)
+
+**Bug Fixes**
+
+- Fixed the issue of excessive memory consumption during the `MFR` step in the `pipeline` backend under certain scenarios #2771
+- Fixed the inaccurate matching between `image`/`table` and `caption`/`footnote` under certain conditions #3129
+
+### 2.1.1 (2025/07/16)
+
+**Bug fixes**
+
+- Fixed text block content loss issue that could occur in certain `pipeline` scenarios #3005
+- Fixed issue where `sglang-client` required unnecessary packages like `torch` #2968
+- Updated `dockerfile` to fix incomplete text content parsing due to missing fonts in Linux #2915
+
+**Usability improvements**
+
+- Updated `compose.yaml` to facilitate direct startup of `sglang-server`, `mineru-api`, and `mineru-gradio` services
+- Launched brand new [online documentation site](https://opendatalab.github.io/MinerU/), simplified readme, providing better documentation experience
+
+### 2.1.0 (2025/07/05)
+
+This is the first major update of MinerU 2, which includes a large number of new features and improvements, covering significant performance optimizations, user experience enhancements, and bug fixes. The detailed update contents are as follows:
+
+**Performance Optimizations**
+
+- Significantly improved preprocessing speed for documents with specific resolutions (around 2000 pixels on the long side).
+- Greatly enhanced post-processing speed when the `pipeline` backend handles batch processing of documents with fewer pages (<10 pages).
+- Layout analysis speed of the `pipeline` backend has been increased by approximately 20%.
+
+**Experience Enhancements**
+
+- Built-in ready-to-use `fastapi service` and `gradio webui`. For detailed usage instructions, please refer to [Documentation](https://opendatalab.github.io/MinerU/usage/quick_usage/#advanced-usage-via-api-webui-sglang-clientserver).
+- Adapted to `sglang` version `0.4.8`, significantly reducing the GPU memory requirements for the `vlm-sglang` backend. It can now run on graphics cards with as little as `8GB GPU memory` (Turing architecture or newer).
+- Added transparent parameter passing for all commands related to `sglang`, allowing the `sglang-engine` backend to receive all `sglang` parameters consistently with the `sglang-server`.
+- Supports feature extensions based on configuration files, including `custom formula delimiters`, `enabling heading classification`, and `customizing local model directories`. For detailed usage instructions, please refer to [Documentation](https://opendatalab.github.io/MinerU/usage/quick_usage/#extending-mineru-functionality-with-configuration-files).
+
+**New Features**
+
+- Updated the `pipeline` backend with the PP-OCRv5 multilingual text recognition model, supporting text recognition in 37 languages such as French, Spanish, Portuguese, Russian, and Korean, with an average accuracy improvement of over 30%. [Details](https://paddlepaddle.github.io/PaddleOCR/latest/en/version3.x/algorithm/PP-OCRv5/PP-OCRv5_multi_languages.html)
+- Introduced limited support for vertical text layout in the `pipeline` backend.
+
+</details>
+
+---
+
+## 2.0 Series Versions
+
+<details>
+<summary>View 2.0.x version history</summary>
+
+### 2.0.6 (2025/06/20)
+
+- Fixed occasional parsing interruptions caused by invalid block content in `vlm` mode
+- Fixed parsing interruptions caused by incomplete table structures in `vlm` mode
+
+### 2.0.5 (2025/06/17)
+
+- Fixed the issue where models were still required to be downloaded in the `sglang-client` mode
+- Fixed the issue where the `sglang-client` mode unnecessarily depended on packages like `torch` during runtime.
+- Fixed the issue where only the first instance would take effect when attempting to launch multiple `sglang-client` instances via multiple URLs within the same process
+
+### 2.0.3 (2025/06/15)
+
+- Fixed a configuration file key-value update error that occurred when downloading model type was set to `all`
+- Fixed the issue where the formula and table feature toggle switches were not working in `command line mode`, causing the features to remain enabled.
+- Fixed compatibility issues with sglang version 0.4.7 in the `sglang-engine` mode.
+- Updated Dockerfile and installation documentation for deploying the full version of MinerU in sglang environment
+
+### 2.0.0 (2025/06/13)
+
+**New Architecture**
+
+MinerU 2.0 has been deeply restructured in code organization and interaction methods, significantly improving system usability, maintainability, and extensibility.
+
+- **Removal of Third-party Dependency Limitations**: Completely eliminated the dependency on `pymupdf`, moving the project toward a more open and compliant open-source direction.
+- **Ready-to-use, Easy Configuration**: No need to manually edit JSON configuration files; most parameters can now be set directly via command line or API.
+- **Automatic Model Management**: Added automatic model download and update mechanisms, allowing users to complete model deployment without manual intervention.
+- **Offline Deployment Friendly**: Provides built-in model download commands, supporting deployment requirements in completely offline environments.
+- **Streamlined Code Structure**: Removed thousands of lines of redundant code, simplified class inheritance logic, significantly improving code readability and development efficiency.
+- **Unified Intermediate Format Output**: Adopted standardized `middle_json` format, compatible with most secondary development scenarios based on this format, ensuring seamless ecosystem business migration.
+
+**New Model**
+
+MinerU 2.0 integrates our latest small-parameter, high-performance multimodal document parsing model, achieving end-to-end high-speed, high-precision document understanding.
+
+- **Small Model, Big Capabilities**: With parameters under 1B, yet surpassing traditional 72B-level vision-language models (VLMs) in parsing accuracy.
+- **Multiple Functions in One**: A single model covers multilingual recognition, handwriting recognition, layout analysis, table parsing, formula recognition, reading order sorting, and other core tasks.
+- **Ultimate Inference Speed**: Achieves peak throughput exceeding 10,000 tokens/s through `sglang` acceleration on a single NVIDIA 4090 card, easily handling large-scale document processing requirements.
+- **Online Experience**: You can experience our brand-new VLM model on [MinerU.net](https://mineru.net/OpenSourceTools/Extractor), [Hugging Face](https://huggingface.co/spaces/opendatalab/MinerU), and [ModelScope](https://www.modelscope.cn/studios/OpenDataLab/MinerU).
+
+**Incompatible Changes Notice**
+
+To improve overall architectural rationality and long-term maintainability, this version contains some incompatible changes:
+
+- Python package name changed from `magic-pdf` to `mineru`, and the command-line tool changed from `magic-pdf` to `mineru`. Please update your scripts and command calls accordingly.
+- For modular system design and ecosystem consistency considerations, MinerU 2.0 no longer includes the LibreOffice document conversion module. If you need to process Office documents, we recommend converting them to PDF format through an independently deployed LibreOffice service before proceeding with subsequent parsing operations.
+
+</details>
+
+---
+
+## 1.x Series Historical Versions
+
+<details>
+<summary>View 1.x version history</summary>
+
+### 1.3.12 (2025/05/24)
+
+Added support for PPOCRv5 models, updated `ch_server` model to `PP-OCRv5_rec_server`, and `ch_lite` model to `PP-OCRv5_rec_mobile` (model update required)
+
+- In testing, we found that PPOCRv5(server) has some improvement for handwritten documents, but has slightly lower accuracy than v4_server_doc for other document types, so the default ch model remains unchanged as `PP-OCRv4_server_rec_doc`.
+- Since PPOCRv5 has enhanced recognition capabilities for handwriting and special characters, you can manually choose the PPOCRv5 model for Japanese-Traditional Chinese mixed scenarios and handwritten documents
+- You can select the appropriate model through the lang parameter `lang='ch_server'` (Python API) or `--lang ch_server` (command line):
+ - `ch`: `PP-OCRv4_server_rec_doc` (default) (Chinese/English/Japanese/Traditional Chinese mixed/15K dictionary)
+ - `ch_server`: `PP-OCRv5_rec_server` (Chinese/English/Japanese/Traditional Chinese mixed + handwriting/18K dictionary)
+ - `ch_lite`: `PP-OCRv5_rec_mobile` (Chinese/English/Japanese/Traditional Chinese mixed + handwriting/18K dictionary)
+ - `ch_server_v4`: `PP-OCRv4_rec_server` (Chinese/English mixed/6K dictionary)
+ - `ch_lite_v4`: `PP-OCRv4_rec_mobile` (Chinese/English mixed/6K dictionary)
+
+Added support for handwritten documents through optimized layout recognition of handwritten text areas
+
+- This feature is supported by default, no additional configuration required
+- You can refer to the instructions above to manually select the PPOCRv5 model for better handwritten document parsing results
+
+The `huggingface` and `modelscope` demos have been updated to versions that support handwriting recognition and PPOCRv5 models, which you can experience online
+
+### 1.3.10 (2025/04/29)
+
+- Added support for custom formula delimiters, which can be configured by modifying the `latex-delimiter-config` section in the `magic-pdf.json` file in your user directory.
+
+### 1.3.9 (2025/04/27)
+
+- Optimized formula parsing functionality, improved formula rendering success rate
+
+### 1.3.8 (2025/04/23)
+
+The default `ocr` model (`ch`) has been updated to `PP-OCRv4_server_rec_doc` (model update required)
+
+- `PP-OCRv4_server_rec_doc` is trained on a mixture of more Chinese document data and PP-OCR training data based on `PP-OCRv4_server_rec`, adding recognition capabilities for some traditional Chinese characters, Japanese, and special characters. It can recognize over 15,000 characters and improves both document-specific and general text recognition abilities.
+- [Performance comparison of PP-OCRv4_server_rec_doc/PP-OCRv4_server_rec/PP-OCRv4_mobile_rec](https://paddlepaddle.github.io/PaddleX/latest/module_usage/tutorials/ocr_modules/text_recognition.html#_3)
+- After verification, the `PP-OCRv4_server_rec_doc` model shows significant accuracy improvements in Chinese/English/Japanese/Traditional Chinese in both single language and mixed language scenarios, with comparable speed to `PP-OCRv4_server_rec`, making it suitable for most use cases.
+- In some pure English scenarios, `PP-OCRv4_server_rec_doc` may have word adhesion issues, while `PP-OCRv4_server_rec` performs better in these cases. Therefore, we've kept the `PP-OCRv4_server_rec` model, which users can access by adding the parameter `lang='ch_server'` (Python API) or `--lang ch_server` (command line).
+
+### 1.3.7 (2025/04/22)
+
+- Fixed the issue where the lang parameter was ineffective during table parsing model initialization
+- Fixed the significant speed reduction of OCR and table parsing in `cpu` mode
+
+### 1.3.4 (2025/04/16)
+
+- Slightly improved OCR-det speed by removing some unnecessary blocks
+- Fixed page-internal sorting errors caused by footnotes in certain cases
+
+### 1.3.2 (2025/04/12)
+
+- Fixed dependency version incompatibility issues when installing on Windows with Python 3.13
+- Optimized memory usage during batch inference
+- Improved parsing of tables rotated 90 degrees
+- Enhanced parsing of oversized tables in financial report samples
+- Fixed the occasional word adhesion issue in English text areas when OCR language is not specified (model update required)
+
+### 1.3.1 (2025/04/08)
+
+Fixed several compatibility issues
+
+- Added support for Python 3.13
+- Made final adaptations for outdated Linux systems (such as CentOS 7) with no guarantee of continued support in future versions, [installation instructions](https://github.com/opendatalab/MinerU/issues/1004)
+
+### 1.3.0 (2025/04/03)
+
+**Installation and compatibility optimizations**
+
+- Resolved compatibility issues caused by `detectron2` by removing `layoutlmv3` usage in layout
+- Extended torch version compatibility to 2.2~2.6 (excluding 2.5)
+- Added CUDA compatibility for versions 11.8/12.4/12.6/12.8 (CUDA version determined by torch), solving compatibility issues for users with 50-series and H-series GPUs
+- Extended Python compatibility to versions 3.10~3.12, fixing the issue of automatic downgrade to version 0.6.1 when installing in non-3.10 environments
+- Optimized offline deployment process, eliminating the need to download any model files after successful deployment
+
+**Performance optimizations**
+
+- Enhanced parsing speed for batches of small files by supporting batch processing of multiple PDF files ([script example](demo/batch_demo.py)), with formula parsing speed improved by up to 1400% and overall parsing speed improved by up to 500% compared to version 1.0.1
+- Reduced memory usage and improved parsing speed by optimizing MFR model loading and usage (requires re-running the [model download process](docs/how_to_download_models_zh_cn.md) to get incremental updates to model files)
+- Optimized GPU memory usage, requiring only 6GB minimum to run this project
+- Improved running speed on MPS devices
+
+**Parsing effect optimizations**
+
+- Updated MFR model to `unimernet(2503)`, fixing line break loss issues in multi-line formulas
+
+**Usability optimizations**
+
+- Completely replaced the `paddle` framework and `paddleocr` in the project by using `paddleocr2torch`, resolving conflicts between `paddle` and `torch`, as well as thread safety issues caused by the `paddle` framework
+- Added real-time progress bar display during parsing, allowing precise tracking of parsing progress and making the waiting process more bearable
+
+### 1.2.1 (2025/03/03)
+
+Fixed some issues
+
+- Fixed the impact on punctuation marks during full-width to half-width conversion of letters and numbers
+- Fixed caption matching inaccuracies in certain scenarios
+- Fixed formula span loss issues in certain scenarios
+
+### 1.2.0 (2025/02/24)
+
+This version includes several fixes and improvements to enhance parsing efficiency and accuracy:
+
+**Performance Optimization**
+
+- Increased classification speed for PDF documents in auto mode.
+
+**Parsing Optimization**
+
+- Improved parsing logic for documents containing watermarks, significantly enhancing the parsing results for such documents.
+- Enhanced the matching logic for multiple images/tables and captions within a single page, improving the accuracy of image-text matching in complex layouts.
+
+**Bug Fixes**
+
+- Fixed an issue where image/table spans were incorrectly filled into text blocks under certain conditions.
+- Resolved an issue where title blocks were empty in some cases.
+
+### 1.1.0 (2025/01/22)
+
+In this version we have focused on improving parsing accuracy and efficiency:
+
+**Model capability upgrade** (requires re-executing the [model download process](https://github.com/opendatalab/MinerU/blob/master/docs/how_to_download_models_en.md) to obtain incremental updates of model files)
+
+- The layout recognition model has been upgraded to the latest `doclayout_yolo(2501)` model, improving layout recognition accuracy.
+- The formula parsing model has been upgraded to the latest `unimernet(2501)` model, improving formula recognition accuracy.
+
+**Performance optimization**
+
+- On devices that meet certain configuration requirements (16GB+ VRAM), by optimizing resource usage and restructuring the processing pipeline, overall parsing speed has been increased by more than 50%.
+
+**Parsing effect optimization**
+
+- Added a new heading classification feature (testing version, enabled by default) to the online demo ([mineru.net](https://mineru.net/OpenSourceTools/Extractor)/[huggingface](https://huggingface.co/spaces/opendatalab/MinerU)/[modelscope](https://www.modelscope.cn/studios/OpenDataLab/MinerU)), which supports hierarchical classification of headings, thereby enhancing document structuring.
+
+### 1.0.1 (2025/01/10)
+
+This is our first official release, where we have introduced a completely new API interface and enhanced compatibility through extensive refactoring, as well as a brand new automatic language identification feature:
+
+**New API Interface**
+
+- For the data-side API, we have introduced the Dataset class, designed to provide a robust and flexible data processing framework. This framework currently supports a variety of document formats, including images (.jpg and .png), PDFs, Word documents (.doc and .docx), and PowerPoint presentations (.ppt and .pptx). It ensures effective support for data processing tasks ranging from simple to complex.
+- For the user-side API, we have meticulously designed the MinerU processing workflow as a series of composable Stages. Each Stage represents a specific processing step, allowing users to define new Stages according to their needs and creatively combine these stages to customize their data processing workflows.
+
+**Enhanced Compatibility**
+
+- By optimizing the dependency environment and configuration items, we ensure stable and efficient operation on ARM architecture Linux systems.
+- We have deeply integrated with Huawei Ascend NPU acceleration, providing autonomous and controllable high-performance computing capabilities. This supports the localization and development of AI application platforms in China. [Ascend NPU Acceleration](https://github.com/opendatalab/MinerU/blob/master/docs/README_Ascend_NPU_Acceleration_zh_CN.md)
+
+**Automatic Language Identification**
+
+- By introducing a new language recognition model, setting the `lang` configuration to `auto` during document parsing will automatically select the appropriate OCR language model, improving the accuracy of scanned document parsing.
+
+</details>
+
+---
+
+## 0.x Series Historical Versions
+
+<details>
+<summary>View 0.x version history</summary>
+
+### 0.10.0 (2024/11/22)
+
+Introducing hybrid OCR text extraction capabilities:
+
+- Significantly improved parsing performance in complex text distribution scenarios such as dense formulas, irregular span regions, and text represented by images.
+- Combines the dual advantages of accurate content extraction and faster speed in text mode, and more precise span/line region recognition in OCR mode.
+
+### 0.9.3 (2024/11/15)
+
+Integrated [RapidTable](https://github.com/RapidAI/RapidTable) for table recognition, improving single-table parsing speed by more than 10 times, with higher accuracy and lower GPU memory usage.
+
+### 0.9.2 (2024/11/06)
+
+Integrated the [StructTable-InternVL2-1B](https://huggingface.co/U4R/StructTable-InternVL2-1B) model for table recognition functionality.
+
+### 0.9.0 (2024/10/31)
+
+This is a major new version with extensive code refactoring, addressing numerous issues, improving performance, reducing hardware requirements, and enhancing usability:
+
+- Refactored the sorting module code to use [layoutreader](https://github.com/ppaanngggg/layoutreader) for reading order sorting, ensuring high accuracy in various layouts.
+- Refactored the paragraph concatenation module to achieve good results in cross-column, cross-page, cross-figure, and cross-table scenarios.
+- Refactored the list and table of contents recognition functions, significantly improving the accuracy of list blocks and table of contents blocks, as well as the parsing of corresponding text paragraphs.
+- Refactored the matching logic for figures, tables, and descriptive text, greatly enhancing the accuracy of matching captions and footnotes to figures and tables, and reducing the loss rate of descriptive text to near zero.
+- Added multi-language support for OCR, supporting detection and recognition of 84 languages. For the list of supported languages, see [OCR Language Support List](https://paddlepaddle.github.io/PaddleOCR/latest/en/ppocr/blog/multi_languages.html#5).
+- Added memory recycling logic and other memory optimization measures, significantly reducing memory usage. The memory requirement for enabling all acceleration features except table acceleration (layout/formula/OCR) has been reduced from 16GB to 8GB, and the memory requirement for enabling all acceleration features has been reduced from 24GB to 10GB.
+- Optimized configuration file feature switches, adding an independent formula detection switch to significantly improve speed and parsing results when formula detection is not needed.
+- Integrated [PDF-Extract-Kit 1.0](https://github.com/opendatalab/PDF-Extract-Kit):
+ - Added the self-developed `doclayout_yolo` model, which speeds up processing by more than 10 times compared to the original solution while maintaining similar parsing effects, and can be freely switched with `layoutlmv3` via the configuration file.
+ - Upgraded formula parsing to `unimernet 0.2.1`, improving formula parsing accuracy while significantly reducing memory usage.
+ - Due to the repository change for `PDF-Extract-Kit 1.0`, you need to re-download the model. Please refer to [How to Download Models](https://github.com/opendatalab/MinerU/blob/master/docs/how_to_download_models_en.md) for detailed steps.
+
+### 0.8.1 (2024/09/27)
+
+Fixed some bugs, and providing a [localized deployment version](https://github.com/opendatalab/MinerU/blob/master/projects/web_demo/README.md) of the [online demo](https://opendatalab.com/OpenSourceTools/Extractor/PDF/) and the [front-end interface](https://github.com/opendatalab/MinerU/blob/master/projects/web/README.md).
+
+### 0.8.0 (2024/09/09)
+
+Supporting fast deployment with Dockerfile, and launching demos on Huggingface and Modelscope.
+
+### 0.7.1 (2024/08/30)
+
+Add paddle tablemaster table recognition option
+
+### 0.7.0b1 (2024/08/09)
+
+Simplified installation process, added table recognition functionality
+
+### 0.6.2b1 (2024/08/01)
+
+Optimized dependency conflict issues and installation documentation
+
+### Initial Open-Source Release (2024/07/05)
+
+MinerU project's first open-source release
+
+</details>
+
diff --git a/docs/zh/reference/changelog.md b/docs/zh/reference/changelog.md
new file mode 100644
index 00000000..e681930d
--- /dev/null
+++ b/docs/zh/reference/changelog.md
@@ -0,0 +1,492 @@
+# 更新日志
+
+本文档记录了MinerU项目2.6.7及更早版本的更新历史。最新版本的更新请查看项目[README](https://github.com/opendatalab/MinerU/blob/master/README_zh-CN.md)。
+
+---
+
+## 2.6 系列版本
+
+### 2.6.7 (2025/12/12)
+
+- bug修复: #4168
+
+### 2.6.6 (2025/12/02)
+
+**`Ascend`适配优化**
+
+- 优化命令行工具初始化流程,使Ascend适配方案中`vlm-vllm-engine`后端在命令行工具中可用。
+- 为Atlas 300I Duo(310p)设备更新适配文档。
+
+**`mineru-api`工具优化**
+
+- 为`mineru-api`接口参数增加描述性文本,优化接口文档可读性。
+- 可通过环境变量`MINERU_API_ENABLE_FASTAPI_DOCS`控制是否启用自动生成的接口文档页面,默认为启用。
+- 为`vlm-vllm-async-engine`、`vlm-lmdeploy-engine`、`vlm-http-client`后端增加并发数配置选项,用户可通过环境变量`MINERU_API_MAX_CONCURRENT_REQUESTS`控制api接口的最大并发请求数,默认为不限制数量。
+
+### 2.6.5 (2025/11/26)
+
+- 增加新后端`vlm-lmdeploy-engine`支持,使用方式与`vlm-vllm-(async)engine`类似,但使用`lmdeploy`作为推理引擎,与`vllm`相比额外支持Windows平台原生推理加速。
+- 新增国产算力平台`昇腾/npu`、`平头哥/ppu`、`沐曦/maca`的适配支持,用户可在对应平台上使用`pipeline`与`vlm`模型,并使用`vllm`/`lmdeploy`引擎加速vlm模型推理,具体使用方式请参考[其他加速卡适配](https://opendatalab.github.io/MinerU/zh/usage/)。
+ - 国产平台适配不易,我们已尽量确保适配的完整性和稳定性,但仍可能存在一些稳定性/兼容问题与精度对齐问题,请大家根据适配文档页面内红绿灯情况自行选择合适的环境与场景进行使用。
+ - 如在使用国产化平台适配方案的过程中遇到任何文档未提及的问题,为便于其他用户查找解决方案,请在discussions的[指定帖子](https://github.com/opendatalab/MinerU/discussions/4064)中进行反馈。
+
+### 2.6.4 (2025/11/04)
+
+- 为pdf渲染图片增加超时配置,默认为300秒,可通过环境变量`MINERU_PDF_RENDER_TIMEOUT`进行配置,防止部分异常pdf文件导致渲染过程长时间阻塞。
+- 为onnx模型增加cpu线程数配置选项,默认为系统cpu核心数,可通过环境变量`MINERU_INTRA_OP_NUM_THREADS`和`MINERU_INTER_OP_NUM_THREADS`进行配置,以减少高并发场景下的对cpu资源的抢占冲突。
+
+### 2.6.3 (2025/10/31)
+
+- 增加新后端`vlm-mlx-engine`支持,在Apple Silicon设备上支持使用`MLX`加速`MinerU2.5`模型推理,相比`vlm-transformers`后端,`vlm-mlx-engine`后端速度提升100%~200%。
+- bug修复: #3849 #3859
+
+### 2.6.2 (2025/10/24)
+
+**`pipline`后端优化**
+
+- 增加对中文公式的实验性支持,可通过配置环境变量`export MINERU_FORMULA_CH_SUPPORT=1`开启。该功能可能会导致MFR速率略微下降、部分长公式识别失败等问题,建议仅在需要解析中文公式的场景下开启。如需关闭该功能,可将环境变量设置为`0`。
+- `OCR`速度大幅提升200%~300%,感谢 [@cjsdurj](https://github.com/cjsdurj) 提供的优化方案
+- `OCR`模型优化拉丁文识别的准度和广度,并更新西里尔文(cyrillic)、阿拉伯文(arabic)、天城文(devanagari)、泰卢固语(te)、泰米尔语(ta)语系至`ppocr-v5`版本,精度相比上代模型提升40%以上
+
+**`vlm`后端优化**
+
+- `table_caption`、`table_footnote`匹配逻辑优化,提升页内多张连续表场景下的表格标题和脚注的匹配准确率和阅读顺序合理性
+- 优化使用`vllm`后端时高并发时的cpu资源占用,降低服务端压力
+- 适配`vllm`0.11.0版本
+
+**通用优化**
+
+- 跨页表格合并效果优化,新增跨页续表合并支持,提升在多列合并场景下的表格合并效果
+- 为表格合并功能增加环境变量配置选项`MINERU_TABLE_MERGE_ENABLE`,表格合并功能默认开启,可通过设置该变量为`0`来关闭表格合并功能
+
+---
+
+## 2.5 系列版本
+
+### 2.5.4 (2025/09/26)
+
+- 🎉🎉 MinerU2.5[技术报告](https://arxiv.org/abs/2509.22186)现已发布,欢迎阅读全面了解其模型架构、训练策略、数据工程和评测结果。
+- 修复部分`pdf`文件被识别成`ai`文件导致无法解析的问题
+
+### 2.5.3 (2025/09/20)
+
+- 依赖版本范围调整,使得Turing及更早架构显卡可以使用vLLM加速推理MinerU2.5模型。
+- `pipeline`后端对torch 2.8.0的一些兼容性修复。
+- 降低vLLM异步后端默认的并发数,降低服务端压力以避免高压导致的链接关闭问题。
+- 更多兼容性相关内容详见[公告](https://github.com/opendatalab/MinerU/discussions/3547)
+
+### 2.5.2 (2025/09/19)
+
+我们正式发布 MinerU2.5,当前最强文档解析多模态大模型。仅凭 1.2B 参数,MinerU2.5 在 OmniDocBench 文档解析评测中,精度已全面超越 Gemini2.5-Pro、GPT-4o、Qwen2.5-VL-72B等顶级多模态大模型,并显著领先于主流文档解析专用模型(如 dots.ocr, MonkeyOCR, PP-StructureV3 等)。
+
+模型已发布至[HuggingFace](https://huggingface.co/opendatalab/MinerU2.5-2509-1.2B)和[ModelScope](https://modelscope.cn/models/opendatalab/MinerU2.5-2509-1.2B)平台,欢迎大家下载使用!
+
+**核心亮点**
+
+- 极致能效,性能SOTA: 以 1.2B 的轻量化规模,实现了超越百亿乃至千亿级模型的SOTA性能,重新定义了文档解析的能效比。
+- 先进架构,全面领先: 通过 "两阶段推理" (解耦布局分析与内容识别) 与 原生高分辨率架构 的结合,在布局分析、文本识别、公式识别、表格识别及阅读顺序五大方面均达到 SOTA 水平。
+
+**关键能力提升**
+
+- 布局检测: 结果更完整,精准覆盖页眉、页脚、页码等非正文内容;同时提供更精准的元素定位与更自然的格式还原(如列表、参考文献)。
+- 表格解析: 大幅优化了对旋转表格、无线/少线表、以及长难表格的解析能力。
+- 公式识别: 显著提升中英混合公式及复杂长公式的识别准确率,大幅改善数学类文档解析能力。
+
+**仓库调整**
+
+此外,伴随vlm 2.5的发布,我们对仓库做出一些调整:
+
+- vlm后端升级至2.5版本,支持MinerU2.5模型,不再兼容MinerU2.0-2505-0.9B模型,最后一个支持2.0模型的版本为mineru-2.2.2。
+- vlm推理相关代码已移至[mineru_vl_utils](https://github.com/opendatalab/mineru-vl-utils),降低与mineru主仓库的耦合度,便于后续独立迭代。
+- vlm加速推理框架从`sglang`切换至`vllm`,并实现对vllm生态的完全兼容,使得用户可以在任何支持vllm框架的平台上使用MinerU2.5模型并加速推理。
+- 由于vlm模型的重大升级,支持更多layout type,因此我们对解析的中间文件`middle.json`和结果文件`content_list.json`的结构做出一些调整,请参考[文档](https://opendatalab.github.io/MinerU/zh/reference/output_files/)了解详情。
+
+**其他仓库优化**
+
+- 移除对输入文件的后缀名白名单校验,当输入文件为PDF文档或图片时,对文件的后缀名不再有要求,提升易用性。
+
+---
+
+## 2.2 - 2.4 系列版本
+
+<details>
+<summary>查看 2.2.x - 2.4.x 版本历史</summary>
+
+### 2.2.2 (2025/09/10)
+
+- 修复新的表格识别模型在部分表格解析失败时影响整体解析任务的问题
+
+### 2.2.1 (2025/09/08)
+
+- 修复使用模型下载命令时,部分新增模型未下载的问题
+
+### 2.2.0 (2025/09/05)
+
+**主要更新**
+
+- 在这个版本我们重点提升了表格的解析精度,通过引入新的[有线表识别模型](https://github.com/RapidAI/TableStructureRec)和全新的混合表格结构解析算法,显著提升了`pipeline`后端的表格识别能力。
+- 另外我们增加了对跨页表格合并的支持,这一功能同时支持`pipeline`和`vlm`后端,进一步提升了表格解析的完整性和准确性。
+
+**其他更新**
+
+- `pipeline`后端增加270度旋转的表格解析能力,现已支持0/90/270度三个方向的表格解析
+- `pipeline`增加对泰文、希腊文的ocr能力支持,并更新了英文ocr模型至最新,英文识别精度提升11%,泰文识别模型精度 82.68%,希腊文识别模型精度 89.28%(by PPOCRv5)
+- 在输出的`content_list.json`中增加了`bbox`字段(映射至0-1000范围内),方便用户直接获取每个内容块的位置信息
+- 移除`pipeline_old_linux`安装可选项,不再支持老版本的Linux系统如`Centos 7`等,以便对`uv`的`sync`/`run`等命令进行更好的支持
+
+</details>
+
+---
+
+## 2.1 系列版本
+
+<details>
+<summary>查看 2.1.x 版本历史</summary>
+
+### 2.1.10 (2025/08/01)
+
+- 修复`pipeline`后端因block覆盖导致的解析结果与预期不符 #3232
+
+### 2.1.9 (2025/07/30)
+
+- `transformers` 4.54.1 版本适配
+
+### 2.1.8 (2025/07/28)
+
+- `sglang` 0.4.9.post5 版本适配
+
+### 2.1.7 (2025/07/27)
+
+- `transformers` 4.54.0 版本适配
+
+### 2.1.6 (2025/07/26)
+
+- 修复`vlm`后端解析部分手写文档时的表格异常问题
+- 修复文档旋转时可视化框位置漂移问题 #3175
+
+### 2.1.5 (2025/07/24)
+
+- `sglang` 0.4.9 版本适配,同步升级dockerfile基础镜像为sglang 0.4.9.post3
+
+### 2.1.4 (2025/07/23)
+
+**bug修复**
+
+- 修复`pipeline`后端中`MFR`步骤在某些情况下显存消耗过大的问题 #2771
+- 修复某些情况下`image`/`table`与`caption`/`footnote`匹配不准确的问题 #3129
+
+### 2.1.1 (2025/07/16)
+
+**bug修复**
+
+- 修复`pipeline`在某些情况可能发生的文本块内容丢失问题 #3005
+- 修复`sglang-client`需要安装`torch`等不必要的包的问题 #2968
+- 更新`dockerfile`以修复linux字体缺失导致的解析文本内容不完整问题 #2915
+
+**易用性更新**
+
+- 更新`compose.yaml`,便于用户直接启动`sglang-server`、`mineru-api`、`mineru-gradio`服务
+- 启用全新的[在线文档站点](https://opendatalab.github.io/MinerU/zh/),简化readme,提供更好的文档体验
+
+### 2.1.0 (2025/07/05)
+
+这是 MinerU 2 的第一个大版本更新,包含了大量新功能和改进,包含众多性能优化、体验优化和bug修复,具体更新内容如下:
+
+**性能优化**
+
+- 大幅提升某些特定分辨率(长边2000像素左右)文档的预处理速度
+- 大幅提升`pipeline`后端批量处理大量页数较少(<10)文档时的后处理速度
+- `pipeline`后端的layout分析速度提升约20%
+
+**体验优化**
+
+- 内置开箱即用的`fastapi服务`和`gradio webui`,详细使用方法请参考[文档](https://opendatalab.github.io/MinerU/zh/usage/quick_usage/#apiwebuisglang-clientserver)
+- `sglang`适配`0.4.8`版本,大幅降低`vlm-sglang`后端的显存要求,最低可在`8G显存`(Turing及以后架构)的显卡上运行
+- 对所有命令增加`sglang`的参数透传,使得`sglang-engine`后端可以与`sglang-server`一致,接收`sglang`的所有参数
+- 支持基于配置文件的功能扩展,包含`自定义公式标识符`、`开启标题分级功能`、`自定义本地模型目录`,详细使用方法请参考[文档](https://opendatalab.github.io/MinerU/zh/usage/quick_usage/#mineru_1)
+
+**新特性**
+
+- `pipeline`后端更新 PP-OCRv5 多语种文本识别模型,支持法语、西班牙语、葡萄牙语、俄语、韩语等 37 种语言的文字识别,平均精度涨幅超30%。[详情](https://paddlepaddle.github.io/PaddleOCR/latest/version3.x/algorithm/PP-OCRv5/PP-OCRv5_multi_languages.html)
+- `pipeline`后端增加对竖排文本的有限支持
+
+</details>
+
+---
+
+## 2.0 系列版本
+
+<details>
+<summary>查看 2.0.x 版本历史</summary>
+
+### 2.0.6 (2025/06/20)
+
+- 修复`vlm`模式下,某些偶发的无效块内容导致解析中断问题
+- 修复`vlm`模式下,某些不完整的表结构导致的解析中断问题
+
+### 2.0.5 (2025/06/17)
+
+- 修复了`sglang-client`模式下依然需要下载模型的问题
+- 修复了`sglang-client`模式需要依赖`torch`等实际运行不需要的包的问题
+- 修复了同一进程内尝试通过多个url启动多个`sglang-client`实例时,只有第一个生效的问题
+
+### 2.0.3 (2025/06/15)
+
+- 修复了当下载模型类型设置为`all`时,配置文件出现键值更新错误的问题
+- 修复了命令行模式下公式和表格功能开关不生效导致功能无法关闭的问题
+- 修复了`sglang-engine`模式下,0.4.7版本sglang的兼容性问题
+- 更新了sglang环境下部署完整版MinerU的Dockerfile和相关安装文档
+
+### 2.0.0 (2025/06/13)
+
+**全新架构**
+
+MinerU 2.0 在代码结构和交互方式上进行了深度重构,显著提升了系统的易用性、可维护性与扩展能力。
+
+- **去除第三方依赖限制**:彻底移除对 `pymupdf` 的依赖,推动项目向更开放、合规的开源方向迈进。
+- **开箱即用,配置便捷**:无需手动编辑 JSON 配置文件,绝大多数参数已支持命令行或 API 直接设置。
+- **模型自动管理**:新增模型自动下载与更新机制,用户无需手动干预即可完成模型部署。
+- **离线部署友好**:提供内置模型下载命令,支持完全断网环境下的部署需求。
+- **代码结构精简**:移除数千行冗余代码,简化类继承逻辑,显著提升代码可读性与开发效率。
+- **统一中间格式输出**:采用标准化的 `middle_json` 格式,兼容多数基于该格式的二次开发场景,确保生态业务无缝迁移。
+
+**全新模型**
+
+MinerU 2.0 集成了我们最新研发的小参数量、高性能多模态文档解析模型,实现端到端的高速、高精度文档理解。
+
+- **小模型,大能力**:模型参数不足 1B,却在解析精度上超越传统 72B 级别的视觉语言模型(VLM)。
+- **多功能合一**:单模型覆盖多语言识别、手写识别、版面分析、表格解析、公式识别、阅读顺序排序等核心任务。
+- **极致推理速度**:在单卡 NVIDIA 4090 上通过 `sglang` 加速,达到峰值吞吐量超过 10,000 token/s,轻松应对大规模文档处理需求。
+- **在线体验**:您可以在[MinerU.net](https://mineru.net/OpenSourceTools/Extractor)、[Hugging Face](https://huggingface.co/spaces/opendatalab/MinerU), 以及[ModelScope](https://www.modelscope.cn/studios/OpenDataLab/MinerU)体验我们的全新VLM模型
+
+**不兼容变更说明**
+
+为提升整体架构合理性与长期可维护性,本版本包含部分不兼容的变更:
+
+- Python 包名从 `magic-pdf` 更改为 `mineru`,命令行工具也由 `magic-pdf` 改为 `mineru`,请同步更新脚本与调用命令。
+- 出于对系统模块化设计与生态一致性的考虑,MinerU 2.0 已不再内置 LibreOffice 文档转换模块。如需处理 Office 文档,建议通过独立部署的 LibreOffice 服务先行转换为 PDF 格式,再进行后续解析操作。
+
+</details>
+
+---
+
+## 1.x 系列历史版本
+
+<details>
+<summary>查看 1.x 版本历史</summary>
+
+### 1.3.12 (2025/05/24)
+
+增加ppocrv5模型的支持,将`ch_server`模型更新为`PP-OCRv5_rec_server`,`ch_lite`模型更新为`PP-OCRv5_rec_mobile`(需更新模型)
+
+- 在测试中,发现ppocrv5(server)对手写文档效果有一定提升,但在其余类别文档的精度略差于v4_server_doc,因此默认的ch模型保持不变,仍为`PP-OCRv4_server_rec_doc`。
+- 由于ppocrv5强化了手写场景和特殊字符的识别能力,因此您可以在日繁混合场景以及手写文档场景下手动选择使用ppocrv5模型
+- 您可通过lang参数`lang='ch_server'`(python api)或`--lang ch_server`(命令行)自行选择相应的模型:
+ - `ch` :`PP-OCRv4_rec_server_doc`(默认)(中英日繁混合/1.5w字典)
+ - `ch_server` :`PP-OCRv5_rec_server`(中英日繁混合+手写场景/1.8w字典)
+ - `ch_lite` :`PP-OCRv5_rec_mobile`(中英日繁混合+手写场景/1.8w字典)
+ - `ch_server_v4` :`PP-OCRv4_rec_server`(中英混合/6k字典)
+ - `ch_lite_v4` :`PP-OCRv4_rec_mobile`(中英混合/6k字典)
+
+增加手写文档的支持,通过优化layout对手写文本区域的识别,现已支持手写文档的解析
+
+- 默认支持此功能,无需额外配置
+- 可以参考上述说明,手动选择ppocrv5模型以获得更好的手写文档解析效果
+
+`huggingface`和`modelscope`的demo已更新为支持手写识别和ppocrv5模型的版本,可自行在线体验
+
+### 1.3.10 (2025/04/29)
+
+- 支持使用自定义公式标识符,可通过修改用户目录下的`magic-pdf.json`文件中的`latex-delimiter-config`项实现。
+
+### 1.3.9 (2025/04/27)
+
+- 优化公式解析功能,提升公式渲染的成功率
+
+### 1.3.8 (2025/04/23)
+
+`ocr`默认模型(`ch`)更新为`PP-OCRv4_server_rec_doc`(需更新模型)
+
+- `PP-OCRv4_server_rec_doc`是在`PP-OCRv4_server_rec`的基础上,在更多中文文档数据和PP-OCR训练数据的混合数据训练而成,增加了部分繁体字、日文、特殊字符的识别能力,可支持识别的字符为1.5万+,除文档相关的文字识别能力提升外,也同时提升了通用文字的识别能力。
+- [PP-OCRv4_server_rec_doc/PP-OCRv4_server_rec/PP-OCRv4_mobile_rec 性能对比](https://paddlepaddle.github.io/PaddleX/latest/module_usage/tutorials/ocr_modules/text_recognition.html#_3)
+- 经验证,`PP-OCRv4_server_rec_doc`模型在`中英日繁`单种语言或多种语言混合场景均有明显精度提升,且速度与`PP-OCRv4_server_rec`相当,适合绝大部分场景使用。
+- `PP-OCRv4_server_rec_doc`在小部分纯英文场景可能会发生单词粘连问题,`PP-OCRv4_server_rec`则在此场景下表现更好,因此我们保留了`PP-OCRv4_server_rec`模型,用户可通过增加参数`lang='ch_server'`(python api)或`--lang ch_server`(命令行)调用。
+
+### 1.3.7 (2025/04/22)
+
+- 修复表格解析模型初始化时lang参数失效的问题
+- 修复在`cpu`模式下ocr和表格解析速度大幅下降的问题
+
+### 1.3.4 (2025/04/16)
+
+- 通过移除一些无用的块,小幅提升了ocr-det的速度
+- 修复部分情况下由footnote导致的页面内排序错误
+
+### 1.3.2 (2025/04/12)
+
+- 修复了windows系统下,在python3.13环境安装时一些依赖包版本不兼容的问题
+- 优化批量推理时的内存占用
+- 优化旋转90度表格的解析效果
+- 优化财报样本中超大表格的解析效果
+- 修复了在未指定OCR语言时,英文文本区域偶尔出现的单词黏连问题(需要更新模型)
+
+### 1.3.1 (2025/04/08)
+
+修复了一些兼容问题
+
+- 支持python 3.13
+- 为部分过时的linux系统(如centos7)做出最后适配,并不再保证后续版本的继续支持,[安装说明](https://github.com/opendatalab/MinerU/issues/1004)
+
+### 1.3.0 (2025/04/03)
+
+**安装与兼容性优化**
+
+- 通过移除layout中`layoutlmv3`的使用,解决了由`detectron2`导致的兼容问题
+- torch版本兼容扩展到2.2~2.6(2.5除外)
+- cuda兼容支持11.8/12.4/12.6/12.8(cuda版本由torch决定),解决部分用户50系显卡与H系显卡的兼容问题
+- python兼容版本扩展到3.10~3.12,解决了在非3.10环境下安装时自动降级到0.6.1的问题
+- 优化离线部署流程,部署成功后不需要联网下载任何模型文件
+
+**性能优化**
+
+- 通过支持多个pdf文件的batch处理([脚本样例](demo/batch_demo.py)),提升了批量小文件的解析速度 (与1.0.1版本相比,公式解析速度最高提升超过1400%,整体解析速度最高提升超过500%)
+- 通过优化mfr模型的加载和使用,降低了显存占用并提升了解析速度(需重新执行[模型下载流程](docs/how_to_download_models_zh_cn.md)以获得模型文件的增量更新)
+- 优化显存占用,最低仅需6GB即可运行本项目
+- 优化了在mps设备上的运行速度
+
+**解析效果优化**
+
+- mfr模型更新到`unimernet(2503)`,解决多行公式中换行丢失的问题
+
+**易用性优化**
+
+- 通过使用`paddleocr2torch`,完全替代`paddle`框架以及`paddleocr`在项目中的使用,解决了`paddle`和`torch`的冲突问题,和由于`paddle`框架导致的线程不安全问题
+- 解析过程增加实时进度条显示,精准把握解析进度,让等待不再痛苦
+
+### 1.2.1 (2025/03/03)
+
+修复了一些问题
+
+- 修复在字母与数字的全角转半角操作时对标点符号的影响
+- 修复在某些情况下caption的匹配不准确问题
+- 修复在某些情况下的公式span丢失问题
+
+### 1.2.0 (2025/02/24)
+
+这个版本我们修复了一些问题,提升了解析的效率与精度:
+
+**性能优化**
+
+- auto模式下pdf文档的分类速度提升
+
+**解析优化**
+
+- 优化对包含水印文档的解析逻辑,显著提升包含水印文档的解析效果
+- 改进了单页内多个图像/表格与caption的匹配逻辑,提升了复杂布局下图文匹配的准确性
+
+**问题修复**
+
+- 修复在某些情况下图片/表格span被填充进textblock导致的异常
+- 修复在某些情况下标题block为空的问题
+
+### 1.1.0 (2025/01/22)
+
+在这个版本我们重点提升了解析的精度与效率:
+
+**模型能力升级**(需重新执行 [模型下载流程](https://github.com/opendatalab/MinerU/docs/how_to_download_models_zh_cn.md) 以获得模型文件的增量更新)
+
+- 布局识别模型升级到最新的 `doclayout_yolo(2501)` 模型,提升了layout识别精度
+- 公式解析模型升级到最新的 `unimernet(2501)` 模型,提升了公式识别精度
+
+**性能优化**
+
+- 在配置满足一定条件(显存16GB+)的设备上,通过优化资源占用和重构处理流水线,整体解析速度提升50%以上
+
+**解析效果优化**
+
+- 在线demo([mineru.net](https://mineru.net/OpenSourceTools/Extractor) / [huggingface](https://huggingface.co/spaces/opendatalab/MinerU) / [modelscope](https://www.modelscope.cn/studios/OpenDataLab/MinerU))上新增标题分级功能(测试版本,默认开启),支持对标题进行分级,提升文档结构化程度
+
+### 1.0.1 (2025/01/10)
+
+这是我们的第一个正式版本,在这个版本中,我们通过大量重构带来了全新的API接口和更广泛的兼容性,以及全新的自动语言识别功能:
+
+**全新API接口**
+
+- 对于数据侧API,我们引入了Dataset类,旨在提供一个强大而灵活的数据处理框架。该框架当前支持包括图像(.jpg及.png)、PDF、Word(.doc及.docx)、以及PowerPoint(.ppt及.pptx)在内的多种文档格式,确保了从简单到复杂的数据处理任务都能得到有效的支持。
+- 针对用户侧API,我们将MinerU的处理流程精心设计为一系列可组合的Stage阶段。每个Stage代表了一个特定的处理步骤,用户可以根据自身需求自由地定义新的Stage,并通过创造性地组合这些阶段来定制专属的数据处理流程。
+
+**更广泛的兼容性适配**
+
+- 通过优化依赖环境和配置项,确保在ARM架构的Linux系统上能够稳定高效运行。
+- 深度适配华为昇腾NPU加速,积极响应信创要求,提供自主可控的高性能计算能力,助力人工智能应用平台的国产化应用与发展。 [NPU加速教程](https://github.com/opendatalab/MinerU/docs/README_Ascend_NPU_Acceleration_zh_CN.md)
+
+**自动语言识别**
+
+- 通过引入全新的语言识别模型, 在文档解析中将 `lang` 配置为 `auto`,即可自动选择合适的OCR语言模型,提升扫描类文档解析的准确性。
+
+</details>
+
+---
+
+## 0.x 系列历史版本
+
+<details>
+<summary>查看 0.x 版本历史</summary>
+
+### 0.10.0 (2024/11/22)
+
+通过引入混合OCR文本提取能力:
+
+- 在公式密集、span区域不规范、部分文本使用图像表现等复杂文本分布场景下获得解析效果的显著提升
+- 同时具备文本模式内容提取准确、速度更快与OCR模式span/line区域识别更准的双重优势
+
+### 0.9.3 (2024/11/15)
+
+为表格识别功能接入了[RapidTable](https://github.com/RapidAI/RapidTable),单表解析速度提升10倍以上,准确率更高,显存占用更低
+
+### 0.9.2 (2024/11/06)
+
+为表格识别功能接入了[StructTable-InternVL2-1B](https://huggingface.co/U4R/StructTable-InternVL2-1B)模型
+
+### 0.9.0 (2024/10/31)
+
+这是我们进行了大量代码重构的全新版本,解决了众多问题,提升了性能,降低了硬件需求,并提供了更丰富的易用性:
+
+- 重构排序模块代码,使用 [layoutreader](https://github.com/ppaanngggg/layoutreader) 进行阅读顺序排序,确保在各种排版下都能实现极高准确率
+- 重构段落拼接模块,在跨栏、跨页、跨图、跨表情况下均能实现良好的段落拼接效果
+- 重构列表和目录识别功能,极大提升列表块和目录块识别的准确率及对应文本段落的解析效果
+- 重构图、表与描述性文本的匹配逻辑,大幅提升 caption 和 footnote 与图表的匹配准确率,并将描述性文本的丢失率降至接近0
+- 增加 OCR 的多语言支持,支持 84 种语言的检测与识别,语言支持列表详见 [OCR 语言支持列表](https://paddlepaddle.github.io/PaddleOCR/latest/ppocr/blog/multi_languages.html#5)
+- 增加显存回收逻辑及其他显存优化措施,大幅降低显存使用需求。开启除表格加速外的全部加速功能(layout/公式/OCR)的显存需求从16GB降至8GB,开启全部加速功能的显存需求从24GB降至10GB
+- 优化配置文件的功能开关,增加独立的公式检测开关,无需公式检测时可大幅提升速度和解析效果
+- 集成 [PDF-Extract-Kit 1.0](https://github.com/opendatalab/PDF-Extract-Kit)
+ - 加入自研的 `doclayout_yolo` 模型,在相近解析效果情况下比原方案提速10倍以上,可通过配置文件与 `layoutlmv3` 自由切换
+ - 公式解析升级至 `unimernet 0.2.1`,在提升公式解析准确率的同时,大幅降低显存需求
+ - 因 `PDF-Extract-Kit 1.0` 更换仓库,需要重新下载模型,步骤详见 [如何下载模型](https://github.com/opendatalab/MinerU/docs/how_to_download_models_zh_cn.md)
+
+### 0.8.1 (2024/09/27)
+
+修复了一些bug,同时提供了[在线demo](https://opendatalab.com/OpenSourceTools/Extractor/PDF/)的[本地化部署版本](https://github.com/opendatalab/MinerU/projects/web_demo/README_zh-CN.md)和[前端界面](https://github.com/opendatalab/MinerU/projects/web/README_zh-CN.md)
+
+### 0.8.0 (2024/09/09)
+
+支持Dockerfile快速部署,同时上线了huggingface、modelscope demo
+
+### 0.7.1 (2024/08/30)
+
+集成了paddle tablemaster表格识别功能
+
+### 0.7.0b1 (2024/08/09)
+
+简化安装步骤提升易用性,加入表格识别功能
+
+### 0.6.2b1 (2024/08/01)
+
+优化了依赖冲突问题和安装文档
+
+### 首次开源 (2024/07/05)
+
+MinerU项目首次开源发布
+
+</details>
+
diff --git a/mkdocs.yml b/mkdocs.yml
index 11f1b226..a009833d 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -93,6 +93,7 @@ nav:
- Demo: demo/index.md
- Reference:
- Output File Format: reference/output_files.md
+ - Changelog: reference/changelog.md
- FAQ:
- FAQ: faq/index.md
- Demo:
@@ -127,6 +128,7 @@ plugins:
FAQ: 常见问题解答
Reference: 参考资料
Output File Format: 输出文件格式
+ Changelog: 更新日志
Demo: 在线演示
- mkdocs-video