Token Classification
GLiNER
PyTorch
English
entity recognition
NER
named entity recognition
zero shot
zero-shot
Instructions to use numind/NuNER_Zero-span with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use numind/NuNER_Zero-span with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("numind/NuNER_Zero-span") 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
|
@@ -14,7 +14,7 @@ tags:
|
|
| 14 |
- zero-shot
|
| 15 |
---
|
| 16 |
|
| 17 |
-
NuNER Zero Span is
|
| 18 |
|
| 19 |
NuNER Zero Span shows slightly better performance than NuNER Zero but cannot detect entities that are larger than 12 tokens.
|
| 20 |
|
|
|
|
| 14 |
- zero-shot
|
| 15 |
---
|
| 16 |
|
| 17 |
+
NuNER Zero Span is the span-prediction version of [NuNER Zero](https://huggingface.co/numind/NuNER_Zero/edit/main/README.md).
|
| 18 |
|
| 19 |
NuNER Zero Span shows slightly better performance than NuNER Zero but cannot detect entities that are larger than 12 tokens.
|
| 20 |
|