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