Skip to content

Improve loading of json if end of json is not found for metrics #816

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

Conversation

Yleisnero
Copy link
Contributor

Some LLMs struggle to generate valid jsons (e.g. mistral-7b-instruct). See also #743.
However, often, the problem is only that the closing bracket is missing. Adding the bracket helps using custom LLMs.

Copy link

vercel bot commented Jun 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
evals-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2024 2:00pm

@penguine-ip
Copy link
Contributor

@Yleisnero Didn't know this was the case, thanks!

@penguine-ip penguine-ip merged commit f669706 into confident-ai:main Jun 7, 2024
4 of 5 checks 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