We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5084a4d commit 9b6df83Copy full SHA for 9b6df83
docling_eval/evaluators/markdown_text_evaluator.py
@@ -156,7 +156,7 @@ def __call__(
156
true_md = self._docling_document_to_md(true_doc)
157
pred_md = self._get_pred_md(data_record)
158
159
- if pred_md is None:
+ if not pred_md:
160
_log.error("There is no markdown prediction for doc_id=%s", doc_id)
161
rejected_samples[EvaluationRejectionType.MISSING_PREDICTION] += 1
162
continue
0 commit comments