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
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -41,16 +41,16 @@ matching, jaccard >= 0.5 — identical to prior data-use-mentions evals.
|
|
| 41 |
|
| 42 |
| thr | tp | fp | fn | precision | recall | f0.5 | f1 | t3_leak | t3_leak% |
|
| 43 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
| 44 |
-
| 0.10 |
|
| 45 |
-
| 0.20 |
|
| 46 |
-
| 0.30 |
|
| 47 |
-
| 0.40 |
|
| 48 |
-
| 0.50 |
|
| 49 |
-
| 0.60 |
|
| 50 |
-
| 0.70 |
|
| 51 |
|
| 52 |
-
**Best F0.5**: 0.
|
| 53 |
-
**Best F1**: 0.
|
| 54 |
|
| 55 |
Full per-doc predictions (raw scores, gold spans with tier decisions): `holdout_predictions.jsonl` on this repo.
|
| 56 |
|
|
@@ -58,5 +58,5 @@ Full per-doc predictions (raw scores, gold spans with tier decisions): `holdout_
|
|
| 58 |
|
| 59 |
| corpus | examples | spans | thr | precision | recall | f0.5 | f1 |
|
| 60 |
| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
|
| 61 |
-
| prwp |
|
| 62 |
-
| fcv |
|
|
|
|
| 41 |
|
| 42 |
| thr | tp | fp | fn | precision | recall | f0.5 | f1 | t3_leak | t3_leak% |
|
| 43 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
| 44 |
+
| 0.10 | 288 | 610 | 32 | 0.3207 | 0.9000 | 0.3681 | 0.4729 | 153 | 25.1% |
|
| 45 |
+
| 0.20 | 271 | 448 | 49 | 0.3769 | 0.8469 | 0.4240 | 0.5217 | 116 | 25.9% |
|
| 46 |
+
| 0.30 | 254 | 341 | 66 | 0.4269 | 0.7937 | 0.4704 | 0.5552 | 90 | 26.4% |
|
| 47 |
+
| 0.40 | 237 | 250 | 83 | 0.4867 | 0.7406 | 0.5225 | 0.5874 | 67 | 26.8% |
|
| 48 |
+
| 0.50 | 205 | 169 | 115 | 0.5481 | 0.6406 | 0.5644 | 0.5908 | 52 | 30.8% |
|
| 49 |
+
| 0.60 | 177 | 95 | 143 | 0.6507 | 0.5531 | 0.6286 | 0.5980 | 36 | 37.9% |
|
| 50 |
+
| 0.70 | 128 | 44 | 192 | 0.7442 | 0.4000 | 0.6349 | 0.5203 | 19 | 43.2% |
|
| 51 |
|
| 52 |
+
**Best F0.5**: 0.6349 (thr=0.7)
|
| 53 |
+
**Best F1**: 0.5980 (thr=0.6)
|
| 54 |
|
| 55 |
Full per-doc predictions (raw scores, gold spans with tier decisions): `holdout_predictions.jsonl` on this repo.
|
| 56 |
|
|
|
|
| 58 |
|
| 59 |
| corpus | examples | spans | thr | precision | recall | f0.5 | f1 |
|
| 60 |
| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
|
| 61 |
+
| prwp | 0 | 0 | 0.10 | 1.0000 | 1.0000 | 1.0000 | 1.0000 |
|
| 62 |
+
| fcv | 0 | 0 | 0.10 | 1.0000 | 1.0000 | 1.0000 | 1.0000 |
|