wanderkid commited on
Commit
b3fc2ef
1 Parent(s): 2279299

Update README

Browse files
Files changed (1) hide show
  1. README.md +13 -7
README.md CHANGED
@@ -1,24 +1,30 @@
1
- [MinerU](https://github.com/opendatalab/MinerU)项目中使用的模型,欢迎下载使用。
2
- 模型使用请参考[PDF-Extract-Kit](https://github.com/opendatalab/PDF-Extract-Kit)项目。
 
 
 
 
 
3
 
4
  ### SDK Download
5
 
6
  ```bash
7
  # First, install the ModelScope library using pip:
8
- pip install modelscope
9
  ```
10
 
11
  ```python
12
- # Use the following Python code to download the model using the ModelScope SDK:
13
- from modelscope import snapshot_download
14
- model_dir = snapshot_download('opendatalab/PDF-Extract-Kit')
 
15
  ```
16
 
17
  ### Git Download
18
  Alternatively, you can use Git to clone the model repository from ModelScope:
19
 
20
  ```bash
21
- git clone https://www.modelscope.cn/opendatalab/PDF-Extract-Kit.git
22
  ```
23
 
24
  ---
 
1
+ ## PDF-Extract-Kit-1.0 Model Repository
2
+
3
+ This is the model repository corresponding to version 1.0 of PDF-Extract-Kit. For usage, please refer to:
4
+
5
+ - [PDF-Extract-Kit-1.0](https://github.com/opendatalab/PDF-Extract-Kit)
6
+ - [MinerU](https://github.com/opendatalab/MinerU)
7
+
8
 
9
  ### SDK Download
10
 
11
  ```bash
12
  # First, install the ModelScope library using pip:
13
+ pip install huggingface
14
  ```
15
 
16
  ```python
17
+ # Use the following Python code to download the model using the HuggingFace SDK:
18
+ from huggingface_hub import snapshot_download
19
+
20
+ snapshot_download(repo_id='opendatalab/pdf-extract-kit-1.0', local_dir='./', max_workers=20)
21
  ```
22
 
23
  ### Git Download
24
  Alternatively, you can use Git to clone the model repository from ModelScope:
25
 
26
  ```bash
27
+ git clone https://huggingface.co/opendatalab/PDF-Extract-Kit-1.0
28
  ```
29
 
30
  ---