Update README.md
Browse files
README.md
CHANGED
@@ -27,7 +27,8 @@ weight_decay = 0.01
|
|
27 |
model = AutoModelForTokenClassification.from_pretrained("akdeniz27/convbert-base-turkish-cased-ner")
|
28 |
tokenizer = AutoTokenizer.from_pretrained("akdeniz27/convbert-base-turkish-cased-ner")
|
29 |
ner = pipeline('ner', model=model, tokenizer=tokenizer, aggregation_strategy="first")
|
30 |
-
|
|
|
31 |
# Pls refer "https://huggingface.co/transformers/_modules/transformers/pipelines/token_classification.html" for entity grouping with aggregation_strategy parameter.
|
32 |
```
|
33 |
# Reference test results:
|
|
|
27 |
model = AutoModelForTokenClassification.from_pretrained("akdeniz27/convbert-base-turkish-cased-ner")
|
28 |
tokenizer = AutoTokenizer.from_pretrained("akdeniz27/convbert-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 |
```
|
34 |
# Reference test results:
|