torchtext.data import not working in the latest versions of pytorch.
shreyashkar-ml opened this issue · 0 comments
shreyashkar-ml commented
Data manipulation related imports
from torchtext.data import Dataset, BucketIterator, Field, Example
from torchtext.data.utils import interleave_keys
from torchtext import datasets
from torchtext.data import Example
imports under this are not working as the torchtext.data functions such as Dataset, BucketIterator, Field, Example are removed in the latest version of pytorch.
Would it be possible to migrate the pytorch-original-transformer code to the new veresion of pytorch-original-transformer?