Instructions to use urchade/gliner_medium-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use urchade/gliner_medium-v1 with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("urchade/gliner_medium-v1") 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,7 +6,7 @@ license: cc-by-nc-2.0
|
|
| 6 |
|
| 7 |
GLiNER is a Named Entity Recognition (NER) model capable of identifying any entity type using a bidirectional transformer encoder (BERT-like). It provides a practical alternative to traditional NER models, which are limited to predefined entities, and Large Language Models (LLMs) that, despite their flexibility, are costly and large for resource-constrained scenarios.
|
| 8 |
|
| 9 |
-
This version has been trained on the **Pile-NER** dataset
|
| 10 |
|
| 11 |
## Links
|
| 12 |
|
|
|
|
| 6 |
|
| 7 |
GLiNER is a Named Entity Recognition (NER) model capable of identifying any entity type using a bidirectional transformer encoder (BERT-like). It provides a practical alternative to traditional NER models, which are limited to predefined entities, and Large Language Models (LLMs) that, despite their flexibility, are costly and large for resource-constrained scenarios.
|
| 8 |
|
| 9 |
+
This version has been trained on the **Pile-NER** dataset (Research purpose)
|
| 10 |
|
| 11 |
## Links
|
| 12 |
|