Skip to content

evaluate_pii

evaluate_pii

evaluate_pii(
    examples: Sequence[EvaluationExample],
    predictions: Mapping[str, Sequence[EntitySpan]],
    *,
    model: str,
) -> EvaluationReport

Score predictions using exact label and character-span matches.