Basic Utilities for PyTorch Natural Language Processing (NLP)
...Wrap any code that's random, with fork_rng and you'll be good to go. Now that you've computed your vocabulary, you may want to make use of pre-trained word vectors to set your embeddings.