Token Classification
GLiNER
ONNX
Safetensors
NER
GLiNER
information extraction
encoder
entity recognition
Instructions to use knowledgator/gliner-x-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use knowledgator/gliner-x-small with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("knowledgator/gliner-x-small") 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
File size: 132 Bytes
d81a4b5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ef78f86560d809067d12bac6c09f19a462cb3af3f54d2b8acbba26e1433125d6
size 4309802
|