Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pdf-miner
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Qin Kaijie
pdf-miner
Commits
01306098
Unverified
Commit
01306098
authored
Oct 08, 2024
by
Xiaomeng Zhao
Committed by
GitHub
Oct 08, 2024
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #700 from myhloli/dev
docs: add filename to wget command in model download scripts
parents
7b787555
5de6af68
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
how_to_download_models_en.md
docs/how_to_download_models_en.md
+1
-1
how_to_download_models_zh_cn.md
docs/how_to_download_models_zh_cn.md
+2
-2
No files found.
docs/how_to_download_models_en.md
View file @
01306098
...
...
@@ -7,7 +7,7 @@ Model downloads are divided into initial downloads and updates to the model dire
Use a Python Script to Download Model Files from Hugging Face
```
bash
pip
install
huggingface_hub
wget https://github.com/opendatalab/MinerU/raw/master/docs/download_models_hf.py
wget https://github.com/opendatalab/MinerU/raw/master/docs/download_models_hf.py
-O
download_models_hf.py
python download_models_hf.py
```
The Python script will automatically download the model files and configure the model directory in the configuration file.
...
...
docs/how_to_download_models_zh_cn.md
View file @
01306098
...
...
@@ -8,7 +8,7 @@
<summary>
方法一:从 Hugging Face 下载模型
</summary>
<p>
使用python脚本 从Hugging Face下载模型文件
</p>
<pre><code>
pip install huggingface_hub
wget https://gitee.com/myhloli/MinerU/raw/master/docs/download_models_hf.py
wget https://gitee.com/myhloli/MinerU/raw/master/docs/download_models_hf.py
-O download_models_hf.py
python download_models_hf.py
</code></pre>
<p>
python脚本执行完毕后,会输出模型下载目录
</p>
</details>
...
...
@@ -19,7 +19,7 @@ python download_models_hf.py</code></pre>
```
bash
pip
install
modelscope
wget https://gitee.com/myhloli/MinerU/raw/master/docs/download_models.py
wget https://gitee.com/myhloli/MinerU/raw/master/docs/download_models.py
-O
download_models.py
python download_models.py
```
python脚本会自动下载模型文件并配置好配置文件中的模型目录
...
...
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