Upload 13 files
Browse files- README.md +3 -3
- config.json +19 -16
- eval/binary_classification_evaluation_results.csv +21 -0
- pytorch_model.bin +2 -2
- sentence_bert_config.json +1 -1
- tokenizer.json +0 -0
- tokenizer_config.json +2 -3
- vocab.txt +0 -0
README.md
CHANGED
@@ -10,7 +10,7 @@ tags:
|
|
10 |
|
11 |
# {MODEL_NAME}
|
12 |
|
13 |
-
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a
|
14 |
|
15 |
<!--- Describe your model here -->
|
16 |
|
@@ -119,8 +119,8 @@ Parameters of the fit()-Method:
|
|
119 |
## Full Model Architecture
|
120 |
```
|
121 |
SentenceTransformer(
|
122 |
-
(0): Transformer({'max_seq_length':
|
123 |
-
(1): Pooling({'word_embedding_dimension':
|
124 |
)
|
125 |
```
|
126 |
|
|
|
10 |
|
11 |
# {MODEL_NAME}
|
12 |
|
13 |
+
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 312 dimensional dense vector space and can be used for tasks like clustering or semantic search.
|
14 |
|
15 |
<!--- Describe your model here -->
|
16 |
|
|
|
119 |
## Full Model Architecture
|
120 |
```
|
121 |
SentenceTransformer(
|
122 |
+
(0): Transformer({'max_seq_length': 2048, 'do_lower_case': False}) with Transformer model: BertModel
|
123 |
+
(1): Pooling({'word_embedding_dimension': 312, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False})
|
124 |
)
|
125 |
```
|
126 |
|
config.json
CHANGED
@@ -1,24 +1,27 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/media/denis/
|
3 |
-
"activation": "gelu",
|
4 |
"architectures": [
|
5 |
-
"
|
6 |
],
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
|
|
|
|
|
|
11 |
"initializer_range": 0.02,
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
|
|
|
|
16 |
"pad_token_id": 0,
|
17 |
-
"
|
18 |
-
"seq_classif_dropout": 0.2,
|
19 |
-
"sinusoidal_pos_embds": false,
|
20 |
-
"tie_weights_": true,
|
21 |
"torch_dtype": "float32",
|
22 |
"transformers_version": "4.29.2",
|
23 |
-
"
|
|
|
|
|
24 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/media/denis/d9b5b2ab-3dc3-4627-9f99-1ed59b84b83e/models/ruBert-tiny2/",
|
|
|
3 |
"architectures": [
|
4 |
+
"BertModel"
|
5 |
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"emb_size": 312,
|
9 |
+
"gradient_checkpointing": false,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 312,
|
13 |
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 600,
|
15 |
+
"layer_norm_eps": 1e-12,
|
16 |
+
"max_position_embeddings": 2048,
|
17 |
+
"model_type": "bert",
|
18 |
+
"num_attention_heads": 12,
|
19 |
+
"num_hidden_layers": 3,
|
20 |
"pad_token_id": 0,
|
21 |
+
"position_embedding_type": "absolute",
|
|
|
|
|
|
|
22 |
"torch_dtype": "float32",
|
23 |
"transformers_version": "4.29.2",
|
24 |
+
"type_vocab_size": 2,
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 83828
|
27 |
}
|
eval/binary_classification_evaluation_results.csv
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
epoch,steps,cossim_accuracy,cossim_accuracy_threshold,cossim_f1,cossim_precision,cossim_recall,cossim_f1_threshold,cossim_ap,manhattan_accuracy,manhattan_accuracy_threshold,manhattan_f1,manhattan_precision,manhattan_recall,manhattan_f1_threshold,manhattan_ap,euclidean_accuracy,euclidean_accuracy_threshold,euclidean_f1,euclidean_precision,euclidean_recall,euclidean_f1_threshold,euclidean_ap,dot_accuracy,dot_accuracy_threshold,dot_f1,dot_precision,dot_recall,dot_f1_threshold,dot_ap
|
2 |
+
0,500,0.633147113594041,0.7721911668777466,0.6661526599845798,0.542713567839196,0.8622754491017964,0.7290762662887573,0.6195092806367306,0.6350093109869647,95.33267211914062,0.6702208682406702,0.541871921182266,0.8782435129740519,108.1692886352539,0.6339986278357677,0.6405959031657356,6.813292026519775,0.6724137931034484,0.5535483870967742,0.8562874251497006,7.71163272857666,0.6362539150125768,0.5828677839851024,86.3433609008789,0.644,0.48348348348348347,0.9640718562874252,66.301513671875,0.5417107343249767
|
3 |
+
0,-1,0.7420856610800745,0.7987297773361206,0.7225225225225225,0.6584564860426929,0.8003992015968064,0.7304838299751282,0.7702670440498578,0.7476722532588455,102.57528686523438,0.7330754352030947,0.7110694183864915,0.7564870259481038,112.18626403808594,0.7791755560311759,0.7458100558659218,7.552401542663574,0.7285024154589372,0.7059925093632958,0.7524950099800399,8.099886894226074,0.7765343229032199,0.6983240223463687,99.72731018066406,0.6923766816143498,0.6286644951140065,0.7704590818363274,90.06538391113281,0.7103522461065748
|
4 |
+
1,500,0.7690875232774674,0.7604501843452454,0.7569930069930069,0.6734059097978227,0.8642714570858283,0.6819161176681519,0.7949456032700705,0.7718808193668529,118.57615661621094,0.7558139534883721,0.7344632768361582,0.7784431137724551,120.890625,0.7991752042241096,0.7728119180633147,8.165265083312988,0.7583774250440917,0.6793048973143759,0.8582834331337326,9.275922775268555,0.8003339988160233,0.7411545623836127,96.34286499023438,0.7377185678601166,0.6328571428571429,0.8842315369261478,86.45893096923828,0.7491182577063904
|
5 |
+
1,-1,0.7895716945996276,0.7921085357666016,0.7721021611001964,0.7601547388781431,0.7844311377245509,0.7681531310081482,0.8283258182247925,0.7886405959031657,109.22518920898438,0.7728155339805826,0.7523629489603024,0.7944111776447106,115.60260009765625,0.8321503048643707,0.7895716945996276,7.979127883911133,0.7733071638861629,0.7606177606177607,0.7864271457085829,8.27321720123291,0.8319252825055439,0.7607076350093109,111.44023132324219,0.7593582887700535,0.6859903381642513,0.8502994011976048,101.69218444824219,0.7879714074215451
|
6 |
+
2,500,0.7960893854748603,0.7952120304107666,0.7808988764044945,0.7354497354497355,0.8323353293413174,0.7564051151275635,0.8350336569674027,0.7932960893854749,104.40992736816406,0.7797563261480787,0.734982332155477,0.8303393213572854,117.64830780029297,0.8373507988193721,0.7970204841713222,7.664309501647949,0.7785977859778598,0.7238421955403087,0.8423153692614771,8.598779678344727,0.8378078201817419,0.7690875232774674,109.48350524902344,0.7596759675967597,0.6918032786885245,0.8423153692614771,102.0286865234375,0.7915313189519537
|
7 |
+
2,-1,0.8109869646182495,0.7188224792480469,0.801564027370479,0.7854406130268199,0.8183632734530938,0.7188224792480469,0.8600141520226655,0.8156424581005587,112.21705627441406,0.7964774951076321,0.781190019193858,0.812375249500998,124.76220703125,0.8616281810768325,0.8119180633147114,8.921470642089844,0.8011811023622046,0.7902912621359224,0.812375249500998,8.921470642089844,0.8619388350341904,0.7839851024208566,106.97128295898438,0.7806215722120657,0.7200674536256324,0.8522954091816367,92.87505340576172,0.8257820327881877
|
8 |
+
3,500,0.8165735567970205,0.811943769454956,0.8052930056710776,0.7648114901256733,0.8502994011976048,0.766913652420044,0.8670014871533742,0.8175046554934823,102.79283905029297,0.8008008008008007,0.8032128514056225,0.7984031936127745,110.31473541259766,0.8669282873724043,0.8165735567970205,7.126179218292236,0.7996323529411765,0.7410562180579217,0.8682634730538922,8.554272651672363,0.8674668613292471,0.7942271880819367,115.28562927246094,0.7881040892193308,0.7373913043478261,0.846307385229541,106.78107452392578,0.836534368255718
|
9 |
+
3,-1,0.8165735567970205,0.7954180240631104,0.8023952095808384,0.8023952095808383,0.8023952095808383,0.7768548727035522,0.8631339550753379,0.8202979515828678,108.69570922851562,0.8004136504653567,0.8304721030042919,0.7724550898203593,109.48302459716797,0.8615837211686233,0.8212290502793296,7.798562049865723,0.8012422360248448,0.832258064516129,0.7724550898203593,7.798562049865723,0.8623422786962875,0.8035381750465549,112.89857482910156,0.7922330097087379,0.7712665406427222,0.8143712574850299,108.19334411621094,0.8419556610835387
|
10 |
+
4,500,0.8202979515828678,0.803250253200531,0.8081002892960463,0.7817164179104478,0.8363273453093812,0.7623764276504517,0.871213049661261,0.8240223463687151,108.47626495361328,0.8081218274111674,0.8223140495867769,0.7944111776447106,108.47626495361328,0.8710928419539751,0.8221601489757915,7.694230079650879,0.8067729083665339,0.805168986083499,0.8083832335329342,8.008346557617188,0.8715298049877932,0.8054003724394786,116.42169952392578,0.7872954764196343,0.7602230483271375,0.8163672654690619,107.95687103271484,0.8473519995505733
|
11 |
+
4,-1,0.8221601489757915,0.7799044251441956,0.807502467917078,0.798828125,0.8163672654690619,0.7434301972389221,0.8762102473881144,0.8230912476722533,112.97689819335938,0.81,0.811623246492986,0.8083832335329342,119.3897705078125,0.8759358310884401,0.8230912476722533,8.218460083007812,0.810546875,0.7934990439770554,0.8283433133732535,8.912877082824707,0.8764723630318878,0.8128491620111732,110.3419189453125,0.7934224049331963,0.8177966101694916,0.7704590818363274,110.3419189453125,0.8561347933137005
|
12 |
+
5,500,0.8184357541899442,0.8079116344451904,0.7988223748773308,0.7857142857142857,0.812375249500998,0.7436330914497375,0.8788917743527559,0.8212290502793296,106.59866333007812,0.8040201005025127,0.8097165991902834,0.7984031936127745,116.27374267578125,0.8787976783089675,0.8175046554934823,7.619297981262207,0.8028169014084507,0.8093306288032455,0.7964071856287425,8.320618629455566,0.879099580822263,0.8044692737430168,113.08216094970703,0.7871485943775101,0.7919191919191919,0.782435129740519,108.59873962402344,0.8591446493532404
|
13 |
+
5,-1,0.8156424581005587,0.7679625749588013,0.8034682080924855,0.776536312849162,0.8323353293413174,0.7377722859382629,0.8743986589979431,0.8175046554934823,112.96222686767578,0.8070866141732284,0.7961165048543689,0.8183632734530938,119.920166015625,0.873329331549599,0.8175046554934823,8.442291259765625,0.8070519098922625,0.7923076923076923,0.8223552894211577,8.660072326660156,0.8741159251515367,0.8054003724394786,113.90751647949219,0.7878172588832488,0.8016528925619835,0.7744510978043913,110.33425903320312,0.8593012569349765
|
14 |
+
6,500,0.8165735567970205,0.8590644598007202,0.7942857142857144,0.7595628415300546,0.8323353293413174,0.7520684003829956,0.8757004804412355,0.8184357541899442,96.65702819824219,0.7968901846452867,0.7765151515151515,0.8183632734530938,115.2035903930664,0.8749396856221417,0.8165735567970205,7.05710506439209,0.7981042654028437,0.759927797833935,0.8403193612774451,8.655823707580566,0.8753973868888306,0.7988826815642458,125.49473571777344,0.7829246139872843,0.7183333333333334,0.8602794411177644,96.07859802246094,0.8540730581484298
|
15 |
+
6,-1,0.8147113594040968,0.8304997682571411,0.796315250767656,0.8172268907563025,0.7764471057884231,0.7986156344413757,0.877066544219217,0.8156424581005587,102.64395904541016,0.7979591836734693,0.8162839248434238,0.780439121756487,110.87445068359375,0.876567210860144,0.813780260707635,7.261824131011963,0.7992315081652257,0.7703703703703704,0.8303393213572854,9.175132751464844,0.8768652291880308,0.8044692737430168,124.33934020996094,0.7841726618705037,0.7135842880523732,0.8702594810379242,85.36248779296875,0.8616745918143948
|
16 |
+
7,500,0.8165735567970205,0.8480873107910156,0.7926455566905005,0.8117154811715481,0.7744510978043913,0.7957388758659363,0.880370212092972,0.8202979515828678,99.65837097167969,0.7959183673469389,0.81419624217119,0.7784431137724551,109.67552947998047,0.8794759351814154,0.8165735567970205,6.958827495574951,0.796315250767656,0.8172268907563025,0.7764471057884231,7.783387184143066,0.8802422843395217,0.7988826815642458,113.00125885009766,0.7849264705882353,0.727427597955707,0.8522954091816367,89.45085144042969,0.8656820395936051
|
17 |
+
7,-1,0.8156424581005587,0.832975447177887,0.7925696594427245,0.8205128205128205,0.7664670658682635,0.8219391107559204,0.8805371338694827,0.8184357541899442,102.10575866699219,0.7970863683662851,0.8326086956521739,0.7644710578842315,102.10575866699219,0.8801180219981176,0.8156424581005587,7.4704270362854,0.7956003666361137,0.735593220338983,0.8662674650698603,9.786503791809082,0.880404983260089,0.7960893854748603,128.65264892578125,0.7874306839186691,0.7332185886402753,0.8502994011976048,91.51670837402344,0.8641139314274935
|
18 |
+
8,500,0.8184357541899442,0.7926133871078491,0.8,0.8227848101265823,0.7784431137724551,0.7916240692138672,0.8797765535218114,0.8175046554934823,100.23004913330078,0.7967145790554414,0.8202959830866807,0.7744510978043913,111.4747314453125,0.878869894093962,0.8165735567970205,7.76915168762207,0.7967145790554414,0.8202959830866807,0.7744510978043913,7.979641914367676,0.8792268930036029,0.8035381750465549,125.91755676269531,0.7884436160298229,0.7395104895104895,0.844311377245509,88.41389465332031,0.8643995926375939
|
19 |
+
8,-1,0.813780260707635,0.8344658613204956,0.7959183673469389,0.81419624217119,0.7784431137724551,0.8344658613204956,0.8793835032793555,0.813780260707635,96.73200225830078,0.7959390862944162,0.8099173553719008,0.782435129740519,103.09477233886719,0.8782787782541468,0.813780260707635,6.982664585113525,0.7955239064089521,0.8112033195020747,0.780439121756487,7.276930809020996,0.8790316923649081,0.7988826815642458,131.99131774902344,0.7849264705882353,0.727427597955707,0.8522954091816367,96.34043884277344,0.8633911792597047
|
20 |
+
9,500,0.8147113594040968,0.8491858839988708,0.7918781725888324,0.8057851239669421,0.7784431137724551,0.8110975623130798,0.8798802262772122,0.8156424581005587,98.69802856445312,0.7950566426364574,0.8212765957446808,0.7704590818363274,102.28336334228516,0.8789525348829845,0.813780260707635,7.04109001159668,0.7946611909650925,0.8181818181818182,0.7724550898203593,7.369290351867676,0.8794884977046694,0.7960893854748603,131.26409912109375,0.7863089731729879,0.7327586206896551,0.8483033932135728,92.51164245605469,0.8636516516179354
|
21 |
+
9,-1,0.8147113594040968,0.8523457050323486,0.7922210849539406,0.8130252100840336,0.7724550898203593,0.8282842636108398,0.8797156724411563,0.8156424581005587,97.72921752929688,0.794238683127572,0.8195329087048833,0.7704590818363274,100.28872680664062,0.878720539836638,0.8147113594040968,6.922731399536133,0.7942681678607983,0.8151260504201681,0.7744510978043913,7.350095748901367,0.8795000152405086,0.7970204841713222,129.29653930664062,0.7852534562211982,0.7294520547945206,0.8502994011976048,92.62153625488281,0.8635377846685256
|
pytorch_model.bin
CHANGED
@@ -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:23779b78540103dbcada3d35abb9ffbb5dd811890c025e10f201a34428c5a8a8
|
3 |
+
size 116808857
|
sentence_bert_config.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
{
|
2 |
-
"max_seq_length":
|
3 |
"do_lower_case": false
|
4 |
}
|
|
|
1 |
{
|
2 |
+
"max_seq_length": 2048,
|
3 |
"do_lower_case": false
|
4 |
}
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -4,13 +4,12 @@
|
|
4 |
"do_basic_tokenize": true,
|
5 |
"do_lower_case": false,
|
6 |
"mask_token": "[MASK]",
|
7 |
-
"
|
8 |
-
"model_max_length": 512,
|
9 |
"never_split": null,
|
10 |
"pad_token": "[PAD]",
|
11 |
"sep_token": "[SEP]",
|
12 |
"strip_accents": null,
|
13 |
"tokenize_chinese_chars": true,
|
14 |
-
"tokenizer_class": "
|
15 |
"unk_token": "[UNK]"
|
16 |
}
|
|
|
4 |
"do_basic_tokenize": true,
|
5 |
"do_lower_case": false,
|
6 |
"mask_token": "[MASK]",
|
7 |
+
"model_max_length": 2048,
|
|
|
8 |
"never_split": null,
|
9 |
"pad_token": "[PAD]",
|
10 |
"sep_token": "[SEP]",
|
11 |
"strip_accents": null,
|
12 |
"tokenize_chinese_chars": true,
|
13 |
+
"tokenizer_class": "BertTokenizer",
|
14 |
"unk_token": "[UNK]"
|
15 |
}
|
vocab.txt
CHANGED
The diff for this file is too large to render.
See raw diff
|
|