{ "metric_name": "cer", "definition": "sum(edit_distance(pred_norm, ref_norm)) / sum(max(1, len(ref_norm)))", "aggregation": "global sums (DDP all_reduce)", "empty_reference_policy": "references with empty normalized text are excluded from valid_n and counted in empty_ref_count" }