Skip to content
Merged
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: 2 additions & 2 deletions jiant/tasks/qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ def _process_sentence(self, sent):
)

def get_split_text(self, split: str):
return getattr(self, "%s_data" % split)
return getattr(self, "%s_data_text" % split)

@classmethod
def preprocess_qasrl_datum(cls, datum):
Expand Down Expand Up @@ -641,7 +641,7 @@ def _make_instance(example):
return instances

def get_split_text(self, split: str):
return getattr(self, "%s_data" % split)
return getattr(self, "%s_data_text" % split)

@classmethod
def load_tsv_dataset(cls, path, wiki_dict):
Expand Down