# MinerU Document Extraction Tools

Embedded MinerU document extraction demo

Canonical page: https://www.reposhelf.co.uk/projects/huggingface/opendatalab/mineru.html

- Project ID: hf:opendatalab/MinerU
- Source: Hugging Face Spaces
- Original project: https://huggingface.co/spaces/opendatalab/MinerU
- Description attribution: project author metadata
- Categories: AI &amp; machine learning
- Technologies: Python
- Licence: Apache-2.0
- Repository availability checked: 2026-11-02T02:03:22.139Z
- Demo page loaded: 2026-11-16T13:54:13.083Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> app.py launches the code in mineruspace/. Flash TXT and native Office/HTML/OFD inputs run in a CPU/PDFium sidecar; Flash OCR and all Basic PDF requests use ZeroGPU. The maximum is Basic, with 20 pages and a 60-second GPU parse watchdog. Cancellation waits for native work to finish before releasing the request slot.

> The Space image supplies Python 3.12. The launcher reuses that interpreter to create an isolated environment, installs MinerU's exact dev HEAD, verifies it, and activates it only after success. Failed updates keep an existing compatible runtime; no usable runtime means startup fails clearly. The cache defaults to /.cache/mineru-space-runtime \(MINERURUNTIMECACHE overrides it\), outside the checkout, and follows the Space's storage lifetime. Current and previous runtime manifests are retained for rollback.

> The root requirements.txt installs launcher dependencies. The Space-specific pins for spaces, gradio, and torch are in mineruspace/runtime-requirements.txt. Other dependencies, including CPU onnxruntime, are resolved from MinerU's package metadata. Table inference is fixed to CPU and inherits MinerU's default 4/1 intra/inter-op threads. The Space does not set MINERUINTRAOPNUMTHREADS or MINERUINTEROPNUMTHREADS; explicit deployment overrides still work. Torch models still use CUDA and preload through ZeroGPU's emulation at startup. PDFium and ONNX sessions are not initialized in that parent…



## Author-documented requirements and audience

> app.py launches the code in mineruspace/. Flash TXT and native Office/HTML/OFD inputs run in a CPU/PDFium sidecar; Flash OCR and all Basic PDF requests use ZeroGPU. The maximum is Basic, with 20 pages and a 60-second GPU parse watchdog. Cancellation waits for native work to finish before releasing the request slot.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://huggingface.co/spaces/opendatalab/MinerU/blob/main/README.md

Extraction checked: 2026-11-02T02:03:22.230Z

Last recorded source update: 2026-10-25T16:38:31.000Z

Saved release: Not recorded. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=hf%3Aopendatalab%2FMinerU). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
