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
7f0fe200
Commit
7f0fe200
authored
Aug 28, 2024
by
wangbinDL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Huggingface and ModelScope links to organization account
parent
1a01cecb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
download_models.py
docs/download_models.py
+1
-1
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
+3
-3
No files found.
docs/download_models.py
View file @
7f0fe200
# use modelscope sdk download models
from
modelscope
import
snapshot_download
model_dir
=
snapshot_download
(
'
wanderkid
/PDF-Extract-Kit'
)
model_dir
=
snapshot_download
(
'
opendatalab
/PDF-Extract-Kit'
)
print
(
f
"model dir is: {model_dir}/models"
)
docs/how_to_download_models_en.md
View file @
7f0fe200
...
...
@@ -9,7 +9,7 @@ git lfs install
To download the
`PDF-Extract-Kit`
model from Hugging Face, use the following command:
```
bash
git lfs clone https://huggingface.co/
wanderkid
/PDF-Extract-Kit
git lfs clone https://huggingface.co/
opendatalab
/PDF-Extract-Kit
```
Ensure that Git LFS is enabled during the clone to properly download all large files.
...
...
docs/how_to_download_models_zh_cn.md
View file @
7f0fe200
...
...
@@ -13,7 +13,7 @@
```
bash
git lfs
install
# 安装 Git 大文件存储插件 (Git LFS)
git lfs clone https://huggingface.co/
wanderkid
/PDF-Extract-Kit
# 从 Hugging Face 下载 PDF-Extract-Kit 模型
git lfs clone https://huggingface.co/
opendatalab
/PDF-Extract-Kit
# 从 Hugging Face 下载 PDF-Extract-Kit 模型
```
...
...
@@ -28,7 +28,7 @@ ModelScope 支持SDK或模型下载,任选一个即可。
```
bash
git lfs
install
git lfs clone https://www.modelscope.cn/
wanderkid
/PDF-Extract-Kit.git
git lfs clone https://www.modelscope.cn/
opendatalab
/PDF-Extract-Kit.git
```
### 2)利用SDK下载
...
...
@@ -41,7 +41,7 @@ pip install modelscope
```
python
# 使用modelscope sdk下载模型
from
modelscope
import
snapshot_download
model_dir
=
snapshot_download
(
'
wanderkid
/PDF-Extract-Kit'
)
model_dir
=
snapshot_download
(
'
opendatalab
/PDF-Extract-Kit'
)
print
(
f
"模型文件下载路径为:{model_dir}/models"
)
```
...
...
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