kwang2049 commited on
Commit
7aa5c43
Β·
1 Parent(s): eb25189

changed model to latest version in Sentence Transformers

Browse files
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
- "__version__": "1.2.0"
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": "0_Transformer",
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:c4b71133b675d7666e7b1a3fb5b485252028d5530d342aa0f17717bf8f8c5f94
3
- size 265491187
 
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": null,
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/sbert.net_models_msmarco-distilbert-base-tas-b/0_Transformer", "special_tokens_map_file": "/home/ukp-reimers/.cache/huggingface/transformers/ba1a276969ccad7ea2344196e7b8561b36292db74bff940ee316dadc05d005d3.dd8bd9bfd3664b530ea4e645105f557769387b3da9f79bdb55ed556bdd80611d"}
 
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