Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docling_eval/evaluators/markdown_text_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def __call__(
true_md = self._docling_document_to_md(true_doc)
pred_md = self._get_pred_md(data_record)

if pred_md is None:
if not pred_md:
_log.error("There is no markdown prediction for doc_id=%s", doc_id)
rejected_samples[EvaluationRejectionType.MISSING_PREDICTION] += 1
continue
Expand Down
Loading