Instructions to use kingkero/gliner2-multi-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use kingkero/gliner2-multi-v1 with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("kingkero/gliner2-multi-v1") - GLiNER2
How to use kingkero/gliner2-multi-v1 with GLiNER2:
from gliner2 import GLiNER2 model = GLiNER2.from_pretrained("kingkero/gliner2-multi-v1") # 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
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!