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 AutoExtractor extractor = AutoExtractor.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
Commit ·
aeea347
1
Parent(s): 21ecf84
checkpoint: best
Browse files- best/model.safetensors +3 -0
best/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:add3d2a4e10db4af075e305480e21da297b05e1400d9f15b7aae7c4406a0e1b7
|
| 3 |
+
size 587785452
|