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 checkpoint_selection.json with huggingface_hub
Browse files- checkpoint_selection.json +10 -10
checkpoint_selection.json
CHANGED
|
@@ -3,33 +3,33 @@
|
|
| 3 |
"results": [
|
| 4 |
{
|
| 5 |
"checkpoint": "checkpoint-813",
|
| 6 |
-
"thr": 0.
|
| 7 |
-
"f05": 0.
|
| 8 |
},
|
| 9 |
{
|
| 10 |
"checkpoint": "checkpoint-1626",
|
| 11 |
"thr": 0.7,
|
| 12 |
-
"f05": 0.
|
| 13 |
},
|
| 14 |
{
|
| 15 |
"checkpoint": "checkpoint-2439",
|
| 16 |
"thr": 0.7,
|
| 17 |
-
"f05": 0.
|
| 18 |
},
|
| 19 |
{
|
| 20 |
"checkpoint": "checkpoint-3252",
|
| 21 |
-
"thr": 0.
|
| 22 |
-
"f05": 0.
|
| 23 |
},
|
| 24 |
{
|
| 25 |
"checkpoint": "checkpoint-4065",
|
| 26 |
-
"thr": 0.
|
| 27 |
-
"f05": 0.
|
| 28 |
}
|
| 29 |
],
|
| 30 |
"winner": {
|
| 31 |
-
"checkpoint": "checkpoint-
|
| 32 |
"thr": 0.7,
|
| 33 |
-
"f05": 0.
|
| 34 |
}
|
| 35 |
}
|
|
|
|
| 3 |
"results": [
|
| 4 |
{
|
| 5 |
"checkpoint": "checkpoint-813",
|
| 6 |
+
"thr": 0.6,
|
| 7 |
+
"f05": 0.6465
|
| 8 |
},
|
| 9 |
{
|
| 10 |
"checkpoint": "checkpoint-1626",
|
| 11 |
"thr": 0.7,
|
| 12 |
+
"f05": 0.6629
|
| 13 |
},
|
| 14 |
{
|
| 15 |
"checkpoint": "checkpoint-2439",
|
| 16 |
"thr": 0.7,
|
| 17 |
+
"f05": 0.6505
|
| 18 |
},
|
| 19 |
{
|
| 20 |
"checkpoint": "checkpoint-3252",
|
| 21 |
+
"thr": 0.5,
|
| 22 |
+
"f05": 0.6391
|
| 23 |
},
|
| 24 |
{
|
| 25 |
"checkpoint": "checkpoint-4065",
|
| 26 |
+
"thr": 0.6,
|
| 27 |
+
"f05": 0.6403
|
| 28 |
}
|
| 29 |
],
|
| 30 |
"winner": {
|
| 31 |
+
"checkpoint": "checkpoint-1626",
|
| 32 |
"thr": 0.7,
|
| 33 |
+
"f05": 0.6629
|
| 34 |
}
|
| 35 |
}
|