Force generation of present keywords?

#4
by radandreicristian - opened

Hello!

Is there a way to force the model to generate only present keywords? For what I've been testing so far, it seems to prefer absent keywords, but that is something I would like to avoid when possible.

Thanks!

Hello,

Thank you for your interest in this model.

If you only want to select keywords from the original data set, I would recommend one of the keyphrase extraction models that treats this task as span extraction. One such model is KBIR available here: https://huggingface.co/bloomberg/KBIR.

This model is related to KeyBART and was introduced in the same paper: https://aclanthology.org/2022.findings-naacl.67.pdf

Please let us know if you have further questions.

Sign up or log in to comment