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 encoder_fp16.onnx from mortsn/handler-gliner2: direct link, hf CLI and curl.
- Browser
- Download file 369 MB
-
https://huggingface.co/mortsn/handler-gliner2/resolve/main/encoder_fp16.onnx
- Command line
-
hf download hf://mortsn/handler-gliner2/encoder_fp16.onnx
-
curl -L -o encoder_fp16.onnx https://huggingface.co/mortsn/handler-gliner2/resolve/main/encoder_fp16.onnx
369 MB
- Xet hash:
- 552c5d7c08220a1dce06becd396b517aff786a49b035b37f9480a36a1f14312f
- Size of remote file:
- 369 MB
- SHA256:
- ecd3dd17e2d3b0b18174036bbcbb5ebcd445b6c0c47cb00eb823a22be944a13a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.