engineersakibcse47
commited on
Commit
•
18b43e5
1
Parent(s):
3036a08
Update README.md
Browse files
README.md
CHANGED
@@ -49,7 +49,7 @@ from transformers import pipeline
|
|
49 |
tokenizer = AutoTokenizer.from_pretrained("engineersakibcse47/NER_on_Bangla_Language")
|
50 |
model_ner = AutoModelForTokenClassification.from_pretrained("engineersakibcse47/NER_on_Bangla_Language")
|
51 |
|
52 |
-
pipe = pipeline("
|
53 |
|
54 |
sample = "বসনিয়া ও হার্জেগোভিনা"
|
55 |
|
|
|
49 |
tokenizer = AutoTokenizer.from_pretrained("engineersakibcse47/NER_on_Bangla_Language")
|
50 |
model_ner = AutoModelForTokenClassification.from_pretrained("engineersakibcse47/NER_on_Bangla_Language")
|
51 |
|
52 |
+
pipe = pipeline("ner", model=model_ner, tokenizer=tokenizer, aggregation_strategy="simple")
|
53 |
|
54 |
sample = "বসনিয়া ও হার্জেগোভিনা"
|
55 |
|