Instructions to use ai4data/gliner_datause with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use ai4data/gliner_datause with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("ai4data/gliner_datause") - Notebooks
- Google Colab
- Kaggle
File size: 2,094 Bytes
6f10eaa | 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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | {
"labels": [
"NAMED_DATA",
"DESCRIPTIVE_DATA",
"VAGUE_DATA"
],
"rows": [
{
"thr": 0.1,
"tp": 12275,
"fp": 8853,
"fn": 289,
"precision": 0.5809825823551685,
"recall": 0.9769977714103789,
"f05": 0.6322365981293008,
"f1": 0.7286596224623055
},
{
"thr": 0.2,
"tp": 12153,
"fp": 6445,
"fn": 411,
"precision": 0.6534573610065598,
"recall": 0.9672874880611271,
"f05": 0.6988016928101568,
"f1": 0.7799884474680701
},
{
"thr": 0.3,
"tp": 12013,
"fp": 5218,
"fn": 551,
"precision": 0.6971736985665371,
"recall": 0.9561445399554283,
"f05": 0.7371023954447281,
"f1": 0.8063769088773284
},
{
"thr": 0.4,
"tp": 11844,
"fp": 4143,
"fn": 720,
"precision": 0.74085194220304,
"recall": 0.9426934097421203,
"f05": 0.7739962358845672,
"f1": 0.8296732163496902
},
{
"thr": 0.5,
"tp": 11489,
"fp": 3002,
"fn": 1075,
"precision": 0.7928369332689256,
"recall": 0.9144380770455269,
"f05": 0.8144992059891107,
"f1": 0.849306967288856
},
{
"thr": 0.6,
"tp": 10542,
"fp": 1935,
"fn": 2022,
"precision": 0.8449146429430151,
"recall": 0.8390639923591213,
"f05": 0.8437379946215905,
"f1": 0.8419791541871331
},
{
"thr": 0.7,
"tp": 8396,
"fp": 940,
"fn": 4168,
"precision": 0.8993144815766924,
"recall": 0.6682585163960522,
"f05": 0.8411477117896929,
"f1": 0.7667579908675798
}
],
"best_f05": {
"thr": 0.6,
"tp": 10542,
"fp": 1935,
"fn": 2022,
"precision": 0.8449146429430151,
"recall": 0.8390639923591213,
"f05": 0.8437379946215905,
"f1": 0.8419791541871331
},
"best_f1": {
"thr": 0.5,
"tp": 11489,
"fp": 3002,
"fn": 1075,
"precision": 0.7928369332689256,
"recall": 0.9144380770455269,
"f05": 0.8144992059891107,
"f1": 0.849306967288856
}
} |