engineersakibcse47 commited on
Commit
18b43e5
1 Parent(s): 3036a08

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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("token-classification", model=model_ner, tokenizer=tokenizer, aggregation_strategy="simple")
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