sagorsarker
commited on
Commit
•
4dd8ff0
1
Parent(s):
54c4dc1
Update README.md
Browse files
README.md
CHANGED
@@ -17,21 +17,6 @@ datasets:
|
|
17 |
|
18 |
## How to Use
|
19 |
|
20 |
-
`pip install bntransformer`
|
21 |
-
|
22 |
-
```py
|
23 |
-
from bntransformer import BanglaNER
|
24 |
-
|
25 |
-
# passing "sagorsarker/mbert-bengali-ner" in bntransformer
|
26 |
-
bnner = BanglaNER("sagorsarker/mbert-bengali-ner")
|
27 |
-
sentence = "আমি জাহিদ হাসান এবং আমি ঢাকায় বাস করি ।"
|
28 |
-
output = bnner.ner_tag(sentence)
|
29 |
-
print(output)
|
30 |
-
|
31 |
-
```
|
32 |
-
|
33 |
-
or
|
34 |
-
|
35 |
```py
|
36 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
37 |
from transformers import pipeline
|
|
|
17 |
|
18 |
## How to Use
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
```py
|
21 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
22 |
from transformers import pipeline
|