changed model to latest version in Sentence Transformers
Browse files- 0_Transformer/config.json +0 -23
- 0_Transformer/tokenizer.json +0 -0
- 1_Pooling/config.json +0 -0
- README.md +1 -1
- config.json +22 -2
- config_sentence_transformers.json +7 -0
- modules.json +1 -1
- 0_Transformer/pytorch_model.bin β pytorch_model.bin +2 -2
- 0_Transformer/sentence_bert_config.json β sentence_bert_config.json +1 -1
- 0_Transformer/special_tokens_map.json β special_tokens_map.json +0 -0
- 0_Transformer/tokenizer_config.json β tokenizer_config.json +1 -1
- 0_Transformer/vocab.txt β vocab.txt +0 -0
0_Transformer/config.json
DELETED
@@ -1,23 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"_name_or_path": "/home/ukp/.cache/torch/sentence_transformers/sbert.net_models_msmarco-distilbert-base-tas-b/0_Transformer",
|
3 |
-
"activation": "gelu",
|
4 |
-
"architectures": [
|
5 |
-
"DistilBertModel"
|
6 |
-
],
|
7 |
-
"attention_dropout": 0.1,
|
8 |
-
"dim": 768,
|
9 |
-
"dropout": 0.1,
|
10 |
-
"hidden_dim": 3072,
|
11 |
-
"initializer_range": 0.02,
|
12 |
-
"max_position_embeddings": 512,
|
13 |
-
"model_type": "distilbert",
|
14 |
-
"n_heads": 12,
|
15 |
-
"n_layers": 6,
|
16 |
-
"pad_token_id": 0,
|
17 |
-
"qa_dropout": 0.1,
|
18 |
-
"seq_classif_dropout": 0.2,
|
19 |
-
"sinusoidal_pos_embds": false,
|
20 |
-
"tie_weights_": true,
|
21 |
-
"transformers_version": "4.6.1",
|
22 |
-
"vocab_size": 30522
|
23 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0_Transformer/tokenizer.json
DELETED
The diff for this file is too large to render.
See raw diff
|
|
1_Pooling/config.json
CHANGED
File without changes
|
README.md
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
-
---
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
---
|
config.json
CHANGED
@@ -1,3 +1,23 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/home/ukp/.cache/torch/sentence_transformers/nthakur20_bpr-base-msmarco-distilbert-tas-b/0_Transformer",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertModel"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"hidden_dim": 3072,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"max_position_embeddings": 512,
|
13 |
+
"model_type": "distilbert",
|
14 |
+
"n_heads": 12,
|
15 |
+
"n_layers": 6,
|
16 |
+
"pad_token_id": 0,
|
17 |
+
"qa_dropout": 0.1,
|
18 |
+
"seq_classif_dropout": 0.2,
|
19 |
+
"sinusoidal_pos_embds": false,
|
20 |
+
"tie_weights_": true,
|
21 |
+
"transformers_version": "4.3.3",
|
22 |
+
"vocab_size": 30522
|
23 |
+
}
|
config_sentence_transformers.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": {
|
3 |
+
"sentence_transformers": "2.2.0",
|
4 |
+
"transformers": "4.3.3",
|
5 |
+
"pytorch": "1.10.1+cu102"
|
6 |
+
}
|
7 |
+
}
|
modules.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
{
|
3 |
"idx": 0,
|
4 |
"name": "0",
|
5 |
-
"path": "
|
6 |
"type": "sentence_transformers.models.Transformer"
|
7 |
},
|
8 |
{
|
|
|
2 |
{
|
3 |
"idx": 0,
|
4 |
"name": "0",
|
5 |
+
"path": "",
|
6 |
"type": "sentence_transformers.models.Transformer"
|
7 |
},
|
8 |
{
|
0_Transformer/pytorch_model.bin β pytorch_model.bin
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:21ce764cec510b944bd0818332aada736e531871bc8a186808d1b208db8b49fe
|
3 |
+
size 265486777
|
0_Transformer/sentence_bert_config.json β sentence_bert_config.json
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
{
|
2 |
-
"max_seq_length":
|
3 |
"do_lower_case": false
|
4 |
}
|
|
|
1 |
{
|
2 |
+
"max_seq_length": 512,
|
3 |
"do_lower_case": false
|
4 |
}
|
0_Transformer/special_tokens_map.json β special_tokens_map.json
RENAMED
File without changes
|
0_Transformer/tokenizer_config.json β tokenizer_config.json
RENAMED
@@ -1 +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, "do_basic_tokenize": true, "never_split": null, "model_max_length": 512, "name_or_path": "/home/ukp/.cache/torch/sentence_transformers/
|
|
|
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, "do_basic_tokenize": true, "never_split": null, "model_max_length": 512, "name_or_path": "/home/ukp/.cache/torch/sentence_transformers/nthakur20_bpr-base-msmarco-distilbert-tas-b/0_Transformer", "special_tokens_map_file": "/home/ukp-reimers/.cache/huggingface/transformers/ba1a276969ccad7ea2344196e7b8561b36292db74bff940ee316dadc05d005d3.dd8bd9bfd3664b530ea4e645105f557769387b3da9f79bdb55ed556bdd80611d"}
|
0_Transformer/vocab.txt β vocab.txt
RENAMED
File without changes
|