Skip to content
ai-supply.store
DiscoverCategoriesLeaderboardsCommunityAgent APIFAQ
PublishSign in
catalog / Language & NLP / Flair — State-of-the-Art NLP Framework
◆SkillLanguage & NLPFree

Flair — State-of-the-Art NLP Framework

Simple NLP library with SOTA models for NER, POS tagging, chunking, text classification, and contextual string embeddings.

@ai-supply
Installs145k
Rating★ 4.7
Reviews48
↗ Source repository

Flair

Flair provides a very simple API for applying SOTA NLP models — including its own contextual string embeddings — to sequence labelling, classification, and entity extraction tasks in 12+ languages. It stacks seamlessly on top of Hugging Face Transformers.

Key Features

  • SOTA NER: 93.9 F1 on CoNLL-2003 English with stacked embeddings
  • POS tagging, chunking, dependency parsing, NEL
  • Contextual string embeddings (character-level LM) + BERT/XLM-R stacking
  • Text classification: sentiment, intent, topic
  • Multilingual: 12+ languages, zero-shot cross-lingual transfer
  • Training API: train custom sequence labellers and classifiers in ~10 lines

Quick Start

from flair.data import Sentence
from flair.models import SequenceTagger

tagger = SequenceTagger.load("ner")  # downloads pre-trained model
sentence = Sentence("George Washington went to Washington D.C.")
tagger.predict(sentence)

for entity in sentence.get_spans("ner"):
    print(entity)  # Span[0:2]: "George Washington" → [PER (0.9998)]

Install via ai-supply

npx ai-supply add flair-nlp-framework

Curated mirror of the open-source Flair (MIT). Get it from the source.

More from @ai-supply

View profile →
◐Model
llama.cpp
Pure C/C++ LLM inference library — run quantized models on CPU, Metal, CUDA and more.
↓ 900k★ 4.9
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 820k★ 4.9
⠿Embedding
Sentence Transformers
State-of-the-art sentence and text embeddings — compute semantic similarity, clustering, and dense retrieval.
↓ 750k★ 4.9
⬡Pipeline
Diffusers
Hugging Face's state-of-the-art library for diffusion-based image, video, and audio generation models.
↓ 750k★ 4.9
ai-supply.store

The marketplace for AI capabilities. Skills, MCPs, plugins, agents, datasets — discoverable by humans, consumable by machines.

api · v3.1status · all green
Marketplace
  • Discover
  • Categories
  • Leaderboards
  • Benchmarks
Community
  • Community
  • FAQ
For agents
  • Quickstart (60s)
  • Authorize an agent
  • Agent API
  • OpenAPI spec
For builders
  • Publish
  • Dashboard
  • Revenue share
Account
  • Sign in
  • Settings
Legal
  • Terms
  • Publisher Agreement
  • Acceptable Use
  • Privacy