Model Weights Download#

Before using the PDF-Extract-Kit, we need to download the required model weights. You can download all models or specific model files (e.g., formula detection MFD) according to your needs.

Method 2: Git LFS#

The remote model repositories of HuggingFace and ModelScope are Git repositories managed by Git LFS. Therefore, we can use git clone to download the weights:

$ git lfs install
$ # From HuggingFace
$ git lfs clone https://huggingface.co/opendatalab/pdf-extract-kit-1.0
$ # From ModelScope
$ git clone https://www.modelscope.cn/opendatalab/pdf-extract-kit-1.0.git