From a240370bad69c071018951b25e7a6fdca4de9855 Mon Sep 17 00:00:00 2001 From: Yifan Mai Date: Fri, 24 Jan 2025 11:24:09 -0800 Subject: [PATCH] Fixes --- src/helm/benchmark/run_specs/enterprise_run_specs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/helm/benchmark/run_specs/enterprise_run_specs.py b/src/helm/benchmark/run_specs/enterprise_run_specs.py index 006e72cc8d..9dd01b2443 100644 --- a/src/helm/benchmark/run_specs/enterprise_run_specs.py +++ b/src/helm/benchmark/run_specs/enterprise_run_specs.py @@ -92,7 +92,8 @@ def get_legal_opinion_sentiment_classification_spec() -> RunSpec: name="legal_opinion_sentiment_classification", scenario_spec=scenario_spec, adapter_spec=adapter_spec, - metric_specs=get_exact_match_metric_specs() + _get_weighted_classification_metric_specs(labels=["positive", "neutral", "negative"]), + metric_specs=get_exact_match_metric_specs() + + _get_weighted_classification_metric_specs(labels=["positive", "neutral", "negative"]), groups=["legal_opinion_sentiment_classification"], )