Unverified Commit 30c2fe23 authored by Leo Gao's avatar Leo Gao Committed by GitHub
Browse files

Remove extra space

There shouldn't be any spaces in the beginning of `text`, only `target`
parent 620c0d26
......@@ -128,7 +128,7 @@ class SciQ(MultipleChoiceTask):
return self.load_docs("data/sciq/SciQ dataset-2 3/test.json")
def doc_to_text(self, doc):
return " {}\n{}".format(doc["source"], doc["query"])
return "{}\n{}".format(doc["source"], doc["query"])
class EmrQA():
def load_docs(self, textfilename):
......
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