Token Classification
GLiNER
PyTorch
Safetensors
English
entity recognition
NER
named entity recognition
zero shot
zero-shot
Instructions to use numind/NuNER_Zero with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use numind/NuNER_Zero with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("numind/NuNER_Zero") 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
|
@@ -31,7 +31,7 @@ NuNER Zero is (at the time of its release) the best compact zero-shot NER model
|
|
| 31 |
## Installation & Usage
|
| 32 |
|
| 33 |
```
|
| 34 |
-
!pip install gliner
|
| 35 |
```
|
| 36 |
|
| 37 |
**NuZero requires labels to be lower-cased**
|
|
|
|
| 31 |
## Installation & Usage
|
| 32 |
|
| 33 |
```
|
| 34 |
+
!pip install gliner==0.1.12
|
| 35 |
```
|
| 36 |
|
| 37 |
**NuZero requires labels to be lower-cased**
|