Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

Create download_models_hf.py

Xiaomeng Zhaocc543669e8fa
diff --git a/docs/download_models_hf.py b/docs/download_models_hf.py
new file mode 100644
index 00000000..7436a06b
--- /dev/null
+++ b/docs/download_models_hf.py
@@ -0,0 +1,3 @@
+from huggingface_hub import snapshot_download
+model_dir = snapshot_download('opendatalab/PDF-Extract-Kit')
+print(f"model dir is: {model_dir}/models")