How to build a gated convolutional neural network (GCNN) from scratch, with Pytorch implementation — Recurrent neural networks (RNNs) with LSTM or GRU units are the go-to tools for NLP researchers, and provide state-of-the-art results on many different NLP tasks, including language modeling (LM), neural machine translation (NMT), sentiment analysis, and so on. However, a major drawback of RNNs is that they are notoriously slow…