Instructions to use urchade/gliner_medium-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use urchade/gliner_medium-v1 with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("urchade/gliner_medium-v1") 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
#4
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:cd5fb176c4425fd2fc26b9c4e038f13554bfcbf5f5ea3a419796b04c1f7dddeb
|
| 3 |
+
size 780735696
|