Span Mode token_level

#2
by Hommes - opened

I'm trying to run the relation extraction snippet and get the following error message:

ValueError: Unknown span mode token_level

Looking at the GLiNER issues it looks like the support for this span mode has only recently been added. So wondering if its just a matter of updating GLiNER package. Could I use another span mode, e.g. marker as well?

Knowledgator Engineering org

Hi, you can't use another span mode because its architecture is different from span-based models. Such architecture was introduced in the latest package updates. So, please try to update the package first. If you still have issues, let me know.

Thank you very much for your reply. Yeah I tried a different one and it gave rubbish. I will update and see how it goes again thanks for the work!

Knowledgator Engineering org

Thank you for testing our model!

Updating the package did indeed resolve the underlying issue

Sign up or log in to comment