wanderkid commited on
Commit
f836e5c
Β·
1 Parent(s): e34ece3

update readme

Browse files
Files changed (1) hide show
  1. README.md +70 -3
README.md CHANGED
@@ -1,3 +1,70 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### Install Git LFS
2
+ Before you begin, make sure Git Large File Storage (Git LFS) is installed on your system. Install it using the following command:
3
+
4
+ ```bash
5
+ git lfs install
6
+ ```
7
+
8
+ ### Download the Model from Hugging Face
9
+ To download the `PDF-Extract-Kit` model from Hugging Face, use the following command:
10
+
11
+ ```bash
12
+ git lfs clone https://huggingface.co/wanderkid/PDF-Extract-Kit
13
+ ```
14
+
15
+ Ensure that Git LFS is enabled during the clone to properly download all large files.
16
+
17
+
18
+
19
+ ### Download the Model from ModelScope
20
+
21
+ #### SDK Download
22
+
23
+ ```bash
24
+ # First, install the ModelScope library using pip:
25
+ pip install modelscope
26
+ ```
27
+
28
+ ```python
29
+ # Use the following Python code to download the model using the ModelScope SDK:
30
+ from modelscope import snapshot_download
31
+ model_dir = snapshot_download('wanderkid/PDF-Extract-Kit')
32
+ ```
33
+
34
+ #### Git Download
35
+ Alternatively, you can use Git to clone the model repository from ModelScope:
36
+
37
+ ```bash
38
+ git clone https://www.modelscope.cn/wanderkid/PDF-Extract-Kit.git
39
+ ```
40
+
41
+
42
+ Put [model files]() here:
43
+
44
+ ```
45
+ ./
46
+ β”œβ”€β”€ Layout
47
+ β”‚ β”œβ”€β”€ config.json
48
+ β”‚ └── model_final.pth
49
+ β”œβ”€β”€ MFD
50
+ β”‚ └── weights.pt
51
+ β”œβ”€β”€ MFR
52
+ β”‚ └── UniMERNet
53
+ β”‚ β”œβ”€β”€ config.json
54
+ β”‚ β”œβ”€β”€ preprocessor_config.json
55
+ β”‚ β”œβ”€β”€ pytorch_model.bin
56
+ β”‚ β”œβ”€β”€ README.md
57
+ β”‚ β”œβ”€β”€ tokenizer_config.json
58
+ β”‚ └── tokenizer.json
59
+ β”œβ”€β”€ TabRec
60
+ β”‚ └── StructEqTable
61
+ β”‚ β”œβ”€β”€ config.json
62
+ β”‚ β”œβ”€β”€generation_config.json
63
+ β”‚ β”œβ”€β”€model.safetensors
64
+ β”‚ β”œβ”€β”€preprocessor_config.json
65
+ β”‚ β”œβ”€β”€special_tokens_map.json
66
+ β”‚ β”œβ”€β”€spiece.model
67
+ β”‚ β”œβ”€β”€tokenizer_config.json
68
+ β”‚ └──tokenizer.json
69
+ └── README.md
70
+ ```