Skip to content

Commit

Permalink
Fix merge conflicts.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmitsch committed Oct 16, 2023
2 parents 45839db + 6207842 commit 52342e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spacy_llm/tasks/sentiment/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ def score(examples: Iterable[Example], **kwargs) -> Dict[str, Any]:
)
for example in examples
]

return {"acc_sentiment": 1 - (sum(score_diffs) / len(score_diffs))}

0 comments on commit 52342e8

Please sign in to comment.