Flair: Regarding the Hunflair Multi Tagger for NER

Created on 11 Nov 2020  路  5Comments  路  Source: flairNLP/flair

Hi, I would like to know how the Hunflair Multi Tagger was trained.

Were the five district models used for the tagging of a sentence when the Multi Tagger was loaded? Or the Multi Tagger is just one single model?

question wontfix

Most helpful comment

You are totally right - such phenomena can occur. We don't provide a fixed strategy to resolve resp. handle such conflicts / ambiguity and the users are able to choose their own approach. The MultiTagger returns all predicted spans of all five models and doesn't check (or remove) overlapping spans. However, overlaps should (hopefully) only occur rarely.

All 5 comments

Hi @tahmedge !

Indeed, the HunFlair MultiTagger actually consists of five different models, i.e. a distinct NER model for each entity type. So the MultiTagger is merely a wrapper which allows you to conveniently run predictions with these five models using a single method call. For details of the training procedure please refer to our paper:

https://arxiv.org/abs/2008.07347

Don't hestitate to contact us if you have any questions.

Best,
Mario

Thanks for your reply. I have another query, since the NER tagger is not 100% accurate, how did Hunflair tackle the conflict if the same token/entity is tagged by multiple taggers. Suppose, token T in Sentence S is tagged by both Gene and Disease taggers.

You are totally right - such phenomena can occur. We don't provide a fixed strategy to resolve resp. handle such conflicts / ambiguity and the users are able to choose their own approach. The MultiTagger returns all predicted spans of all five models and doesn't check (or remove) overlapping spans. However, overlaps should (hopefully) only occur rarely.

Thanks a lot for the clarification.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

isanvicente picture isanvicente  路  3Comments

jannenev picture jannenev  路  3Comments

aschmu picture aschmu  路  3Comments

frtacoa picture frtacoa  路  3Comments

jewl123 picture jewl123  路  3Comments