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
File size: 134 Bytes
accb959 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ecd3dd17e2d3b0b18174036bbcbb5ebcd445b6c0c47cb00eb823a22be944a13a
size 368777251
|