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

Added special case to support Anthropic Critique #1862

Merged
merged 1 commit into from
Oct 7, 2023

Conversation

JosselinSomervilleRoberts
Copy link
Contributor

Quick fix to support Claude in CritiqueModel.
I say quick but at the same time I don't think there is a super clean way to handle this for now. We could add the notion of prefix and suffix to the CritiqueModelClient but this would still require this logic somewhere. I think this should be handled further down the line by our refactor which would add automatically the correct prefix and suffix for a model.

@yifanmai yifanmai changed the title Added special case to support Antrhopic Critique Added special case to support Anthropic Critique Sep 26, 2023
@@ -14,6 +14,8 @@
from helm.proxy.clients.client import Client
from helm.proxy.clients.critique_client import CritiqueClient

import anthropic
Copy link
Collaborator

Choose a reason for hiding this comment

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

Handle anthropic as an optional dependency like this.

@JosselinSomervilleRoberts JosselinSomervilleRoberts merged commit 73587fd into main Oct 7, 2023
3 checks passed
@JosselinSomervilleRoberts JosselinSomervilleRoberts deleted the critique-support-anthropic branch October 7, 2023 00:02
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