Unverified Commit 26f0233f authored by Leo Gao's avatar Leo Gao Committed by GitHub
Browse files

Merge pull request #259 from jon-tow/headqa-ux

Update `headqa` deprecation warning to display on init only
parents 1c52e917 03c15e06
...@@ -37,4 +37,6 @@ class HeadQAEs(HeadQABase): ...@@ -37,4 +37,6 @@ class HeadQAEs(HeadQABase):
class HeadQAEsDeprecated(HeadQABase): class HeadQAEsDeprecated(HeadQABase):
DATASET_NAME = "es" DATASET_NAME = "es"
def __init__(self):
super().__init__()
print("WARNING: headqa is deprecated. Please use headqa_es or headqa_en instead. See https://github.com/EleutherAI/lm-evaluation-harness/pull/240 for more info.") print("WARNING: headqa is deprecated. Please use headqa_es or headqa_en instead. See https://github.com/EleutherAI/lm-evaluation-harness/pull/240 for more info.")
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment