Skip to content

Commit

Permalink
Update Huggingface and ModelScope links to organization account
Browse files Browse the repository at this point in the history
  • Loading branch information
wangbinDL committed Aug 28, 2024
1 parent 1a01cec commit 7f0fe20
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/download_models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 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")
2 changes: 1 addition & 1 deletion docs/how_to_download_models_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions docs/how_to_download_models_zh_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 模型
```


Expand All @@ -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下载
Expand All @@ -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")
```

Expand Down

0 comments on commit 7f0fe20

Please sign in to comment.