sagorsarker
commited on
Commit
•
20166e6
1
Parent(s):
e4ba2a8
Update README.md
Browse files
README.md
CHANGED
@@ -17,7 +17,13 @@ datasets:
|
|
17 |
|
18 |
|
19 |
## Usage
|
|
|
|
|
|
|
20 |
`pip install bntransformer`
|
|
|
|
|
|
|
21 |
```py
|
22 |
from bntransformer import BanglaQA
|
23 |
|
@@ -34,6 +40,8 @@ print(answers)
|
|
34 |
|
35 |
or
|
36 |
|
|
|
|
|
37 |
```py
|
38 |
from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline
|
39 |
|
|
|
17 |
|
18 |
|
19 |
## Usage
|
20 |
+
You can use [bntransformer](https://github.com/sagorbrur/bntransformer)
|
21 |
+
|
22 |
+
### Installation
|
23 |
`pip install bntransformer`
|
24 |
+
|
25 |
+
### Generate Answer
|
26 |
+
|
27 |
```py
|
28 |
from bntransformer import BanglaQA
|
29 |
|
|
|
40 |
|
41 |
or
|
42 |
|
43 |
+
### Transformers QA Pipeline
|
44 |
+
|
45 |
```py
|
46 |
from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline
|
47 |
|