Open premiitr opened 1 year ago
'Field' was moved to torchtext.legacy since torchtext 0.9.0 release and legacy retired from torchtext==0.12.0 onwards. Refer here https://github.com/pytorch/text/issues/664
@premiitr Field is deprecated. You can check one of my repo for the updated version of torchtext. Link: https://github.com/Kousik-Sasmal/experiment-with-pytorch-torchtext
I'm trying to import field module from torchtext 0.15.2 version But it is throwing "AttributeError: module 'torchtext.data' has no attribute 'Field'" Like this
Can anyone help me with this issue?
Thanks in Advance