bentrevett/pytorch-seq2seq

how to use BPTTIterator for Language Modeling

StephennFernandes opened this issue · 0 comments

Hey Ben this isn't an issue with your code.
It's just a simple beginner in PyTorch NLP asking you out on how to use the nightly torchtext .

I have a huge raw corpus.txt file, and I want to implement a simple LSTM based language model using lstm.

As the new torchtext nightly is quite intimidating and I've found literally no tutorials on building a simple language model in pytorch.
it would be really great if you could make a repo or the least of all show me how to use the BPTTIterator class to build a LM using torchtext.

you efforts are highly appreciated. Thanks