flair.embeddings.token#

TransformerWordEmbeddings

StackedEmbeddings

A stack of embeddings, used if you need to combine several different embedding types.

WordEmbeddings

Standard static word embeddings, such as GloVe or FastText.

CharacterEmbeddings

Character embeddings of words, as proposed in Lample et al., 2016.

FlairEmbeddings

Contextual string embeddings of words, as proposed in Akbik et al., 2018.

PooledFlairEmbeddings

FastTextEmbeddings

FastText Embeddings with oov functionality.

OneHotEmbeddings

One-hot encoded embeddings.

HashEmbeddings

Standard embeddings with Hashing Trick.

MuseCrosslingualEmbeddings

BytePairEmbeddings

NILCEmbeddings