Yoo Yeon Sung
commited on
Commit
•
7c92789
1
Parent(s):
654bb93
initial commit
Browse files- passage_encoder/language_model.bin +3 -0
- passage_encoder/language_model_config.json +26 -0
- passage_encoder/special_tokens_map.json +1 -0
- passage_encoder/tokenizer.json +0 -0
- passage_encoder/tokenizer_config.json +1 -0
- passage_encoder/vocab.txt +0 -0
- prediction_head_0.bin +3 -0
- prediction_head_0_config.json +1 -0
- query_encoder/language_model.bin +3 -0
- query_encoder/language_model_config.json +26 -0
- query_encoder/special_tokens_map.json +1 -0
- query_encoder/tokenizer.json +0 -0
- query_encoder/tokenizer_config.json +1 -0
- query_encoder/vocab.txt +0 -0
passage_encoder/language_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ff4e1a4b3f38b2ea56f6744eb541796d69e1236aae18c08a9253ed8d27e0cde1
|
3 |
+
size 438025143
|
passage_encoder/language_model_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/dpr-ctx_encoder-single-nq-base",
|
3 |
+
"architectures": [
|
4 |
+
"DPRContextEncoder"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"gradient_checkpointing": false,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 3072,
|
13 |
+
"language": "english",
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "dpr",
|
17 |
+
"name": "DPRContextEncoder",
|
18 |
+
"num_attention_heads": 12,
|
19 |
+
"num_hidden_layers": 12,
|
20 |
+
"pad_token_id": 0,
|
21 |
+
"position_embedding_type": "absolute",
|
22 |
+
"projection_dim": 0,
|
23 |
+
"transformers_version": "4.6.1",
|
24 |
+
"type_vocab_size": 2,
|
25 |
+
"vocab_size": 30522
|
26 |
+
}
|
passage_encoder/special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
passage_encoder/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
passage_encoder/tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "facebook/dpr-ctx_encoder-single-nq-base"}
|
passage_encoder/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
prediction_head_0.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:339cf0a79d42b8a0e283632633b8c7c079101ef627869b4b27f743462db4ecf9
|
3 |
+
size 495
|
prediction_head_0_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"training": false, "similarity_function": "dot_product", "task_name": "text_similarity", "model_type": "text_similarity", "ph_output_type": "per_sequence", "global_loss_buffer_size": 150000, "label_tensor_name": "label_ids", "label_list": ["hard_negative", "positive"], "metric": "text_similarity_metric", "name": "TextSimilarityHead"}
|
query_encoder/language_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9075e1dee14bce7f825496635e8f687a52fff27bb7c825061df0a742ca65983f
|
3 |
+
size 438027191
|
query_encoder/language_model_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/dpr-question_encoder-single-nq-base",
|
3 |
+
"architectures": [
|
4 |
+
"DPRQuestionEncoder"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"gradient_checkpointing": false,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 3072,
|
13 |
+
"language": "english",
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "dpr",
|
17 |
+
"name": "DPRQuestionEncoder",
|
18 |
+
"num_attention_heads": 12,
|
19 |
+
"num_hidden_layers": 12,
|
20 |
+
"pad_token_id": 0,
|
21 |
+
"position_embedding_type": "absolute",
|
22 |
+
"projection_dim": 0,
|
23 |
+
"transformers_version": "4.6.1",
|
24 |
+
"type_vocab_size": 2,
|
25 |
+
"vocab_size": 30522
|
26 |
+
}
|
query_encoder/special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
query_encoder/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
query_encoder/tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "facebook/dpr-question_encoder-single-nq-base"}
|
query_encoder/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|