Commit ·
e8cf294
1
Parent(s): 2c155a4
Update README.md
Browse files
README.md
CHANGED
|
@@ -39,7 +39,7 @@ tokenizer = AutoTokenizer.from_pretrained("niltonseixas/NER_tokenizer")
|
|
| 39 |
|
| 40 |
model = AutoModelForTokenClassification.from_pretrained("niltonseixas/NER")
|
| 41 |
|
| 42 |
-
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
|
| 43 |
|
| 44 |
example = "dra. Nayara Barbosa, CRM 12345 receitou Amoxilina 50 mg"
|
| 45 |
|
|
|
|
| 39 |
|
| 40 |
model = AutoModelForTokenClassification.from_pretrained("niltonseixas/NER")
|
| 41 |
|
| 42 |
+
nlp = pipeline("ner", model=model, tokenizer=tokenizer, aggregation_strategy = "average")
|
| 43 |
|
| 44 |
example = "dra. Nayara Barbosa, CRM 12345 receitou Amoxilina 50 mg"
|
| 45 |
|