Token Classification
GLiNER
ONNX
Safetensors
NER
GLiNER
information extraction
encoder
entity recognition
Instructions to use knowledgator/gliner-x-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use knowledgator/gliner-x-small with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("knowledgator/gliner-x-small") text = "Cristiano Ronaldo dos Santos Aveiro was born on 5 February 1985 in Funchal, Madeira, Portugal." labels = ["person", "date", "location"] entities = model.predict_entities(text, labels) for entity in entities: print(entity["text"], "=>", entity["label"]) - Notebooks
- Google Colab
- Kaggle
convert to safetensors
Browse files
pytorch_model.bin → model.bf16.safetensors
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28774652f7abd9f181240c612bd22f684dc5dc2414d772f3d87e7aca978f8a3b
|
| 3 |
+
size 600365888
|
model.fp16.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:59c10cc98e311d675729f0a7d608f8cfd0370b1188b5b8ce11990c1be0221fbd
|
| 3 |
+
size 600365784
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e76d96c92b1ab012c1db4ce675e0dca5ebea589d4350e844fe3496e643c3e68
|
| 3 |
+
size 1200717568
|