mirror of
https://github.com/docling-project/docling-eval.git
synced 2026-05-17 13:10:47 +00:00
* Misc fixes Signed-off-by: Christoph Auer <cau@zurich.ibm.com> * Make DatasetRecord tolerant to old parquet files Signed-off-by: Christoph Auer <cau@zurich.ibm.com> * Make DatasetRecord tolerant to old parquet files (2) Signed-off-by: Christoph Auer <cau@zurich.ibm.com> * Fix docvqa test, more cleanup Signed-off-by: Christoph Auer <cau@zurich.ibm.com> * Important fixes for layout mAP computation Signed-off-by: Christoph Auer <cau@zurich.ibm.com> * Adding modes for missing_prediction_strategy and label_filtering_strategy Signed-off-by: Christoph Auer <cau@zurich.ibm.com> * Fixes for mismatched docs Signed-off-by: Christoph Auer <cau@zurich.ibm.com> * Add F1 no_picture metrics to layout evaluator Signed-off-by: Christoph Auer <cau@zurich.ibm.com> * Fixed commands on all READMEs Signed-off-by: Christoph Auer <cau@zurich.ibm.com> * Remove extract_images ambiguity, use utility and fix errors on visualizer Signed-off-by: Christoph Auer <cau@zurich.ibm.com> * Upgrade to latest docling_core Signed-off-by: Christoph Auer <cau@zurich.ibm.com> * Fix ocrmac dep, upgrade uv.lock Signed-off-by: Christoph Auer <cau@zurich.ibm.com> * Fix for tableformer provider Signed-off-by: Christoph Auer <cau@zurich.ibm.com> * Remove code redundancy Signed-off-by: Christoph Auer <cau@zurich.ibm.com> --------- Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
4.4 KiB
4.4 KiB
Docling-DP-Bench Benchmarks
Docling-DP-Bench on HuggingFace
Docling-DP-Bench is a re-annotated version of the original upstage/dpbench dataset with Docling-native labels.
Create Docling-DPBench evaluation datasets:
# Download the GT straight from HuggingFace
huggingface-cli download --repo-type dataset --local-dir ./benchmarks/Docling-DPBench-gt/gt_dataset ds4sd/docling-dpbench
# Make predictions for different modalities.
docling-eval create-eval \
--benchmark DPBench \
--gt-dir ./benchmarks/Docling-DPBench-gt/gt_dataset/ \
--output-dir ./benchmarks/Docling-DPBench-e2e/ \
--prediction-provider Docling # use full-document predictions from docling
docling-eval create-eval \
--benchmark DPBench \
--gt-dir ./benchmarks/Docling-DPBench-gt/gt_dataset/ \
--output-dir ./benchmarks/Docling-DPBench-tables/ \
--prediction-provider TableFormer # use tableformer predictions only
Layout Evaluation
Create the evaluation report:
docling-eval evaluate \
--modality layout \
--benchmark DPBench \
--output-dir ./benchmarks/Docling-DPBench-e2e/
Visualize the report:
docling-eval visualize \
--modality layout \
--benchmark DPBench \
--output-dir ./benchmarks/Docling-DPBench-e2e/
TableFormer Evaluation
Create the evaluation report:
docling-eval evaluate \
--modality table_structure \
--benchmark DPBench \
--output-dir ./benchmarks/Docling-DPBench-tables/
Visualize the report:
Visualize the report:
docling-eval visualize \
--modality table_structure \
--benchmark DPBench \
--output-dir ./benchmarks/Docling-DPBench-tables/
Reading order Evaluation
Create the evaluation report:
docling-eval evaluate \
--modality reading_order \
--benchmark DPBench \
--output-dir ./benchmarks/Docling-DPBench-e2e/
Visualize the report:
docling-eval visualize \
--modality reading_order \
--benchmark DPBench \
--output-dir ./benchmarks/Docling-DPBench-e2e/
Markdown text Evaluation
Create the evaluation report:
docling-eval evaluate \
--modality markdown_text \
--benchmark DPBench \
--output-dir ./benchmarks/Docling-DPBench-e2e/
Visualize the report:
docling-eval visualize \
--modality markdown_text \
--benchmark DPBench \
--output-dir ./benchmarks/Docling-DPBench-e2e/
![mAP[0.5:0.95] plot](/docling-project/docling-eval/media/branch/cau/bugfixes/docs/evaluations/Docling-DPBench/evaluation_DPBench_layout_mAP_0.5_0.95.png)










