Instructions to use flair/ner-dutch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Flair
How to use flair/ner-dutch with Flair:
from flair.data import Sentence from flair.models import SequenceTagger tagger = SequenceTagger.load("flair/ner-dutch") sentence = Sentence("George Washington went to Washington.") tagger.predict(sentence) print(sentence) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,13 +9,14 @@ datasets:
|
|
| 9 |
inference: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
#
|
| 13 |
|
| 14 |
This is the standard 4-class NER model for Dutch that ships with [Flair](https://github.com/flairNLP/flair/).
|
| 15 |
|
| 16 |
F1-Score: **92,58** (CoNLL-03)
|
| 17 |
|
| 18 |
Predicts 4 tags:
|
|
|
|
| 19 |
| **tag** | **meaning** |
|
| 20 |
|---------------------------------|-----------|
|
| 21 |
| PER | person name |
|
|
@@ -24,9 +25,9 @@ Predicts 4 tags:
|
|
| 24 |
| MISC | other name |
|
| 25 |
|
| 26 |
Based on Transformer embeddings and LSTM-CRF.
|
| 27 |
-
---
|
| 28 |
|
| 29 |
-
|
|
|
|
| 30 |
|
| 31 |
Requires: **[Flair](https://github.com/flairNLP/flair/)** (`pip install flair`)
|
| 32 |
|
|
|
|
| 9 |
inference: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Dutch NER in Flair (default model)
|
| 13 |
|
| 14 |
This is the standard 4-class NER model for Dutch that ships with [Flair](https://github.com/flairNLP/flair/).
|
| 15 |
|
| 16 |
F1-Score: **92,58** (CoNLL-03)
|
| 17 |
|
| 18 |
Predicts 4 tags:
|
| 19 |
+
|
| 20 |
| **tag** | **meaning** |
|
| 21 |
|---------------------------------|-----------|
|
| 22 |
| PER | person name |
|
|
|
|
| 25 |
| MISC | other name |
|
| 26 |
|
| 27 |
Based on Transformer embeddings and LSTM-CRF.
|
|
|
|
| 28 |
|
| 29 |
+
---
|
| 30 |
+
# Demo: How to use in Flair
|
| 31 |
|
| 32 |
Requires: **[Flair](https://github.com/flairNLP/flair/)** (`pip install flair`)
|
| 33 |
|