initial commit
Browse files- config.json +45 -0
- mask_scoring_tokens.json +1 -0
- model.safetensors +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +66 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-uncased",
|
3 |
+
"add_marker_tokens": false,
|
4 |
+
"architectures": [
|
5 |
+
"SpladeBertModel"
|
6 |
+
],
|
7 |
+
"attend_to_doc_expanded_tokens": [
|
8 |
+
false
|
9 |
+
],
|
10 |
+
"attend_to_query_expanded_tokens": false,
|
11 |
+
"attention_probs_dropout_prob": 0.1,
|
12 |
+
"backbone_model_type": "bert",
|
13 |
+
"classifier_dropout": null,
|
14 |
+
"doc_expansion": false,
|
15 |
+
"doc_length": 256,
|
16 |
+
"doc_pooling_strategy": "max",
|
17 |
+
"embedding_dim": 30522,
|
18 |
+
"gradient_checkpointing": false,
|
19 |
+
"hidden_act": "gelu",
|
20 |
+
"hidden_dropout_prob": 0.1,
|
21 |
+
"hidden_size": 768,
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"intermediate_size": 3072,
|
24 |
+
"layer_norm_eps": 1e-12,
|
25 |
+
"max_position_embeddings": 512,
|
26 |
+
"model_type": "splade",
|
27 |
+
"normalize": false,
|
28 |
+
"num_attention_heads": 12,
|
29 |
+
"num_hidden_layers": 12,
|
30 |
+
"pad_token_id": 0,
|
31 |
+
"position_embedding_type": "absolute",
|
32 |
+
"projection": "mlm",
|
33 |
+
"query_aggregation_function": "sum",
|
34 |
+
"query_expansion": false,
|
35 |
+
"query_length": 32,
|
36 |
+
"query_pooling_strategy": "max",
|
37 |
+
"save_step": 49009,
|
38 |
+
"similarity_function": "dot",
|
39 |
+
"sparsification": "relu_log",
|
40 |
+
"torch_dtype": "float32",
|
41 |
+
"transformers_version": "4.42.4",
|
42 |
+
"type_vocab_size": 2,
|
43 |
+
"use_cache": true,
|
44 |
+
"vocab_size": 30522
|
45 |
+
}
|
mask_scoring_tokens.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"query": null, "doc": null}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b251142e71ba419cab97f7ae0f69cdd04108e5c1f5fb5a45cec1322446eaeb5b
|
3 |
+
size 438079848
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_marker_tokens": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "[PAD]",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"100": {
|
13 |
+
"content": "[UNK]",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"101": {
|
21 |
+
"content": "[CLS]",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"102": {
|
29 |
+
"content": "[SEP]",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"103": {
|
37 |
+
"content": "[MASK]",
|
38 |
+
"lstrip": false,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"attend_to_doc_expanded_tokens": [
|
46 |
+
false
|
47 |
+
],
|
48 |
+
"attend_to_query_expanded_tokens": false,
|
49 |
+
"clean_up_tokenization_spaces": true,
|
50 |
+
"cls_token": "[CLS]",
|
51 |
+
"do_lower_case": true,
|
52 |
+
"doc_expansion": false,
|
53 |
+
"doc_length": 256,
|
54 |
+
"doc_token": "[DOC]",
|
55 |
+
"mask_token": "[MASK]",
|
56 |
+
"model_max_length": 512,
|
57 |
+
"pad_token": "[PAD]",
|
58 |
+
"query_expansion": false,
|
59 |
+
"query_length": 32,
|
60 |
+
"query_token": "[QUE]",
|
61 |
+
"sep_token": "[SEP]",
|
62 |
+
"strip_accents": null,
|
63 |
+
"tokenize_chinese_chars": true,
|
64 |
+
"tokenizer_class": "BertTokenizer",
|
65 |
+
"unk_token": "[UNK]"
|
66 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|