GLiNER is a really great research work. But putting this kind of things in production is just another job. Not trying to do self promotion here, but there are alternatives for this purpose, like gline-rs (https://github.com/fbilhaut/gline-rs). Support of GLiNER 2 models is on the way.
No black, UV or ruff.
Prints messages with emojis to stdout by default.
Makes a connection to hugging face on every import.
https://github.com/fastino-ai/GLiNER2/pull/74
reply