mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-08-30 17:12:39 +08:00
3a820305c8
- Comment out PaddlePaddle GPU installation in Dockerfile - Add OCR model download URL in download_models.py - Update config version in magic-pdf.json - Remove outdated information and simplify README.md - Remove volume creation for PaddleOCR models in Dockerfile
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"bucket_info":{
|
|
"bucket-name-1":["ak", "sk", "endpoint"],
|
|
"bucket-name-2":["ak", "sk", "endpoint"]
|
|
},
|
|
"models-dir":"/opt/models",
|
|
"layoutreader-model-dir":"/opt/layoutreader",
|
|
"device-mode":"cuda",
|
|
"layout-config": {
|
|
"model": "doclayout_yolo"
|
|
},
|
|
"formula-config": {
|
|
"mfd_model": "yolo_v8_mfd",
|
|
"mfr_model": "unimernet_small",
|
|
"enable": true
|
|
},
|
|
"table-config": {
|
|
"model": "rapid_table",
|
|
"sub_model": "slanet_plus",
|
|
"enable": true,
|
|
"max_time": 400
|
|
},
|
|
"llm-aided-config": {
|
|
"formula_aided": {
|
|
"api_key": "your_api_key",
|
|
"base_url": "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
|
"model": "qwen2.5-7b-instruct",
|
|
"enable": false
|
|
},
|
|
"text_aided": {
|
|
"api_key": "your_api_key",
|
|
"base_url": "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
|
"model": "qwen2.5-7b-instruct",
|
|
"enable": false
|
|
},
|
|
"title_aided": {
|
|
"api_key": "your_api_key",
|
|
"base_url": "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
|
"model": "qwen2.5-32b-instruct",
|
|
"enable": false
|
|
}
|
|
},
|
|
"config_version": "1.2.0"
|
|
}
|