Skip to content

Commit

Permalink
Rename "coherence_score" key to "score" for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
morganmcg1 committed Jan 27, 2025
1 parent 6828cbc commit 21294c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weave/scorers/coherence_scorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def score_messages(self, prompt: str, output: str) -> dict[str, Any]:
"extras": {
"coherence_label": coherence_output["label"],
"coherence_id": self._label2id[coherence_output["label"]],
"coherence_score": coherence_output["score"],
"score": coherence_output["score"],
},
}

Expand Down

0 comments on commit 21294c3

Please sign in to comment.