Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 10, 2025
1 parent 3b6ecbe commit b0075cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/llm/hotpot_qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@
golden_triples = relevant_triples[QA_pair]
# Again, redundant since TXT2KG already provides lowercase
# in case loading a KG that was made some other way without lowercase
golden_triples = [(i[0].lower(), i[1].lower(), i[2].lower()) for i in golden_triples]
golden_triples = [(i[0].lower(), i[1].lower(), i[2].lower())
for i in golden_triples]
q = QA_pair[0]
retrieved_subgraph = query_loader.query(q)
retrieved_triples = retrieved_subgraph.triples
Expand Down

0 comments on commit b0075cd

Please sign in to comment.