February 2018
Intermediate to advanced
262 pages
6h 59m
English
The torchtext library abstracts away a lot of complexity involved in downloading the embeddings and mapping them to the right word. Torchtext provides three classes, namely GloVe, FastText, CharNGram, in the vocab module, that ease the process of downloading embeddings, and mapping them to our vocabulary. Each of these classes provides different embeddings trained on different datasets and using different techniques. Let's look at some of the different embeddings provided:
The build_vocab ...