Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanmai committed Jan 22, 2025
1 parent a74b31c commit cc14493
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/helm/benchmark/run_specs/enterprise_run_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
get_exact_match_metric_specs,
get_f1_metric_specs,
)
from helm.benchmark.metrics.metric import MetricSpec
from helm.benchmark.run_spec import RunSpec, run_spec_function
from helm.benchmark.scenarios.scenario import ScenarioSpec

Expand Down Expand Up @@ -68,10 +67,10 @@ def get_legal_contract_summarization_spec() -> RunSpec:
@run_spec_function("legal_opinion_sentiment_classification")
def get_legal_opinion_sentiment_classification_spec() -> RunSpec:
scenario_spec = ScenarioSpec(
class_name="helm.benchmark.scenarios.legal_opinion_sentiment_classification_scenario.LegalOpinionSentimentClassificationScenario",
class_name="helm.benchmark.scenarios.legal_opinion_sentiment_classification_scenario.LegalOpinionSentimentClassificationScenario", # noqa: E501
)

instructions = "Classify the sentences into one of the 3 sentiment categories. Possible labels: positive, neutral, negative." # noqa
instructions = "Classify the sentences into one of the 3 sentiment categories. Possible labels: positive, neutral, negative." # noqa: E501
adapter_spec = get_generation_adapter_spec(
instructions=instructions,
output_noun="Label",
Expand Down

0 comments on commit cc14493

Please sign in to comment.