Other embeddings in Flair
In this chapter, we covered most of the embedding types and techniques responsible for Flair's state-of-the art performance, though there are still many other embedding types left unexplained in this book.
These include the following:
ELMoEmbeddings
: Contextualized embeddings using a bidirectional LSTMOneHotEmbeddings
: Embeddings where each word is a one-hot vectorBytePairEmbeddings
: Embeddings precomputed on the subword-levelTransformerWordEmbeddings
: Embeddings using transformer-based architecturesCharacterEmbeddings
: Character-level embeddings that are randomly set each time you initialize the class
While the inner workings of these embeddings exceed the scope of this book, even without fully understanding how they work, you should now be able to use them the same way you use any other embedding object in Flair as they all share the same interface.