I cannot reproduce the issue using the last supported torchtext==0.18 release and see:
(3, "Wall St. Bears Claw Back Into the Black (Reuters) Reuters - Short-sellers, Wall Street's dwindling\\band of ultra-cynics, are seeing green again.")
Thanks @ptrblck for the reply.
I running torchtext==0.6.0 on Macbook, which is installed by default when through conda install pytoruch::torchtext
I’ve tried to force install conda install pytorch::torchtext =0.18.0, but then when I run the above code I get this error AttributeError: module 'torchtext' has no attribute 'datasets'
I did import trochtext.datasets but then I got an error that torchdata is not installed. I did install it, to get the following error: ImportError: cannot import name 'DILL_AVAILABLE' from 'torch.utils.data.datapipes.utils.common'