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

Update arithmetic.py

parent 612c69c3
...@@ -32,7 +32,7 @@ class Arithmetic(Task): ...@@ -32,7 +32,7 @@ class Arithmetic(Task):
self._docs = [self.load_doc(json.loads(line)) for line in jsons] self._docs = [self.load_doc(json.loads(line)) for line in jsons]
def has_training_docs(self): def has_training_docs(self):
return True return False
def has_validation_docs(self): def has_validation_docs(self):
return True return True
...@@ -41,10 +41,10 @@ class Arithmetic(Task): ...@@ -41,10 +41,10 @@ class Arithmetic(Task):
return False return False
def training_docs(self): def training_docs(self):
return self._docs return NotImplemented
def validation_docs(self): def validation_docs(self):
return self._docs[:100] return self._docs
def test_docs(self): def test_docs(self):
return NotImplemented return NotImplemented
......
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