Instructions to use flair/ner-english with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Flair
How to use flair/ner-english with Flair:
from flair.data import Sentence from flair.models import SequenceTagger tagger = SequenceTagger.load("flair/ner-english") sentence = Sentence("George Washington went to Washington.") tagger.predict(sentence) print(sentence) - Notebooks
- Google Colab
- Kaggle
Download test.tsv from flair/ner-english: direct link, hf CLI and curl.
- Browser
- Download file 507 kB
-
https://huggingface.co/flair/ner-english/resolve/main/test.tsv
- Command line
-
hf download hf://flair/ner-english/test.tsv
-
curl -L -o test.tsv https://huggingface.co/flair/ner-english/resolve/main/test.tsv
507 kB
File too large to display, you can check the raw version instead.