Token Classification
GLiNER2
Safetensors
English
extractor
information-extraction
named-entity-recognition
relation-extraction
event-extraction
text-classification
Instructions to use whr778/gliner2-base-v1-docee with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use whr778/gliner2-base-v1-docee with GLiNER2:
from gliner2 import GLiNER2 model = GLiNER2.from_pretrained("whr778/gliner2-base-v1-docee") # 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!