Ubuntu
commited on
Commit
•
f9529dd
1
Parent(s):
ae7fe1c
added model
Browse files- 0_Transformer/added_tokens.json +1 -0
- 0_Transformer/config.json +27 -0
- 0_Transformer/pytorch_model.bin +3 -0
- 0_Transformer/sentence_bert_config.json +4 -0
- 0_Transformer/sentencepiece.bpe.model +3 -0
- 0_Transformer/special_tokens_map.json +1 -0
- 0_Transformer/tokenizer_config.json +1 -0
- 1_Pooling/config.json +7 -0
- config.json +3 -0
- modules.json +14 -0
- similarity_evaluation_sts-dev_results.csv +5 -0
- similarity_evaluation_sts-test_results.csv +2 -0
0_Transformer/added_tokens.json
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"IDsugardaddyID": 250055, "IDsittingduckID": 250053, "IDpublicserviceID": 250048, "IDconartistID": 250015, "IDcottoncandyID": 250017, "IDmailserviceID": 250039, "IDhealthcheckID": 250031, "IDentrancehallID": 250026, "IDphonebookID": 250045, "IDeagerbeaverID": 250023, "IDancienthistoryID": 250002, "IDcriticalreviewID": 250018, "IDthinktankID": 250057, "IDdreamticketID": 250020, "IDbadhatID": 250004, "IDbusybeeID": 250009, "IDcellularphoneID": 250011, "IDsexbombID": 250051, "IDchainreactionID": 250012, "IDdrylandID": 250021, "IDcallcentreID": 250010, "IDpandacarID": 250043, "IDhomerunID": 250033, "IDsilverliningID": 250052, "IDcookingstoveID": 250016, "IDsacredcowID": 250050, "IDpeaceconferenceID": 250044, "IDmiddleschoolID": 250041, "IDbigfishID": 250006, "IDloansharkID": 250037, "IDlifevestID": 250036, "IDbadappleID": 250003, "IDpillowslipID": 250046, "IDtravelguideID": 250059, "IDprivateeyeID": 250047, "IDelbowroomID": 250025, "IDfoodmarketID": 250029, "IDduststormID": 250022, "IDskintoneID": 250054, "IDbowtieID": 250008, "IDbirthrateID": 250007, "IDlabourunionID": 250035, "IDmentaldisorderID": 250040, "IDinsurancecompanyID": 250034, "IDnarrowescapeID": 250042, "IDbananarepublicID": 250005, "IDgooseeggID": 250030, "IDswansongID": 250056, "IDdisabilityinsuranceID": 250019, "IDmailinglistID": 250038, "IDeconomicaidID": 250024, "IDhighlifeID": 250032, "IDflowerchildID": 250028, "IDricepaperID": 250049, "IDtopdogID": 250058, "IDclosedbookID": 250013, "IDweddinganniversaryID": 250060, "IDcomputerprogramID": 250014, "IDweddingdayID": 250061, "IDfishstoryID": 250027}
|
0_Transformer/config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/ubuntu/preTrained-xlm-pt-e8-all",
|
3 |
+
"architectures": [
|
4 |
+
"XLMRobertaModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"gradient_checkpointing": false,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 3072,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 514,
|
17 |
+
"model_type": "xlm-roberta",
|
18 |
+
"num_attention_heads": 12,
|
19 |
+
"num_hidden_layers": 12,
|
20 |
+
"output_past": true,
|
21 |
+
"pad_token_id": 1,
|
22 |
+
"position_embedding_type": "absolute",
|
23 |
+
"transformers_version": "4.5.1",
|
24 |
+
"type_vocab_size": 1,
|
25 |
+
"use_cache": true,
|
26 |
+
"vocab_size": 250062
|
27 |
+
}
|
0_Transformer/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9a5cc695378bf04f7bad69e89f2e14c9faca3be83c0a663d84a4039066554923
|
3 |
+
size 1112445495
|
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/sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
|
3 |
+
size 5069051
|
0_Transformer/special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
|
0_Transformer/tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "cls_token": "<s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "truncation": true, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "/home/ubuntu/preTrained-xlm-pt-e8-all", "max_length": 510}
|
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,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
epoch,steps,cosine_pearson,cosine_spearman,euclidean_pearson,euclidean_spearman,manhattan_pearson,manhattan_spearman,dot_pearson,dot_spearman
|
2 |
+
0,-1,0.8285241999979764,0.8284932141007639,0.811744905365749,0.8145752543178955,0.8211128108313965,0.8232055574267846,0.7959118126136548,0.7989422097215354
|
3 |
+
1,-1,0.8474341099501677,0.845926781291997,0.8285467532684967,0.8302010106529981,0.8347638865407538,0.8364369437821049,0.8060470326449904,0.8033225524264924
|
4 |
+
2,-1,0.8505415426921604,0.8503539621493751,0.8337427332561955,0.8365489491974794,0.8393082817741958,0.8420928195714061,0.8140155573931833,0.8148784662709175
|
5 |
+
3,-1,0.8536422596102031,0.8538623508253579,0.8376799196987558,0.8413024329049554,0.8425802802033339,0.8462099735207563,0.8171185112018508,0.818678523001874
|
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.8201234594805871,0.8167491720942942,0.8103621424702037,0.8068088792052787,0.8143939138726405,0.8097437782188827,0.769155891562266,0.7609229601378336
|