Instructions to use rafmacalaba/gliner-datause-catchall-singlepass with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use rafmacalaba/gliner-datause-catchall-singlepass with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("rafmacalaba/gliner-datause-catchall-singlepass") 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 thresholds.json from rafmacalaba/gliner-datause-catchall-singlepass: direct link, hf CLI and curl.
- Browser
- Download file 533 Bytes
-
https://huggingface.co/rafmacalaba/gliner-datause-catchall-singlepass/resolve/main/thresholds.json
- Command line
-
hf download hf://rafmacalaba/gliner-datause-catchall-singlepass/thresholds.json
-
curl -L -o thresholds.json https://huggingface.co/rafmacalaba/gliner-datause-catchall-singlepass/resolve/main/thresholds.json
533 Bytes
| { | |
| "global_best": { | |
| "thr": 0.5, | |
| "f1": 0.8467, | |
| "precision": 0.819, | |
| "recall": 0.8763 | |
| }, | |
| "per_origin": { | |
| "fcv_pads_east_africa": { | |
| "thr": 0.5, | |
| "f1": 0.8046 | |
| }, | |
| "general_prwp": { | |
| "thr": 0.4, | |
| "f1": 0.8796 | |
| }, | |
| "jad_paddy_docs": { | |
| "thr": 0.1, | |
| "f1": 0.9693 | |
| }, | |
| "jdc_operational": { | |
| "thr": 0.6, | |
| "f1": 0.8019 | |
| }, | |
| "refugee_pads": { | |
| "thr": 0.5, | |
| "f1": 0.8387 | |
| }, | |
| "reliefweb": { | |
| "thr": 0.4, | |
| "f1": 0.7738 | |
| } | |
| } | |
| } |