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 nltk.download of punkt to the response_hallucination init #166

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

jamie256
Copy link
Collaborator

Fixes response_hallucination example by triggering the punkt download before using the new hallucination metric.

Verified in release testing against: https://colab.research.google.com/github/whylabs/LanguageToolkit/blob/main/langkit/examples/Response_Consistency.ipyn

@jamie256 jamie256 requested a review from FelipeAdachi October 24, 2023 21:04
Copy link
Contributor

@FelipeAdachi FelipeAdachi left a comment

Choose a reason for hiding this comment

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

LGTM!

@jamie256 jamie256 merged commit 1b2c768 into main Oct 24, 2023
12 checks passed
@jamie256 jamie256 deleted the dev/jamie/punkt_init branch October 24, 2023 21:17
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