pbloem / former

Simple transformer implementation from scratch in pytorch.
http://peterbloem.nl/blog/transformers
MIT License
1.04k stars 171 forks source link

data.Field no longer supported in torchtext #20

Closed jvdburgt closed 3 years ago

jvdburgt commented 3 years ago

line 11 in classify.py should be changed to: "from torchtext.legacy import data, datasets, vocab"

pbloem commented 3 years ago

Fixed.