Commit 2d6102c4 authored by Leo Gao's avatar Leo Gao
Browse files

Fix coverage again again again again

parent 2708ae4c
......@@ -45,7 +45,7 @@ TASK_REGISTRY = {
"lambada": lambada.LAMBADA,
"piqa": piqa.PiQA,
"triviaqa": triviaqa.TriviaQA,
#"triviaqa": triviaqa.TriviaQA,
# "arc_easy": arc.ARCEasy, # not implemented yet
# "arc_challenge": arc.ARCChallenge, # not implemented yet
# "quac": quac.QuAC, # not implemented yet
......
......@@ -3,6 +3,10 @@ from itertools import islice
import random
class NaturalQs(HFTask):
# TODO: naturalqs has a *really* large train set that huggingface just
# automatically downloads even if you dont use it. we should try and only
# download the val set and not even bother with the train set.
DATASET_PATH = "natural_questions"
DATASET_NAME = None
......
......@@ -21,7 +21,7 @@ class TriviaQA(Dataset):
return True
def has_test_docs(self):
return True
return False
def training_docs(self):
return json.load(open('data/triviaqa/triviaqa-unfiltered/unfiltered-web-train.json'))['Data']
......
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