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
Download gliner_config.json from agilelab-org/Contractner: direct link, hf CLI and curl.
- Browser
- Download file 3.53 kB
-
https://huggingface.co/agilelab-org/Contractner/resolve/main/gliner_config.json
- Command line
-
hf download hf://agilelab-org/Contractner/gliner_config.json
-
curl -L -o gliner_config.json https://huggingface.co/agilelab-org/Contractner/resolve/main/gliner_config.json
3.53 kB
- Xet hash:
- 1a723af76716bdccf5822688dc2294188e89e6b81905acf33d345e0871e819ae
- Size of remote file:
- 3.53 kB
- SHA256:
- fd3a79f99223d828e3ac90c3a8f015c343e61b6ded3e86f6271f9030384dc3cb
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.