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

Patronus Lynx Integration #622

Merged
merged 1 commit into from
Jul 11, 2024
Merged

Conversation

varjoshi
Copy link
Contributor

Summary

This is a PR to add a 3rd party integration with Patronus AI's Lynx Hallucination Detection Model. The associated rail guards against bot_message hallucinations to any passed relevant_chunks.

Patronus Lynx is fully open source and the model can be found on Hugging Face - here's a link to large and small variants.

The PR includes instructions to host Lynx using vLLM or Ollama (for the smaller model), and documentation on how to set up the guardrail.

@drazvan drazvan self-requested a review July 11, 2024 08:59
Copy link
Collaborator

@drazvan drazvan left a comment

Choose a reason for hiding this comment

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

Looks good 👍.

@drazvan drazvan merged commit 8ad7c1d into NVIDIA:develop Jul 11, 2024
1 check passed
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