nlp_intro

12. History of NN architectures in NLP: CNNs, LSTMs

Explanations, formulas, visualisations:

 

RNNs

Simple RNN

Source: Understanding LSTM Networks

 

LSTMs are gated RNNs

LSTM

Source: Understanding LSTM Networks

 

CNNs as feature extractors

CNNs_memo

Source: A Primer on Neural Network Models for Natural Language Processing

 

NLP tasks: token level vs. sentence level