Skip to content

Commit

Permalink
Remove inaccurate comment about Dataset loading
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 463611633
  • Loading branch information
iftenney authored and LIT team committed Jul 27, 2022
1 parent 4c93b62 commit 3e8735b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lit_nlp/api/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,7 @@ def __getitem__(self, slice_obj):


class Dataset(object):
"""Base class for LIT datasets.
We recommend pre-loading the data in the constructor, but you can also stream
on the fly in Dataset.examples() if desired.
"""
"""Base class for LIT datasets."""

_spec: Spec = {}
_examples: List[JsonDict] = []
Expand Down

0 comments on commit 3e8735b

Please sign in to comment.