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

Fix accuracy and bugs #945

Merged
merged 36 commits into from
Jan 16, 2024
Merged

Fix accuracy and bugs #945

merged 36 commits into from
Jan 16, 2024

Conversation

Prikshit7766
Copy link
Contributor

@Prikshit7766 Prikshit7766 commented Dec 27, 2023

Description


llm_eval

  • we employ a more robust Language Model (LLM) to evaluate the model’s response. Test is passed if the score is higher than the configured min score.

supported tasks: question_answering

Config

llm_eval:
    hub: openai
    min_score: 0.75
    model: gpt-3.5-turbo-instruct
  • min_score (float): Minimum score to pass the test.
  • model (string): LLM model use to evaluate the model reponse.
  • hub (string): Hub (library) for loading model from public models hub or from path

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Usage

Checklist:

  • I've added Google style docstrings to my code.
  • I've used pydantic for typing when/where necessary.
  • I have linted my code
  • I have added tests to cover my changes.

Screenshots (if appropriate):

@Prikshit7766 Prikshit7766 marked this pull request as draft December 27, 2023 09:28
@ArshaanNazir ArshaanNazir self-requested a review January 16, 2024 09:13
@ArshaanNazir ArshaanNazir marked this pull request as ready for review January 16, 2024 09:14
@ArshaanNazir ArshaanNazir merged commit 1cb7ea1 into release/2.0.0 Jan 16, 2024
3 checks passed
@ArshaanNazir ArshaanNazir deleted the Fix-accuracy-and-bugs branch February 13, 2024 16:27
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.

None yet

3 participants