concept bi - LSTMs in category nlp

This is an excerpt from Manning's book Transfer Learning for Natural Language Processing.
ELMo, which stands for “Embeddings from Language Models” is arguably the most popular early pretrained language model associated with the ongoing NLP transfer learning revolution. It shares a lot of architectural similarities with SIMOn, also being composed of character-level CNNs followed by bi-LSTMs. This similarity makes a deeper dive into the architecture of ELMo a natural next step after the introduction of SIMOn in this chapter. As with SIMOn, we apply ELMo to an illustrative example problem, namely ”fake news” detection, to provide a practical context. A visualization of the ELMo architecture is shown, in the context of tabular column type classification, in Figure 4.2. Some similarities and differences between the two frameworks are immediately evident. We can see that both frameworks employ character-level CNNs and bi-LSTMs. However, while SIMOn has two context building stages with RNNs – one for characters in a sentence and another for sentences in a document – ELMo has a single stage, focusing on building context for words in the input document.