Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add two criteria based direct llm judges #1527

Merged
merged 7 commits into from
Jan 21, 2025
Merged

Add two criteria based direct llm judges #1527

merged 7 commits into from
Jan 21, 2025

Conversation

lilacheden
Copy link
Member

No description provided.

"option_map": option_map,
}
)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So they can be reused.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yoavkatz - ok, added the criteria to the catalog

Signed-off-by: lilacheden <[email protected]>
)
add_to_catalog(
adherence_metric,
f"metrics.llm_as_judge.direct.criteria_judges.llama_3_3_70b_instruct_{adherence_criteria.name}",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since these metrics require specific fields (e.g. "question" or "reference_answer"). I think it will be simpler for the users to understand when to use them, by they are under the task "metrics.rag.response_generation.adherence.llama_3_3_70b_instruct_judge"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@lilacheden lilacheden enabled auto-merge (squash) January 21, 2025 09:10
@lilacheden lilacheden merged commit bcc7b6a into main Jan 21, 2025
17 of 18 checks passed
@lilacheden lilacheden deleted the criterias branch January 21, 2025 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants