Skip to content

Commit

Permalink
Update model URL
Browse files Browse the repository at this point in the history
  • Loading branch information
wangbinDL committed Sep 14, 2024
1 parent 6888047 commit 2e2ee43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion demo/TabRec/StructEqTable/README_TABLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ In addition, the current version of the model **supports both Chinese and Englis
See [MinerU](https://github.com/opendatalab/MinerU) for the final end-to-end solution, which will integrate the table recognition within a week.

## Model Download
The weights file for StructEqTable can be downloaded from [modelscope](https://www.modelscope.cn/models/wanderkid/PDF-Extract-Kit/files) and [huggingface](https://huggingface.co/wanderkid/PDF-Extract-Kit/tree/main/models/TabRec/StructEqTable)
The weights file for StructEqTable can be downloaded from [modelscope](https://www.modelscope.cn/models/opendatalab/PDF-Extract-Kit/files) and [huggingface](https://huggingface.co/opendatalab/PDF-Extract-Kit/tree/main/models/TabRec/StructEqTable)

Put model files here:

Expand Down
6 changes: 3 additions & 3 deletions models/README.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 All @@ -28,14 +28,14 @@ pip install modelscope
```python
# Use the following Python code to download the model using the ModelScope SDK:
from modelscope import snapshot_download
model_dir = snapshot_download('wanderkid/PDF-Extract-Kit')
model_dir = snapshot_download('opendatalab/PDF-Extract-Kit')
```

#### Git Download
Alternatively, you can use Git to clone the model repository from ModelScope:

```bash
git clone https://www.modelscope.cn/wanderkid/PDF-Extract-Kit.git
git clone https://www.modelscope.cn/opendatalab/PDF-Extract-Kit.git
```


Expand Down

0 comments on commit 2e2ee43

Please sign in to comment.