flair icon indicating copy to clipboard operation
flair copied to clipboard

Flair unable to detect dates of any format on custom dataset

Open Newlearner012 opened this issue 2 years ago • 2 comments

I'm working on training an ner model on custom dataset. I've tried training the model following the steps mentioned in this link. BytePairEmbeddings was used to train the model.

My dataset has date formats of all kinds along with other ner tags. It so happens that the flair's performance on validation data isn't very bad. In the test data, it isn't able to pick any of the dates from text

Below is an example for a random data containing date. image

Kindly advice on what could be done in this regard

Newlearner012 avatar Apr 22 '22 16:04 Newlearner012

Hey @Newlearner012 For dates I would consider using the regex tagger crafting a few regexes should be usefull to cover 99% of cases

helpmefindaname avatar Apr 23 '22 19:04 helpmefindaname

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.

stale[bot] avatar Sep 09 '22 02:09 stale[bot]