Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,25 @@
|
|
1 |
---
|
2 |
license: cc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: cc
|
3 |
+
datasets:
|
4 |
+
- squad
|
5 |
+
- tydiqa
|
6 |
+
- mlqa
|
7 |
+
language:
|
8 |
+
- hi
|
9 |
+
- te
|
10 |
+
- en
|
11 |
+
pipeline_tag: question-answering
|
12 |
---
|
13 |
+
|
14 |
+
# mBERT-hi-te-MLM-SQuAD-TyDi-MLQA Model Card
|
15 |
+
|
16 |
+
## Use a pipeline as a high-level helper
|
17 |
+
from transformers import pipeline
|
18 |
+
|
19 |
+
pipe = pipeline("question-answering", model="hapandya/mBERT-hi-te-MLM-SQuAD-TyDi-MLQA")
|
20 |
+
|
21 |
+
## Load model directly
|
22 |
+
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
|
23 |
+
|
24 |
+
tokenizer = AutoTokenizer.from_pretrained("hapandya/mBERT-hi-te-MLM-SQuAD-TyDi-MLQA")
|
25 |
+
model = AutoModelForQuestionAnswering.from_pretrained("hapandya/mBERT-hi-te-MLM-SQuAD-TyDi-MLQA")
|