Token Classification
GLiNER
PyTorch
ONNX
English
multilingual
named-entity-recognition
information-extraction
legal
contracts
nlp
Instructions to use agilelab-org/Contractner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use agilelab-org/Contractner with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("agilelab-org/Contractner") 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: 135 Bytes
8a46f5b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:2175a73b2be700594661330dbaecb0a2a842aa4ef06e5863a2338d68cc2a0403
size 1155879495
|