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
File size: 793 Bytes
b338f08 e3b3971 b338f08 e3b3971 b338f08 e3b3971 b338f08 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | {
"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
}
} |