From d46c353afc9a401640545c467aca5f19445dc0cf Mon Sep 17 00:00:00 2001 From: myhloli Date: Thu, 18 Jun 2026 15:04:29 +0800 Subject: [PATCH] feat: improve model source documentation for accessibility checks and update link --- README.md | 2 +- docs/en/usage/model_source.md | 2 +- docs/zh/usage/model_source.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8975ba79..d056e5ca 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ Domestic AI chips: Ascend · Cambricon · Enflame · MetaX · Moore Threads · K - Model download logic optimization - Added automatic model source selection, allowing first-time installations to choose a better model source based on the current network environment. - Before downloading models, MinerU now prioritizes checking locally downloaded model cache files. Cache hits can be reused directly, reducing repeated downloads and unnecessary remote requests. - - For more details about model source configuration, automatic source selection, and local model usage, see the [Model Source Documentation](https://opendatalab.github.io/MinerU/en/usage/model_source/). + - For more details about model source configuration, automatic source selection, and local model usage, see the [Model Source Documentation](https://opendatalab.github.io/MinerU/usage/model_source/). With the 3.4 release, MinerU further improves the parsing accuracy and processing efficiency of the `pipeline` backend in OCR scenarios. It also optimizes model downloads, cache reuse, and local configuration write-back, making first-time installation, model updates, and multi-environment deployment more stable and automated. diff --git a/docs/en/usage/model_source.md b/docs/en/usage/model_source.md index 9d2d61f3..1cc14b18 100644 --- a/docs/en/usage/model_source.md +++ b/docs/en/usage/model_source.md @@ -2,7 +2,7 @@ MinerU uses `HuggingFace` and `ModelScope` as model repositories. Users can switch model sources or use local models as needed. -- `auto` is the default model source policy. It first requests `https://huggingface.co/models` to check whether Hugging Face is reachable. If reachable, MinerU uses `HuggingFace`; otherwise, it falls back to `ModelScope`. +- `auto` is the default model source policy. It first checks whether Hugging Face is accessible. If accessible, MinerU uses `HuggingFace`, otherwise it automatically falls back to `ModelScope`. - `HuggingFace` provides excellent loading speed and high stability globally. - `ModelScope` is the best choice for users in mainland China, providing seamlessly compatible `hf` SDK modules, suitable for users who cannot access HuggingFace. diff --git a/docs/zh/usage/model_source.md b/docs/zh/usage/model_source.md index 53678679..05932253 100644 --- a/docs/zh/usage/model_source.md +++ b/docs/zh/usage/model_source.md @@ -2,7 +2,7 @@ MinerU使用 `HuggingFace` 和 `ModelScope` 作为模型仓库,用户可以根据需要切换模型源或使用本地模型。 -- `auto` 是默认的模型源策略,会先请求 `https://huggingface.co/models` 探测 HuggingFace 是否可访问;可访问时使用 `HuggingFace`,不可访问时自动回退到 `ModelScope`。 +- `auto` 是默认的模型源策略,会优先探测 HuggingFace 是否可访问;可访问时使用 `HuggingFace`,不可访问时自动回退到 `ModelScope`。 - `HuggingFace` 在全球范围内提供了优异的加载速度和极高稳定性。 - `ModelScope` 是中国大陆地区用户的最佳选择,提供了无缝兼容的SDK模块,适用于无法访问`HuggingFace`的用户。