Commit 9434722c authored by Jon Tow's avatar Jon Tow
Browse files

Fix docstring

parent 39c8c87f
......@@ -455,7 +455,7 @@ class Task(abc.ABC):
"""
Override this to process (detokenize, strip, replace, etc.) individual
documents. This can be used in a map over documents of a data split.
E.g. `map(self._process_doc, self.validation_docs)`
E.g. `map(self._process_doc, self.dataset["validation"])`
:return: dict
The processed version of the specified `doc`.
......
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