Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
997cc9d8
"vscode:/vscode.git/clone" did not exist on "664e931bcbddd47c21c3d4d547221506f588b9e9"
Commit
997cc9d8
authored
Jul 05, 2025
by
myhloli
Browse files
docs: update README and README_zh-CN to clarify usage of --enable-sglang-engine parameter
parent
cb952e5c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+1
-1
README_zh-CN.md
README_zh-CN.md
+2
-2
No files found.
README.md
View file @
997cc9d8
...
...
@@ -728,7 +728,7 @@ mineru -p <input_path> -o <output_path> -b vlm-sglang-client -u http://127.0.0.1
# Using pipeline/vlm-transformers/vlm-sglang-client backend
mineru-gradio
--server-name
127.0.0.1
--server-port
7860
# Or using vlm-sglang-engine/pipeline backend
mineru-gradio
--server-name
127.0.0.1
--server-port
7860
--enable-sglang-engine
mineru-gradio
--server-name
127.0.0.1
--server-port
7860
--enable-sglang-engine
true
```
Access http://127.0.0.1:7860 in your browser to use the Gradio WebUI, or visit http://127.0.0.1:7860/?view=api to use the Gradio API.
...
...
README_zh-CN.md
View file @
997cc9d8
...
...
@@ -717,7 +717,7 @@ mineru -p <input_path> -o <output_path> -b vlm-sglang-client -u http://127.0.0.1
# 使用 pipeline/vlm-transformers/vlm-sglang-client 后端
mineru-gradio
--server-name
127.0.0.1
--server-port
7860
# 或使用 vlm-sglang-engine/pipeline 后端
mineru-gradio
--server-name
127.0.0.1
--server-port
7860
--enable-sglang-engine
mineru-gradio
--server-name
127.0.0.1
--server-port
7860
--enable-sglang-engine
true
```
在浏览器中访问 http://127.0.0.1:7860 使用 Gradio WebUI 或访问 http://127.0.0.1:7860/?view=api 使用 Gradio API。
...
...
@@ -768,7 +768,7 @@ mineru -p <input_path> -o <output_path> -b vlm-sglang-client -u http://127.0.0.1
-
`mineru.json`
文件会在您使用内置模型下载命令
`mineru-models-download`
时自动生成,也可以通过将
[
配置模板文件
](
./mineru.template.json
)
复制到用户目录下并重命名为
`mineru.json`
来创建。
-
以下是一些可用的配置选项:
-
`latex-delimiter-config`
:用于配置 LaTeX 公式的分隔符,默认为
`$`
符号,可根据需要修改为其他符号或字符串。
-
`llm-aided-config`
:用于配置 LLM 辅助标题分级的相关参数,兼容所有支持
`openai协议`
的 LLM 模型,默认使用
`阿里云百
练
`
的
`qwen2.5-32b-instruct`
模型,您需要自行配置 API 密钥并将
`enable`
设置为
`true`
来启用此功能。
-
`llm-aided-config`
:用于配置 LLM 辅助标题分级的相关参数,兼容所有支持
`openai协议`
的 LLM 模型,默认使用
`阿里云百
炼
`
的
`qwen2.5-32b-instruct`
模型,您需要自行配置 API 密钥并将
`enable`
设置为
`true`
来启用此功能。
-
`models-dir`
:用于指定本地模型存储目录,请为
`pipeline`
和
`vlm`
后端分别指定模型目录,指定目录后您可通过配置环境变量
`export MINERU_MODEL_SOURCE=local`
来使用本地模型。
---
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment