Commit af9766d1 authored by Stephen Hogg's avatar Stephen Hogg
Browse files

Remove incorrect comments

parent 894c0697
...@@ -108,7 +108,6 @@ class QASPER(HFTask): ...@@ -108,7 +108,6 @@ class QASPER(HFTask):
DATASET_NAME = None DATASET_NAME = None
def doc_to_text(self, doc): def doc_to_text(self, doc):
# this method is invoked by tests only
return ( return (
"TITLE: " "TITLE: "
+ doc["title"] + doc["title"]
...@@ -123,7 +122,6 @@ class QASPER(HFTask): ...@@ -123,7 +122,6 @@ class QASPER(HFTask):
) )
def doc_to_target(self, doc): def doc_to_target(self, doc):
# this method is invoked by tests only
answer = doc["answer"] answer = doc["answer"]
if isinstance(answer, list): if isinstance(answer, list):
answer = ", ".join(answer) answer = ", ".join(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