Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Latest commit

 

History

History
14 lines (11 loc) · 531 Bytes

torchnlp.datasets.rst

File metadata and controls

14 lines (11 loc) · 531 Bytes

torchnlp.datasets package

The torchnlp.datasets package introduces modules capable of downloading, caching and loading commonly used NLP datasets.

Modules return a torch.utils.data.Dataset object i.e, they have __getitem__ and __len__ methods implemented. Hence, they can all be passed to a torch.utils.data.DataLoader which can load multiple samples parallelly using torch.multiprocessing workers.

torchnlp.datasets