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

Optimizing Metrics with BootstrapFewShot #1897

Open
Haknt opened this issue Dec 6, 2024 · 1 comment
Open

Optimizing Metrics with BootstrapFewShot #1897

Haknt opened this issue Dec 6, 2024 · 1 comment

Comments

@Haknt
Copy link
Contributor

Haknt commented Dec 6, 2024

I want to evaluate the grammatical accuracy of outputs.

Directly requesting scores gave poor results, so I switched to calculating scores based on the distance after grammar correction.

However, the grammar correction using Signature and Predict still isn’t performing well. To improve the Signature, I’ve prepared 10 examples and plan to use BootstrapFewShot. What inputs should I use when optimizing an existing metric with BootstrapFewShot? If so, what inputs would be suitable for this purpose?

@arnavsinghvi11
Copy link
Collaborator

Hi @Haknt , this BootstrapFewShot doc should help clarifying what inputs to use to optimize for your metric.

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

No branches or pull requests

2 participants