Zero-Shot Classification
GLiNER2
Safetensors
English
Russian
extractor
safety
pii
ai-security
zero-shot
text-classification
span-categorization
token-classification
guardrails
Instructions to use hivetrace/gliner-guard-uniencoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use hivetrace/gliner-guard-uniencoder with GLiNER2:
from gliner2 import GLiNER2 model = GLiNER2.from_pretrained("hivetrace/gliner-guard-uniencoder") # 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
28ad4b9 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:466769eb09737e6d71f321d2520850995751a0607c079cfe0dc0787575e6c465
size 587785452
|