Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 647279361
  • Loading branch information
minsukkahng authored and RyanMullins committed Jun 27, 2024
1 parent b3b77be commit 130133a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions python/src/llm_comparator/comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def run(
'score': judgement['score'],
'individual_rater_scores': judgement['individual_rater_scores'],
'rationale_list': similarity,
'custom_fields': {},
}
for input, judgement, similarity in per_example_generator
],
Expand Down
2 changes: 1 addition & 1 deletion python/src/llm_comparator/rationale_cluster_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def _store_similarities_to_rationale_bullets(
def run(
self,
rationale_bullets_for_examples: Sequence[Sequence[str]],
num_clusters: int = 10,
num_clusters: int = 8,
) -> tuple[
Sequence[_RationaleCluster],
Sequence[Sequence[_RationaleBulletWithClusterSimilarity]],
Expand Down

0 comments on commit 130133a

Please sign in to comment.