Traditionally recurrent neural networks and their variants have been used extensively for Natural Language Processing problems. In recent years, transformers have outperformed most RNN models. Before looking at transformers, let's revisit recurrent neural networks, how they work, and where they fall behind. There are different types of recurrent neural networks. When it comes to natural language processing RNNs, they work in an encoder-decoder architecture. Encoders will summarize all the information from the input sentence, and the decoder will use the encoder's output to create the right output.
Nov-13-2020, 17:50:08 GMT