Update README.md
Browse files
README.md
CHANGED
@@ -27,7 +27,7 @@ weight_decay = 0.01
|
|
27 |
model = AutoModelForTokenClassification.from_pretrained("akdeniz27/bert-base-turkish-cased-ner")
|
28 |
tokenizer = AutoTokenizer.from_pretrained("akdeniz27/bert-base-turkish-cased-ner")
|
29 |
ner = pipeline('ner', model=model, tokenizer=tokenizer, aggregation_strategy="first")
|
30 |
-
ner("
|
31 |
```
|
32 |
Pls refer "https://huggingface.co/transformers/_modules/transformers/pipelines/token_classification.html" for entity grouping with aggregation_strategy parameter.
|
33 |
|
|
|
27 |
model = AutoModelForTokenClassification.from_pretrained("akdeniz27/bert-base-turkish-cased-ner")
|
28 |
tokenizer = AutoTokenizer.from_pretrained("akdeniz27/bert-base-turkish-cased-ner")
|
29 |
ner = pipeline('ner', model=model, tokenizer=tokenizer, aggregation_strategy="first")
|
30 |
+
ner("your text here")
|
31 |
```
|
32 |
Pls refer "https://huggingface.co/transformers/_modules/transformers/pipelines/token_classification.html" for entity grouping with aggregation_strategy parameter.
|
33 |
|