flair.models#

EntityMentionLinker

Entity linking model for the biomedical domain.

FewshotClassifier

LanguageModel

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

Lemmatizer

MultitaskModel

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

PrefixedSequenceTagger

RegexpTagger

RelationClassifier

Relation Classifier to predict the relation between two entities.

RelationExtractor

SequenceTagger

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

SpanClassifier

Entity Linking Model.

TARSClassifier

TARS model for text classification.

TARSTagger

TARS model for sequence tagging.

TextClassifier

Text Classification Model.

TextPairClassifier

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

TextPairRegressor

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

TextRegressor

TextTripleClassifier

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

TokenClassifier

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

WordTagger