Instructions to use mortsn/handler-gliner2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use mortsn/handler-gliner2 with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("mortsn/handler-gliner2") # Extract entities text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday." result = extractor.extract_entities(text, ["company", "person", "product", "location"]) print(result) - Notebooks
- Google Colab
- Kaggle
Download classifier.onnx from mortsn/handler-gliner2: direct link, hf CLI and curl.
- Browser
- Download file 4.73 MB
-
https://huggingface.co/mortsn/handler-gliner2/resolve/main/classifier.onnx
- Command line
-
hf download hf://mortsn/handler-gliner2/classifier.onnx
-
curl -L -o classifier.onnx https://huggingface.co/mortsn/handler-gliner2/resolve/main/classifier.onnx
4.73 MB
- Xet hash:
- 920ba56acd91e1ec90d0bd9cb1c617862435fcee9ede142c95165db51686826e
- Size of remote file:
- 4.73 MB
- SHA256:
- 30e895013271a1cf6524331922ec6efc06ec83e7570af0b2deca5b782b280958
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.