Run this model with HF Jobs

Run julien-c/flair-ner on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/julien-c/flair-ner. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/julien-c/flair-ner on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Flair NER model en-ner-conll03-v0.4.pt

Imported from https://nlp.informatik.hu-berlin.de/resources/models/ner/

Demo: How to use in Flair

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

sentence = Sentence(
    "My name is Julien, I currently live in Paris, I work at Hugging Face, Inc."
)

tagger = SequenceTagger.load("julien-c/flair-ner")


# predict NER tags
tagger.predict(sentence)

# print sentence with predicted tags
print(sentence.to_tagged_string())

yields the following output:

My name is Julien <S-PER> , I currently live in Paris <S-LOC> , I work at Hugging <B-LOC> Face <E-LOC> .

Thanks @stefan-it for the Flair integration ❤️ 🔥

Downloads last month
28
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train julien-c/flair-ner