Instructions to use rafmacalaba/gliner-datause-probe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use rafmacalaba/gliner-datause-probe with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("rafmacalaba/gliner-datause-probe") 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-probe: direct link, hf CLI and curl.
- Browser
- Download file 793 Bytes
-
https://huggingface.co/rafmacalaba/gliner-datause-probe/resolve/main/checkpoint_selection.json
- Command line
-
hf download hf://rafmacalaba/gliner-datause-probe/checkpoint_selection.json
-
curl -L -o checkpoint_selection.json https://huggingface.co/rafmacalaba/gliner-datause-probe/resolve/main/checkpoint_selection.json
793 Bytes
| { | |
| "metric": "val span-F0.5 (jaccard 0.5, Hungarian)", | |
| "results": [ | |
| { | |
| "checkpoint": "checkpoint-4", | |
| "thr": 0.6, | |
| "f05": 0.3698 | |
| }, | |
| { | |
| "checkpoint": "checkpoint-16", | |
| "thr": 0.7, | |
| "f05": 0.5661 | |
| }, | |
| { | |
| "checkpoint": "checkpoint-4543", | |
| "thr": 0.7, | |
| "f05": 0.8455 | |
| }, | |
| { | |
| "checkpoint": "checkpoint-9086", | |
| "thr": 0.7, | |
| "f05": 0.8639 | |
| }, | |
| { | |
| "checkpoint": "checkpoint-13629", | |
| "thr": 0.7, | |
| "f05": 0.866 | |
| }, | |
| { | |
| "checkpoint": "checkpoint-18172", | |
| "thr": 0.7, | |
| "f05": 0.8691 | |
| }, | |
| { | |
| "checkpoint": "checkpoint-22715", | |
| "thr": 0.7, | |
| "f05": 0.8702 | |
| } | |
| ], | |
| "winner": { | |
| "checkpoint": "checkpoint-22715", | |
| "thr": 0.7, | |
| "f05": 0.8702 | |
| } | |
| } |