Token Classification
GLiNER
ONNX
Safetensors
NER
GLiNER
information extraction
encoder
entity recognition
Instructions to use knowledgator/gliner-x-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use knowledgator/gliner-x-base with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("knowledgator/gliner-x-base") 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
Download image.png from knowledgator/gliner-x-base: direct link, hf CLI and curl.
- Browser
- Download file 39.7 kB
-
https://huggingface.co/knowledgator/gliner-x-base/resolve/main/image.png
- Command line
-
hf download hf://knowledgator/gliner-x-base/image.png
-
curl -L -o image.png https://huggingface.co/knowledgator/gliner-x-base/resolve/main/image.png
39.7 kB
