Instructions to use rafmacalaba/gliner-datause-displacement with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use rafmacalaba/gliner-datause-displacement with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("rafmacalaba/gliner-datause-displacement") 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
Download checkpoint_selection.json from rafmacalaba/gliner-datause-displacement: direct link, hf CLI and curl.
- Browser
- Download file 884 Bytes
-
https://huggingface.co/rafmacalaba/gliner-datause-displacement/resolve/main/checkpoint_selection.json
- Command line
-
hf download hf://rafmacalaba/gliner-datause-displacement/checkpoint_selection.json
-
curl -L -o checkpoint_selection.json https://huggingface.co/rafmacalaba/gliner-datause-displacement/resolve/main/checkpoint_selection.json
884 Bytes
| { | |
| "metric": "val span-F0.5 (jaccard 0.5, Hungarian)", | |
| "results": [ | |
| { | |
| "checkpoint": "checkpoint-839", | |
| "thr": 0.6, | |
| "f05": 0.6693 | |
| }, | |
| { | |
| "checkpoint": "checkpoint-1678", | |
| "thr": 0.6, | |
| "f05": 0.7123 | |
| }, | |
| { | |
| "checkpoint": "checkpoint-2517", | |
| "thr": 0.7, | |
| "f05": 0.7321 | |
| }, | |
| { | |
| "checkpoint": "checkpoint-3356", | |
| "thr": 0.7, | |
| "f05": 0.7206 | |
| }, | |
| { | |
| "checkpoint": "checkpoint-4195", | |
| "thr": 0.7, | |
| "f05": 0.7122 | |
| }, | |
| { | |
| "checkpoint": "checkpoint-5034", | |
| "thr": 0.7, | |
| "f05": 0.7099 | |
| }, | |
| { | |
| "checkpoint": "checkpoint-5873", | |
| "thr": 0.7, | |
| "f05": 0.7175 | |
| }, | |
| { | |
| "checkpoint": "checkpoint-6712", | |
| "thr": 0.7, | |
| "f05": 0.7149 | |
| } | |
| ], | |
| "winner": { | |
| "checkpoint": "checkpoint-2517", | |
| "thr": 0.7, | |
| "f05": 0.7321 | |
| } | |
| } |