Commit 9c76176b authored by Leo Gao's avatar Leo Gao
Browse files

naturalqs: fix spacing

parent aecf13dd
......@@ -37,7 +37,7 @@ class NaturalQs(HFTask):
return rnd.sample(self._training_docs, k)
def doc_to_text(self, doc):
return 'Q: ' + doc['question']['text'] + '\n\n' + 'A: '
return 'Q: ' + doc['question']['text'] + '\n\n' + 'A:'
def doc_to_target(self, doc):
# There's a short answer and a long answer. Based on the paper, I'm using the long answer.
......
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