MasteringPyTorchV2
MasteringPyTorchV2 copied to clipboard
chapter 5 transformer.ipynb not able to reproduce
Was reproducing the code on Colab but got the following error : ->tr_iter = PennTreebank(split='train') tkzer = get_tokenizer('basic_english')
done pip install portalocker
then got the following error:
Is there dependency issue here?
I get same issue. I think torchtext is pretty much abandoned at this point and it's going to be hard to get this to work. What I don't understand is how this can break even when loading the old versions of everything.
I ran into the same problem. Can anyone suggest other source of text we could use to make this work???