Instructions to use NeuML/gliner-bert-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use NeuML/gliner-bert-tiny with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("NeuML/gliner-bert-tiny") 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
Adding `safetensors` variant of this model
#1
by SFconvertbot - opened
- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b3fd04088926a0de304dd9f0b8166e1378dd3bdf78e8e85b475d99e716708fb7
|
| 3 |
+
size 37867904
|