Option to add prompt context to each label
Closed this issue · 3 comments
koaning commented
This might be a 'future work'-thing. But might it be possible to have a version where I am able to add a sentence or two to each label? Something that allows me to explain what the label is supposed to mean? In all of my other prompting work I have noticed that this can really make a huge difference.
urchade commented
Hi @koaning, a new gliner version has been recently released. It should understand more detailled instruction. There is a demo on hugging face by @Ingvarstep : https://huggingface.co/spaces/knowledgator/GLiNER_HandyLab
urchade commented
you can load the model using the gliner library: knowledgator/gliner-multitask-large-v0.5