Instructions to use urchade/gliner_multi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use urchade/gliner_multi with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("urchade/gliner_multi") text = "Cristiano Ronaldo dos Santos Aveiro was born on 5 February 1985 in Funchal, Madeira, Portugal." labels = ["person", "date", "location"] entities = model.predict_entities(text, labels) for entity in entities: print(entity["text"], "=>", entity["label"]) - Notebooks
- Google Colab
- Kaggle
ONNX Version
#12
by andreclaudino - opened
GliNer is amazing, and GliNer python package really helps, but I would like to run it on a big data heavy consumed production environment with low resource, for that I would like to use Rust with ONNX. Is there a a ONNX version of this model? Does anyone have already converted that?
There is no onnx version currently. But there have been some discussion on GitHub: https://github.com/urchade/GLiNER/issues/34