Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
Signed-off-by: Kartik Choudhary <[email protected]>
  • Loading branch information
kartikc727 committed Feb 1, 2024
2 parents c67144a + 874857a commit 7bb79c7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
get_text_columns)
from responsibleai_text.utils.genai_metrics.metrics import \
get_genai_metric_mean
from responsibleai_text.utils.genai_metrics.metrics import \
get_genai_metric_mean

module_logger = logging.getLogger(__name__)
module_logger.setLevel(logging.INFO)
Expand Down Expand Up @@ -154,9 +156,9 @@ def __init__(self, model: Any, test: pd.DataFrame,
If not provided, and there is additional feature metadata, then
an exception will be raised.
:type text_column: str or list[str]
:param eval_model: The model to use for evaluation.
If not provided, then the model passed in the model parameter
will be used.
:param eval_model: The model to use for evaluation with AI-assisted
metrics. If not provided, then the model passed in the model
parameter will be used.
:type eval_model: object
"""
# drop index as this can cause issues later like when copying
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright (c) Microsoft Corporation
# Licensed under the MIT License.

"""Contains the GenAI metrics."""
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright (c) Microsoft Corporation
# Licensed under the MIT License.

"""Contains the implementation of various metrics for GenAI."""

0 comments on commit 7bb79c7

Please sign in to comment.