Skip to content

Commit

Permalink
log numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBinder committed Sep 20, 2024
1 parent 76fc27b commit 5e9fe45
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pie_modules/document/processing/text_pair.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,4 +308,8 @@ def add_negative_coref_relations(
new_rels2new_docs[rel].binary_coref_relations.append(rel)

docs_with_rels = [doc for doc in new_docs if len(doc.binary_coref_relations) > 0]
logger.info(
f"constructed {len(negative_rels)} negative for {len(positive_rels)} "
f"positive relations in {len(docs_with_rels)} documents"
)
return docs_with_rels

0 comments on commit 5e9fe45

Please sign in to comment.