Commit 7f0fe200 authored by wangbinDL's avatar wangbinDL

Update Huggingface and ModelScope links to organization account

parent 1a01cecb
# use modelscope sdk download models # use modelscope sdk download models
from modelscope import snapshot_download 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") print(f"model dir is: {model_dir}/models")
...@@ -9,7 +9,7 @@ git lfs install ...@@ -9,7 +9,7 @@ git lfs install
To download the `PDF-Extract-Kit` model from Hugging Face, use the following command: To download the `PDF-Extract-Kit` model from Hugging Face, use the following command:
```bash ```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. Ensure that Git LFS is enabled during the clone to properly download all large files.
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
```bash ```bash
git lfs install # 安装 Git 大文件存储插件 (Git LFS) 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或模型下载,任选一个即可。 ...@@ -28,7 +28,7 @@ ModelScope 支持SDK或模型下载,任选一个即可。
```bash ```bash
git lfs install 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下载 ### 2)利用SDK下载
...@@ -41,7 +41,7 @@ pip install modelscope ...@@ -41,7 +41,7 @@ pip install modelscope
```python ```python
# 使用modelscope sdk下载模型 # 使用modelscope sdk下载模型
from modelscope import snapshot_download 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") print(f"模型文件下载路径为:{model_dir}/models")
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment