Skip to content

Commit

Permalink
Restore original logger output
Browse files Browse the repository at this point in the history
  • Loading branch information
caufieldjh committed Oct 3, 2023
1 parent f9ef356 commit 37e2d6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ontogpt/evaluation/ctd/eval_ctd.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ def load_cases(self, path: Path) -> Iterable[ChemicalToDiseaseDocument]:
"full_text": "N/A",
}
)
# logger.debug(f"Triples: {len(triples)} for Title: {title} Abstract: {abstract}")
print(f"Triples: {len(triples)} for Title: {title} Abstract: {abstract}")
logger.debug(f"Triples: {len(triples)} for Title: {title} Abstract: {abstract}")
yield ChemicalToDiseaseDocument.model_validate({"publication": pub, "triples": triples})

def create_training_set(self, num=100):
Expand Down

0 comments on commit 37e2d6c

Please sign in to comment.