setfit icon indicating copy to clipboard operation
setfit copied to clipboard

Few-Shot Named Entity Recognition work

Open zhanghaok opened this issue 2 years ago • 3 comments

Hi, really like your work, have you considered using this framework for few-shot named entity recognition work? or do you have an example code for it, looking forward to the progress in few-shot named entity recognition!

zhanghaok avatar Sep 29 '22 09:09 zhanghaok

Hey @zhanghaok thanks for your interest! We haven't quite figured yet out how to apply SetFit in token classification tasks, but we will certainly add support to the library if we can make it work well :)

lewtun avatar Sep 29 '22 10:09 lewtun

Hey @zhanghaok thanks for your interest! We haven't quite figured yet out how to apply SetFit in token classification tasks, but we will certainly add support to the library if we can make it work well :)

Thanks for your reply, look forward to it being used in few-shot named entity recognition , come on!💪

zhanghaok avatar Sep 29 '22 13:09 zhanghaok

Hi all, I think it will be a great success to extend this to token-classification too. Have you thought about something along the lines of the followings:

  • Keybert (https://github.com/MaartenGr/KeyBERT)
  • TARS (https://github.com/flairNLP/flair/blob/master/resources/docs/TUTORIAL_10_TRAINING_ZERO_SHOT_MODEL.md) which is from FLAIR - Please see (Use Case 2: Zero-shot Named Entity Recognition (NER) with TARS - in the notebook)

I think specially something along the lines of KeyBert or TARS might already be something that is usable

@hooman650

hooman-bayer avatar Sep 30 '22 16:09 hooman-bayer