flair.embeddings.base.EMBEDDING_CLASSES#
- flair.embeddings.base.EMBEDDING_CLASSES: dict[str, type[Embeddings]] = {'BytePairEmbeddings': <class 'flair.embeddings.token.BytePairEmbeddings'>, 'CharacterEmbeddings': <class 'flair.embeddings.token.CharacterEmbeddings'>, 'ConvTransformNetworkImageEmbeddings': <class 'flair.embeddings.image.ConvTransformNetworkImageEmbeddings'>, 'DocumentCNNEmbeddings': <class 'flair.embeddings.document.DocumentCNNEmbeddings'>, 'DocumentLMEmbeddings': <class 'flair.embeddings.document.DocumentLMEmbeddings'>, 'DocumentPoolEmbeddings': <class 'flair.embeddings.document.DocumentPoolEmbeddings'>, 'DocumentRNNEmbeddings': <class 'flair.embeddings.document.DocumentRNNEmbeddings'>, 'DocumentTFIDFEmbeddings': <class 'flair.embeddings.document.DocumentTFIDFEmbeddings'>, 'FastTextEmbeddings': <class 'flair.embeddings.token.FastTextEmbeddings'>, 'FlairEmbeddings': <class 'flair.embeddings.token.FlairEmbeddings'>, 'HashEmbeddings': <class 'flair.embeddings.token.HashEmbeddings'>, 'IdentityImageEmbeddings': <class 'flair.embeddings.image.IdentityImageEmbeddings'>, 'MuseCrosslingualEmbeddings': <class 'flair.embeddings.token.MuseCrosslingualEmbeddings'>, 'NILCEmbeddings': <class 'flair.embeddings.token.NILCEmbeddings'>, 'NetworkImageEmbeddings': <class 'flair.embeddings.image.NetworkImageEmbeddings'>, 'OneHotEmbeddings': <class 'flair.embeddings.token.OneHotEmbeddings'>, 'PooledFlairEmbeddings': <class 'flair.embeddings.token.PooledFlairEmbeddings'>, 'PrecomputedImageEmbeddings': <class 'flair.embeddings.image.PrecomputedImageEmbeddings'>, 'SentenceTransformerDocumentEmbeddings': <class 'flair.embeddings.document.SentenceTransformerDocumentEmbeddings'>, 'StackedEmbeddings': <class 'flair.embeddings.token.StackedEmbeddings'>, 'TransformerDocumentEmbeddings': <class 'flair.embeddings.document.TransformerDocumentEmbeddings'>, 'TransformerEmbeddings': <class 'flair.embeddings.transformer.TransformerEmbeddings'>, 'TransformerJitDocumentEmbeddings': <class 'flair.embeddings.transformer.TransformerJitDocumentEmbeddings'>, 'TransformerJitEmbeddings': <class 'flair.embeddings.transformer.TransformerJitEmbeddings'>, 'TransformerJitWordEmbeddings': <class 'flair.embeddings.transformer.TransformerJitWordEmbeddings'>, 'TransformerOnnxDocumentEmbeddings': <class 'flair.embeddings.transformer.TransformerOnnxDocumentEmbeddings'>, 'TransformerOnnxEmbeddings': <class 'flair.embeddings.transformer.TransformerOnnxEmbeddings'>, 'TransformerOnnxWordEmbeddings': <class 'flair.embeddings.transformer.TransformerOnnxWordEmbeddings'>, 'TransformerWordEmbeddings': <class 'flair.embeddings.token.TransformerWordEmbeddings'>, 'WordEmbeddings': <class 'flair.embeddings.token.WordEmbeddings'>}#
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s
(key, value) pairs
- dict(iterable) -> new dictionary initialized as if via:
d = {} for k, v in iterable:
d[k] = v
- dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)