Skip to content

Commit

Permalink
drafting
Browse files Browse the repository at this point in the history
  • Loading branch information
riship committed Jan 24, 2025
1 parent a7820d6 commit 111ac71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torch_geometric/nn/nlp/llm_judge.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def _process_score(self, response: str) -> float:
This is because LLMs don't always follow instructions.
Credit to Gilberto.
"""
print("Grading Response:", response)
for i in [4, 3, 2, 1, 0]:
if str(i) in response:
return i / 4
Expand Down

0 comments on commit 111ac71

Please sign in to comment.