nguyenthaibinh commited on
Commit
612ed7a
1 Parent(s): ca753ed

new model with pooler and normalizer

Browse files
config.json CHANGED
@@ -1,10 +1,9 @@
1
  {
2
- "_name_or_path": "/Users/Shared/Libs/sentence_transformers/models--sentence-transformers--all-MiniLM-L12-v2/snapshots/a05860a77cef7b37e0048a7864658139bc18a854",
3
  "architectures": [
4
  "BertModel"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
- "classifier_dropout": null,
8
  "gradient_checkpointing": false,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
@@ -18,9 +17,8 @@
18
  "num_hidden_layers": 12,
19
  "pad_token_id": 0,
20
  "position_embedding_type": "absolute",
21
- "torch_dtype": "float32",
22
- "transformers_version": "4.37.2",
23
  "type_vocab_size": 2,
24
  "use_cache": true,
25
  "vocab_size": 30522
26
- }
 
1
  {
2
+ "_name_or_path": "sentence-transformers/all-MiniLM-L12-v2",
3
  "architectures": [
4
  "BertModel"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
 
7
  "gradient_checkpointing": false,
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.1,
 
17
  "num_hidden_layers": 12,
18
  "pad_token_id": 0,
19
  "position_embedding_type": "absolute",
20
+ "transformers_version": "4.8.2",
 
21
  "type_vocab_size": 2,
22
  "use_cache": true,
23
  "vocab_size": 30522
24
+ }
config_sentence_transformers.json CHANGED
@@ -3,7 +3,5 @@
3
  "sentence_transformers": "2.0.0",
4
  "transformers": "4.6.1",
5
  "pytorch": "1.8.1"
6
- },
7
- "prompts": {},
8
- "default_prompt_name": null
9
  }
 
3
  "sentence_transformers": "2.0.0",
4
  "transformers": "4.6.1",
5
  "pytorch": "1.8.1"
6
+ }
 
 
7
  }
model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cb55380c7070335868299ea3f51d5f4d6f1b274081188477a705b03f421fbcf4
3
- size 133685318
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa2f30fd904338a4871270dca3b59d9b05477605bf53fdb217b76b57843a31f4
3
+ size 133203053
model_descriptions.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "base_model": "sentence-transformers/all-MiniLM-L12-v2",
3
+ "embedding_dim": 384,
4
+ "max_seq_length": 128,
5
+ "model_file_size (GB)": 0.12
6
+ }
modules.json CHANGED
@@ -2,19 +2,16 @@
2
  {
3
  "idx": 0,
4
  "name": "0",
5
- "path": "",
6
  "type": "sentence_transformers.models.Transformer"
7
  },
8
  {
9
  "idx": 1,
10
  "name": "1",
11
- "path": "1_Pooling",
12
  "type": "sentence_transformers.models.Pooling"
13
  },
14
  {
15
  "idx": 2,
16
  "name": "2",
17
- "path": "2_Normalize",
18
  "type": "sentence_transformers.models.Normalize"
19
  }
20
  ]
 
2
  {
3
  "idx": 0,
4
  "name": "0",
 
5
  "type": "sentence_transformers.models.Transformer"
6
  },
7
  {
8
  "idx": 1,
9
  "name": "1",
 
10
  "type": "sentence_transformers.models.Pooling"
11
  },
12
  {
13
  "idx": 2,
14
  "name": "2",
 
15
  "type": "sentence_transformers.models.Normalize"
16
  }
17
  ]