Update README.md
Browse files
README.md
CHANGED
@@ -24,7 +24,7 @@ tokenizer = AutoTokenizer.from_pretrained("EvanD/xlm-roberta-base-danish-ner-dan
|
|
24 |
ner_model = AutoModelForTokenClassification.from_pretrained("EvanD/xlm-roberta-base-danish-ner-daner")
|
25 |
|
26 |
nlp = pipeline("ner", model=ner_model, tokenizer=tokenizer, aggregation_strategy="simple")
|
27 |
-
example = "
|
28 |
|
29 |
ner_results = nlp(example)
|
30 |
print(ner_results)
|
|
|
24 |
ner_model = AutoModelForTokenClassification.from_pretrained("EvanD/xlm-roberta-base-danish-ner-daner")
|
25 |
|
26 |
nlp = pipeline("ner", model=ner_model, tokenizer=tokenizer, aggregation_strategy="simple")
|
27 |
+
example = "Mit navn er Amadeus Wolfgang, og jeg bor i Berlin"
|
28 |
|
29 |
ner_results = nlp(example)
|
30 |
print(ner_results)
|