Skip to content

Commit

Permalink
Update test_neural_reasoner_accuracy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LckyLke committed Dec 5, 2024
1 parent 19f8bd4 commit 0140072
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_neural_reasoner_accuracy.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ def test_retrieval_performance():

# (2) Initialize Neural OWL Reasoner.
if path_kge_model:
neural_owl_reasoner = OWLNeuralReasoner(path_neural_embedding=path_kge_model, gamma=gamma)
neural_owl_reasoner = OWLNeuralReasoner(path_neural_embedding=path_kge_model, gamma=gamma, max_cache_size=0)
else:
neural_owl_reasoner = OWLNeuralReasoner(path_of_kb=path_kg, gamma=gamma)
neural_owl_reasoner = OWLNeuralReasoner(path_of_kb=path_kg, gamma=gamma, max_cache_size=0)

# Fix the random seed.
random.seed(seed)
Expand Down

0 comments on commit 0140072

Please sign in to comment.