JohnSnowLabs / langtest

Deliver safe & effective language models
http://langtest.org/
Apache License 2.0
490 stars 37 forks source link

Display model response for accuracy #958

Closed Prikshit7766 closed 7 months ago

Prikshit7766 commented 8 months ago

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.

Usage

harness.model_response(category="accuracy")

Checklist:

Screenshots (if appropriate):

QA

image

ner

image

text-classification

image

summarization

image