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

Validation/Correction NB #212

Merged
merged 3 commits into from
Aug 16, 2024
Merged

Validation/Correction NB #212

merged 3 commits into from
Aug 16, 2024

Conversation

wendy-aw
Copy link
Contributor

Added notebook that helps with validation and correction of invalid/inaccurate SQL and instructions in our evals.

It can be used for the following purposes:

  • Check that all the SQL in a sql-eval/data .csv file are valid and do not produce empty results
  • Correct any invalid SQL with the help of an LLM
  • Correct any inaccurate SQL you’ve discovered that doesn’t answer the question with the help of an LLM
  • Translate just the instructions column in the csv file. Useful for when there are modifications made to the instructions_to_{dialect} functions.
  • Inspect the instructions column to check that translation is accurate

Copy link
Member

@rishsriv rishsriv left a comment

Choose a reason for hiding this comment

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

Oh neat!! Thank you – this saves so much time :D

@rishsriv rishsriv merged commit a575d45 into main Aug 16, 2024
2 checks passed
@rishsriv rishsriv deleted the wendy/helper_nb branch August 16, 2024 06:16
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