Commit
Β·
34d92e0
1
Parent(s):
9ab0f42
add siamese smole bert
Browse files- .DS_Store +0 -0
- 0_Transformer/config.json +0 -31
- 1_Pooling/config.json +0 -7
- config.json +30 -2
- modules.json +0 -14
- 0_Transformer/pytorch_model.bin β pytorch_model.bin +0 -0
- 0_Transformer/sentence_bert_config.json β sentence_bert_config.json +0 -0
- 0_Transformer/special_tokens_map.json β special_tokens_map.json +0 -0
- 0_Transformer/tokenizer_config.json β tokenizer_config.json +0 -0
- 0_Transformer/vocab.txt β vocab.txt +0 -0
.DS_Store
CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
|
|
0_Transformer/config.json
DELETED
@@ -1,31 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"_name_or_path": "shahrukhx01/smole-bert",
|
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,
|
10 |
-
"hidden_size": 512,
|
11 |
-
"id2label": {
|
12 |
-
"0": "LABEL_0",
|
13 |
-
"1": "LABEL_1",
|
14 |
-
"2": "LABEL_2"
|
15 |
-
},
|
16 |
-
"initializer_range": 0.02,
|
17 |
-
"intermediate_size": 2048,
|
18 |
-
"label2id": {
|
19 |
-
"LABEL_0": 0,
|
20 |
-
"LABEL_1": 1,
|
21 |
-
"LABEL_2": 2
|
22 |
-
},
|
23 |
-
"layer_norm_eps": 1e-12,
|
24 |
-
"max_position_embeddings": 768,
|
25 |
-
"model_type": "bert",
|
26 |
-
"num_attention_heads": 8,
|
27 |
-
"num_hidden_layers": 6,
|
28 |
-
"pad_token_id": 0,
|
29 |
-
"type_vocab_size": 5,
|
30 |
-
"vocab_size": 4096
|
31 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1_Pooling/config.json
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"word_embedding_dimension": 512,
|
3 |
-
"pooling_mode_cls_token": false,
|
4 |
-
"pooling_mode_mean_tokens": true,
|
5 |
-
"pooling_mode_max_tokens": false,
|
6 |
-
"pooling_mode_mean_sqrt_len_tokens": false
|
7 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.json
CHANGED
@@ -1,3 +1,31 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "shahrukhx01/smole-bert",
|
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,
|
10 |
+
"hidden_size": 512,
|
11 |
+
"id2label": {
|
12 |
+
"0": "LABEL_0",
|
13 |
+
"1": "LABEL_1",
|
14 |
+
"2": "LABEL_2"
|
15 |
+
},
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 2048,
|
18 |
+
"label2id": {
|
19 |
+
"LABEL_0": 0,
|
20 |
+
"LABEL_1": 1,
|
21 |
+
"LABEL_2": 2
|
22 |
+
},
|
23 |
+
"layer_norm_eps": 1e-12,
|
24 |
+
"max_position_embeddings": 768,
|
25 |
+
"model_type": "bert",
|
26 |
+
"num_attention_heads": 8,
|
27 |
+
"num_hidden_layers": 6,
|
28 |
+
"pad_token_id": 0,
|
29 |
+
"type_vocab_size": 5,
|
30 |
+
"vocab_size": 4096
|
31 |
+
}
|
modules.json
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
[
|
2 |
-
{
|
3 |
-
"idx": 0,
|
4 |
-
"name": "0",
|
5 |
-
"path": "0_Transformer",
|
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 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0_Transformer/pytorch_model.bin β pytorch_model.bin
RENAMED
File without changes
|
0_Transformer/sentence_bert_config.json β sentence_bert_config.json
RENAMED
File without changes
|
0_Transformer/special_tokens_map.json β special_tokens_map.json
RENAMED
File without changes
|
0_Transformer/tokenizer_config.json β tokenizer_config.json
RENAMED
File without changes
|
0_Transformer/vocab.txt β vocab.txt
RENAMED
File without changes
|