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: 132 Bytes
accb959 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:30e895013271a1cf6524331922ec6efc06ec83e7570af0b2deca5b782b280958
size 4731781
|