flair.models#

EntityMentionLinker

Entity linking model for the biomedical domain.

SpanClassifier

Entity Linking Model.

LanguageModel

Container module with an encoder, a recurrent module, and a decoder.

Lemmatizer

TextPairClassifier

Text Pair Classification Model for tasks such as Recognizing Textual Entailment, build upon TextClassifier.

TextTripleClassifier

Text Triple Classification Model for tasks such as Query-Ad Matching, build upon TextPairClassifier.

TextPairRegressor

Text Pair Regression Model for tasks such as Semantic Textual Similarity Benchmark.

RelationClassifier

Relation Classifier to predict the relation between two entities.

RelationExtractor

RegexpTagger

SequenceTagger

The SequenceTagger is one of two main architectures in Flair used for sequence tagging.

PrefixedSequenceTagger

TokenClassifier

This is a simple class of models that tags individual words in text.

WordTagger

FewshotClassifier

TARSClassifier

TARS model for text classification.

TARSTagger

TARS model for sequence tagging.

TextClassifier

Text Classification Model.

TextRegressor

MultitaskModel

Multitask Model class which acts as wrapper for creating custom multitask models.