Closed cecilialee closed 8 months ago
Hi @cecilialee - unfortunately, TorchText is no longer actively maintained by PyTorch.
For NLP model implementations, data transforms, and datasets, I recommend HuggingFace's Transformers, Tokenizers, and Datasets libraries.
❓ Questions and Help
Description
I failed to import torchtext with the following error. I tried it with a fresh conda env install (under a different python version) and still got the same issue.
Originally I was able to use torchtext (I remember installed from pip) in an env of python 3.11, but then it raised error with the dataset module, so I updated torchtext with pip and started getting kernel crush for pytorch import. So I did some uninstall and install of the pytorch and torchtext packages from different sources (conda or pip) and couldn't fix the issue. Even a new conda env using python 3.10 raised the same error. I don't know what is messed up.