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

Display model response for accuracy #958

Merged
merged 9 commits into from
Jan 22, 2024

Conversation

Prikshit7766
Copy link
Contributor

@Prikshit7766 Prikshit7766 commented Jan 15, 2024

Description

Previously we were not able to see the model response for Fairness and Accuracy, and we calculate the score in the generated_results , without knowing the model response, which leads to confusion.

The aim of this Pull request is to allow user to see in the model repones for Fairness and Accuracy.


➤ Fixes # (issue)

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

harness.model_response(category="accuracy")

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):

QA

image

ner

image

text-classification

image

summarization

image

@Prikshit7766 Prikshit7766 changed the title Display model response Display model response for accuracy Jan 15, 2024
@Prikshit7766 Prikshit7766 changed the base branch from Fix-accuracy-and-bugs to release/2.0.0 January 16, 2024 09:42
@Prikshit7766 Prikshit7766 linked an issue Jan 18, 2024 that may be closed by this pull request
@ArshaanNazir ArshaanNazir merged commit 8787ef6 into release/2.0.0 Jan 22, 2024
3 checks passed
@ArshaanNazir ArshaanNazir deleted the display-model-response branch February 13, 2024 16:26
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.

Fix accuracy tests for Benchmark Datasets
2 participants