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
01306098
Unverified
Commit
01306098
authored
Oct 08, 2024
by
Xiaomeng Zhao
Committed by
GitHub
Oct 08, 2024
Browse files
Merge pull request #700 from myhloli/dev
docs: add filename to wget command in model download scripts
parents
7b787555
5de6af68
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
docs/how_to_download_models_en.md
docs/how_to_download_models_en.md
+1
-1
docs/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
...
@@ -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
Use a Python Script to Download Model Files from Hugging Face
```
bash
```
bash
pip
install
huggingface_hub
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
python download_models_hf.py
```
```
The Python script will automatically download the model files and configure the model directory in the configuration file.
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 @@
...
@@ -8,7 +8,7 @@
<summary>
方法一:从 Hugging Face 下载模型
</summary>
<summary>
方法一:从 Hugging Face 下载模型
</summary>
<p>
使用python脚本 从Hugging Face下载模型文件
</p>
<p>
使用python脚本 从Hugging Face下载模型文件
</p>
<pre><code>
pip install huggingface_hub
<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>
python download_models_hf.py
</code></pre>
<p>
python脚本执行完毕后,会输出模型下载目录
</p>
<p>
python脚本执行完毕后,会输出模型下载目录
</p>
</details>
</details>
...
@@ -19,7 +19,7 @@ python download_models_hf.py</code></pre>
...
@@ -19,7 +19,7 @@ python download_models_hf.py</code></pre>
```
bash
```
bash
pip
install
modelscope
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 download_models.py
```
```
python脚本会自动下载模型文件并配置好配置文件中的模型目录
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