manveertamber
commited on
Commit
•
1000ac3
1
Parent(s):
314e820
initial commit
Browse files- README.md +12 -0
- config.json +27 -0
- pytorch_model.bin +3 -0
README.md
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
This model is converted from the original DKRR [repo](https://github.com/facebookresearch/FiD) and ported into Pyserini:
|
2 |
+
|
3 |
+
```
|
4 |
+
@misc{izacard2020distilling,
|
5 |
+
title={Distilling Knowledge from Reader to Retriever for Question Answering},
|
6 |
+
author={Gautier Izacard and Edouard Grave},
|
7 |
+
year={2020},
|
8 |
+
eprint={2012.04584},
|
9 |
+
archivePrefix={arXiv},
|
10 |
+
primaryClass={cs.CL}
|
11 |
+
}
|
12 |
+
```
|
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"apply_passage_mask": true,
|
3 |
+
"apply_question_mask": true,
|
4 |
+
"architectures": [
|
5 |
+
"Retriever"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"extract_cls": false,
|
9 |
+
"gradient_checkpointing": false,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"indexing_dimension": 768,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 3072,
|
16 |
+
"layer_norm_eps": 1e-12,
|
17 |
+
"max_position_embeddings": 512,
|
18 |
+
"model_type": "bert",
|
19 |
+
"num_attention_heads": 12,
|
20 |
+
"num_hidden_layers": 12,
|
21 |
+
"pad_token_id": 0,
|
22 |
+
"passage_maxlength": 200,
|
23 |
+
"projection": false,
|
24 |
+
"question_maxlength": 40,
|
25 |
+
"type_vocab_size": 2,
|
26 |
+
"vocab_size": 30522
|
27 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd979b7c57bdf7537c3cb7e591a9f3c3919c9f008a7c4a2cf8dd02212b1b58a0
|
3 |
+
size 438007236
|