pytorch-original-transformer icon indicating copy to clipboard operation
pytorch-original-transformer copied to clipboard

torchtext.data import not working in the latest versions of pytorch.

Open shreyashkar-ml opened this issue 1 year ago • 0 comments

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?

shreyashkar-ml avatar Jan 15 '24 07:01 shreyashkar-ml