Harish Tayyar Madabushi
commited on
Commit
•
90c9fcd
1
Parent(s):
c640628
added model
Browse files- 0_Transformer/config.json +24 -0
- 0_Transformer/pytorch_model.bin +3 -0
- 0_Transformer/sentence_bert_config.json +4 -0
- 0_Transformer/special_tokens_map.json +1 -0
- 0_Transformer/tokenizer_config.json +1 -0
- 0_Transformer/vocab.txt +0 -0
- 1_Pooling/config.json +7 -0
- config.json +3 -0
- modules.json +14 -0
- similarity_evaluation_sts-dev_results.csv +9 -0
- similarity_evaluation_sts-test_results.csv +2 -0
0_Transformer/config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "output-no-git/NEW/BERT/TransformerModels/pt-e5-all/0_Transformer",
|
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": 768,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 3072,
|
13 |
+
"layer_norm_eps": 1e-12,
|
14 |
+
"max_position_embeddings": 512,
|
15 |
+
"model_type": "bert",
|
16 |
+
"num_attention_heads": 12,
|
17 |
+
"num_hidden_layers": 12,
|
18 |
+
"pad_token_id": 0,
|
19 |
+
"position_embedding_type": "absolute",
|
20 |
+
"transformers_version": "4.6.0.dev0",
|
21 |
+
"type_vocab_size": 2,
|
22 |
+
"use_cache": true,
|
23 |
+
"vocab_size": 28996
|
24 |
+
}
|
0_Transformer/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0237b37059f3bc16241ae6eed84097b0e17b2ee156a070fa18b7de687fafb97c
|
3 |
+
size 433327607
|
0_Transformer/sentence_bert_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"max_seq_length": null,
|
3 |
+
"do_lower_case": false
|
4 |
+
}
|
0_Transformer/special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
0_Transformer/tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"do_lower_case": false, "do_basic_tokenize": true, "never_split": null, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "truncation": true, "model_max_length": 512, "special_tokens_map_file": null, "tokenizer_file": "/rds/homes/t/tayyarmh/.cache/huggingface/transformers/226a307193a9f4344264cdc76a12988448a25345ba172f2c7421f3b6810fddad.3dab63143af66769bbb35e3811f75f7e16b2320e12b7935e216bd6159ce6d9a6", "name_or_path": "output-no-git/NEW/BERT/TransformerModels/pt-e5-all/0_Transformer", "max_length": 510}
|
0_Transformer/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
1_Pooling/config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"word_embedding_dimension": 768,
|
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
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": "1.1.0"
|
3 |
+
}
|
modules.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
]
|
similarity_evaluation_sts-dev_results.csv
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
epoch,steps,cosine_pearson,cosine_spearman,euclidean_pearson,euclidean_spearman,manhattan_pearson,manhattan_spearman,dot_pearson,dot_spearman
|
2 |
+
0,1000,0.8417532772476561,0.8436003831689975,0.8073428768992913,0.8134145535055921,0.8070900260132369,0.8134852912654119,0.7440513730166539,0.756037921433677
|
3 |
+
0,-1,0.8408596189990506,0.843910595126299,0.8029700971945816,0.8115799088344053,0.8027388110138471,0.8113920930369352,0.7545544881683884,0.7708513597838431
|
4 |
+
1,1000,0.8455744020938721,0.8493181682435273,0.818497085094116,0.823954388172011,0.81817670279847,0.8241228569922071,0.7796024982831925,0.7863239825338026
|
5 |
+
1,-1,0.8549394615167227,0.8567209117732428,0.8258810579215045,0.8308089231454161,0.8256541863852916,0.8310506884366012,0.7913962930999265,0.796501485980594
|
6 |
+
2,1000,0.8546455036658689,0.8548468240544982,0.8240452862367258,0.8278435936995112,0.8235134943695164,0.8277085021233315,0.7886893061793241,0.7962289882801433
|
7 |
+
2,-1,0.854020392328734,0.8547572040158642,0.823132470749711,0.8263786364392581,0.8226544652958699,0.8263809193589788,0.7876019050882411,0.793544315611303
|
8 |
+
3,1000,0.8587286772341995,0.8597453505623418,0.8299202486818985,0.8336811582211086,0.8292882710219504,0.8332601436960607,0.7928609890976749,0.7969150521015643
|
9 |
+
3,-1,0.8591708984415984,0.860498812950209,0.83026089671677,0.8343683430064515,0.8296640215833677,0.8340353285423513,0.7938555105276052,0.7980227236825164
|
similarity_evaluation_sts-test_results.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
epoch,steps,cosine_pearson,cosine_spearman,euclidean_pearson,euclidean_spearman,manhattan_pearson,manhattan_spearman,dot_pearson,dot_spearman
|
2 |
+
-1,-1,0.8335111968326885,0.8361819882844436,0.8134754667668856,0.813093628885269,0.8127669507680276,0.8118238051283615,0.761969380379023,0.7579412457756964
|