Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/helm/benchmark/run_specs/medhelm_run_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1273,7 +1273,9 @@ def get_pubmed_qa_spec() -> RunSpec:
name="pubmed_qa",
scenario_spec=scenario_spec,
adapter_spec=adapter_spec,
metric_specs=get_exact_match_metric_specs(),
metric_specs=get_basic_metric_specs(
["exact_match", "prefix_exact_match", "quasi_leave_articles_exact_match"]
),
groups=["pubmed_qa"],
)

Expand Down
7 changes: 6 additions & 1 deletion src/helm/benchmark/static/schema_medhelm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ metrics:
short_display_name: EM
description: Fraction of instances that the predicted output matches a correct reference up to light processing.
lower_is_better: false
- name: quasi_leave_articles_exact_match
display_name: Quasi-exact match
short_display_name: EM
description: Fraction of instances that the predicted output matches a correct reference up to light processing.
lower_is_better: false
- name: prefix_exact_match
display_name: Prefix exact match
short_display_name: PEM
Expand Down Expand Up @@ -995,7 +1000,7 @@ run_groups:
- efficiency
- general_information
environment:
main_name: exact_match
main_name: quasi_leave_articles_exact_match
main_split: test
taxonomy:
task: Question answering
Expand Down