AI SeedbankHelp preserve open and free AI for humanity's future

← All models

flair_ner-english-fast

flair · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


tags:

  • flair
  • token-classification
  • sequence-tagger-model language: en datasets:
  • conll2003 widget:
  • text: "George Washington went to Washington"

English NER in Flair (fast model)

This is the fast 4-class NER model for English that ships with Flair.

F1-Score: 92,92 (corrected CoNLL-03)

Predicts 4 tags:

tag meaning
PER person name
LOC location name
ORG organization name
MISC other name

Based on Flair embeddings and LSTM-CRF.


Demo: How to use in Flair

Requires: Flair (pip install flair)

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

# load tagger
tagger = SequenceTagger.load("flair/ner-english-fast")

# make example sentence
sentence = Sentence("George Washington went to Washington")

# predict NER tags
tagger.predict(sentence)

# print sentence
print(sentence)

# print predicted NER spans
print('The following NER tags are found:')
# iterate over entities and print
for entity in sentence.get_spans('ner'):
    print(entity)

This yields the following output:

Span [1,2]: "George Washington"   [− Labels: PER (0.9515)]
Span [5]: "Washington"   [− Labels: LOC (0.992)]

So, the entities "George Washington" (labeled as a person) and "Washington" (labeled as a location) are found in the sentence "George Washington went to Washington".


Training: Script to train this model

The following Flair script was used to train this model:

from flair.data import Corpus
from flair.datasets import CONLL_03
from flair.embeddings import WordEmbeddings, StackedEmbeddings, FlairEmbeddings

# 1. get the corpus
corpus: Corpus = CONLL_03()

# 2. what tag do we want to predict?
tag_type = 'ner'

# 3. make the tag dictionary from the corpus
tag_dictionary = corpus.make_tag_dictionary(tag_type=tag_type)

# 4. initialize each embedding we use
embedding_types = [

    # GloVe embeddings
    WordEmbeddings('glove'),

    # contextual string embeddings, forward
    FlairEmbeddings('news-forward-fast'),

    # contextual string embeddings, backward
    FlairEmbeddings('news-backward-fast'),
]

# embedding stack consists of Flair and GloVe embeddings
embeddings = StackedEmbeddings(embeddings=embedding_types)

# 5. initialize sequence tagger
from flair.models import SequenceTagger

tagger = SequenceTagger(hidden_size=256,
                        embeddings=embeddings,
                        tag_dictionary=tag_dictionary,
                        tag_type=tag_type)

# 6. initialize trainer
from flair.trainers import ModelTrainer

trainer = ModelTrainer(tagger, corpus)

# 7. run training
trainer.train('resources/taggers/ner-english',
              train_with_dev=True,
              max_epochs=150)

Cite

Please cite the following paper when using this model.

@inproceedings{akbik2018coling,
  title={Contextual String Embeddings for Sequence Labeling},
  author={Akbik, Alan and Blythe, Duncan and Vollgraf, Roland},
  booktitle = {{COLING} 2018, 27th International Conference on Computational Linguistics},
  pages     = {1638--1649},
  year      = {2018}
}

Issues?

The Flair issue tracker is available here.

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:384cb3174f36403b704357c2c0db8b1888ee63a2&dn=flair_ner-english-fast

Open magnet in torrent client · infohash 384cb3174f36403b704357c2c0db8b1888ee63a2

Files & hashes

PathSizesha1sha256
README.md3.4 KB (3,497 B)ad8e54fac42e3f36e37e71a5bb3b34971c9311a61c39d5b53c21556e2890ba29c4b7bb2cb0ffffd96ffd1bddc2b9d41a063e65d3
loss.tsv6.0 KB (6,155 B)a1a53089bc1be55ff2986d167a115d7b33c50d1c73ba45f9b390dc700ad8cdc696544ec711bdad55b2bb1640d25090491b9284f4
pytorch_model.bin232.3 MB (243,635,891 B)970a89378bb15c09dc4beaee0616b64385e9d7708bffb84aff534e2b122704a66f2d8522f3df3ab465cc961e6bbd988ce7e354c3
training.log209.0 KB (214,017 B)db24e5e339a2e3f5920f1df98f242a1998d007584100fb896f08fcf021a177746adfc4f13a951d0525049f5600188640a024e019

Cite this release

Canonical URL
https://aiseedbank.org/models/flair_ner-english-fast/
Slug
flair_ner-english-fast
Infohash
384cb3174f36403b704357c2c0db8b1888ee63a2
License
no license recorded
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: flair_ner-english-fast.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryflair/ner-english-fast
Revision (pinned)f75577be7dbb6f47ea7681664560349e870aef18
Fetched at2026-09-03T23:02:49Z
License at fetchno license recorded
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-03T23:02:54Z

no license recorded232.6 MB (243,859,560 bytes)flairpytorchtoken-classificationsequence-tagger-model1 language (en)