EvanD commited on
Commit
9c8f6ab
1 Parent(s): 2ddc5f9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -7,7 +7,7 @@ widget:
7
  - text: "George Washington ging naar Washington"
8
  inference:
9
  parameters:
10
- grouped_entities: true
11
  language:
12
  - nl
13
  ---
@@ -17,6 +17,7 @@ Same model as [flair/ner-dutch-large](https://huggingface.co/flair/ner-dutch-lar
17
 
18
  ```python
19
  from transformers import AutoTokenizer, AutoModelForTokenClassification
 
20
 
21
  tokenizer = AutoTokenizer.from_pretrained("EvanD/dutch-ner-xlm-conll2003")
22
  ner_model = AutoModelForTokenClassification.from_pretrained("EvanD/dutch-ner-xlm-conll2003")
 
7
  - text: "George Washington ging naar Washington"
8
  inference:
9
  parameters:
10
+ aggregation_strategy: "simple"
11
  language:
12
  - nl
13
  ---
 
17
 
18
  ```python
19
  from transformers import AutoTokenizer, AutoModelForTokenClassification
20
+ from transformers import pipeline
21
 
22
  tokenizer = AutoTokenizer.from_pretrained("EvanD/dutch-ner-xlm-conll2003")
23
  ner_model = AutoModelForTokenClassification.from_pretrained("EvanD/dutch-ner-xlm-conll2003")