Merge pull request #1613 from opendatalab/dev

feat(table-config): add sub_model configuration for rapid_table
This commit is contained in:
Xiaomeng Zhao
2025-01-23 15:28:37 +08:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -278,6 +278,7 @@ You can modify certain configurations in this file to enable or disable features
},
"table-config": {
"model": "rapid_table", // Default to using "rapid_table", can be switched to "tablemaster" or "struct_eqtable".
"sub_model": "slanet_plus", // When the model is "rapid_table", you can choose a sub_model. The options are "slanet_plus" and "unitable"
"enable": true, // The table recognition feature is enabled by default. If you need to disable it, please change the value here to "false".
"max_time": 400
}

View File

@@ -282,6 +282,7 @@ pip install -U "magic-pdf[full]" --extra-index-url https://wheels.myhloli.com -i
},
"table-config": {
"model": "rapid_table", // 默认使用"rapid_table",可以切换为"tablemaster"和"struct_eqtable"
"sub_model": "slanet_plus", // 当model为"rapid_table"时可以自选sub_model可选项为"slanet_plus"和"unitable"
"enable": true, // 表格识别功能默认是开启的,如果需要关闭请修改此处的值为"false"
"max_time": 400
}