Upload 13 files
Browse files- .gitattributes +1 -0
- 1_Pooling/config.json +10 -0
- README.md +90 -1
- config.json +28 -0
- config_sentence_transformers.json +9 -0
- eval/Information-Retrieval_evaluation_results.csv +25 -0
- model.safetensors +3 -0
- modules.json +20 -0
- result/Information-Retrieval_evaluation_danielheinz-e5-base-sts-en-de-base_results.csv +3 -0
- result/Information-Retrieval_evaluation_danielheinz-e5-de-vhs-init-tuned_results.csv +2 -0
- sentence_bert_config.json +4 -0
- special_tokens_map.json +51 -0
- tokenizer.json +3 -0
- tokenizer_config.json +61 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
1_Pooling/config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"pooling_mode_weightedmean_tokens": false,
|
8 |
+
"pooling_mode_lasttoken": false,
|
9 |
+
"include_prompt": true
|
10 |
+
}
|
README.md
CHANGED
@@ -1,3 +1,92 @@
|
|
1 |
---
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
library_name: sentence-transformers
|
3 |
+
pipeline_tag: sentence-similarity
|
4 |
+
tags:
|
5 |
+
- sentence-transformers
|
6 |
+
- feature-extraction
|
7 |
+
- sentence-similarity
|
8 |
+
|
9 |
---
|
10 |
+
|
11 |
+
# {MODEL_NAME}
|
12 |
+
|
13 |
+
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
|
14 |
+
|
15 |
+
<!--- Describe your model here -->
|
16 |
+
|
17 |
+
## Usage (Sentence-Transformers)
|
18 |
+
|
19 |
+
Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:
|
20 |
+
|
21 |
+
```
|
22 |
+
pip install -U sentence-transformers
|
23 |
+
```
|
24 |
+
|
25 |
+
Then you can use the model like this:
|
26 |
+
|
27 |
+
```python
|
28 |
+
from sentence_transformers import SentenceTransformer
|
29 |
+
sentences = ["This is an example sentence", "Each sentence is converted"]
|
30 |
+
|
31 |
+
model = SentenceTransformer('{MODEL_NAME}')
|
32 |
+
embeddings = model.encode(sentences)
|
33 |
+
print(embeddings)
|
34 |
+
```
|
35 |
+
|
36 |
+
|
37 |
+
|
38 |
+
## Evaluation Results
|
39 |
+
|
40 |
+
<!--- Describe how your model was evaluated -->
|
41 |
+
|
42 |
+
For an automated evaluation of this model, see the *Sentence Embeddings Benchmark*: [https://seb.sbert.net](https://seb.sbert.net?model_name={MODEL_NAME})
|
43 |
+
|
44 |
+
|
45 |
+
## Training
|
46 |
+
The model was trained with the parameters:
|
47 |
+
|
48 |
+
**DataLoader**:
|
49 |
+
|
50 |
+
`torch.utils.data.dataloader.DataLoader` of length 583 with parameters:
|
51 |
+
```
|
52 |
+
{'batch_size': 10, 'sampler': 'torch.utils.data.sampler.SequentialSampler', 'batch_sampler': 'torch.utils.data.sampler.BatchSampler'}
|
53 |
+
```
|
54 |
+
|
55 |
+
**Loss**:
|
56 |
+
|
57 |
+
`sentence_transformers.losses.MultipleNegativesRankingLoss.MultipleNegativesRankingLoss` with parameters:
|
58 |
+
```
|
59 |
+
{'scale': 20.0, 'similarity_fct': 'cos_sim'}
|
60 |
+
```
|
61 |
+
|
62 |
+
Parameters of the fit()-Method:
|
63 |
+
```
|
64 |
+
{
|
65 |
+
"epochs": 2,
|
66 |
+
"evaluation_steps": 50,
|
67 |
+
"evaluator": "sentence_transformers.evaluation.InformationRetrievalEvaluator.InformationRetrievalEvaluator",
|
68 |
+
"max_grad_norm": 1,
|
69 |
+
"optimizer_class": "<class 'torch.optim.adamw.AdamW'>",
|
70 |
+
"optimizer_params": {
|
71 |
+
"lr": 2e-05
|
72 |
+
},
|
73 |
+
"scheduler": "WarmupLinear",
|
74 |
+
"steps_per_epoch": null,
|
75 |
+
"warmup_steps": 116,
|
76 |
+
"weight_decay": 0.01
|
77 |
+
}
|
78 |
+
```
|
79 |
+
|
80 |
+
|
81 |
+
## Full Model Architecture
|
82 |
+
```
|
83 |
+
SentenceTransformer(
|
84 |
+
(0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: XLMRobertaModel
|
85 |
+
(1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
|
86 |
+
(2): Normalize()
|
87 |
+
)
|
88 |
+
```
|
89 |
+
|
90 |
+
## Citing & Authors
|
91 |
+
|
92 |
+
<!--- Describe where people can find more information -->
|
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "danielheinz/e5-base-sts-en-de",
|
3 |
+
"architectures": [
|
4 |
+
"XLMRobertaModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
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 |
+
"torch_dtype": "float32",
|
24 |
+
"transformers_version": "4.38.1",
|
25 |
+
"type_vocab_size": 1,
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 250002
|
28 |
+
}
|
config_sentence_transformers.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": {
|
3 |
+
"sentence_transformers": "2.2.2",
|
4 |
+
"transformers": "4.36.0",
|
5 |
+
"pytorch": "2.0.0"
|
6 |
+
},
|
7 |
+
"prompts": {},
|
8 |
+
"default_prompt_name": null
|
9 |
+
}
|
eval/Information-Retrieval_evaluation_results.csv
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
epoch,steps,cos_sim-Accuracy@1,cos_sim-Accuracy@3,cos_sim-Accuracy@5,cos_sim-Accuracy@10,cos_sim-Precision@1,cos_sim-Recall@1,cos_sim-Precision@3,cos_sim-Recall@3,cos_sim-Precision@5,cos_sim-Recall@5,cos_sim-Precision@10,cos_sim-Recall@10,cos_sim-MRR@10,cos_sim-NDCG@10,cos_sim-MAP@100,dot_score-Accuracy@1,dot_score-Accuracy@3,dot_score-Accuracy@5,dot_score-Accuracy@10,dot_score-Precision@1,dot_score-Recall@1,dot_score-Precision@3,dot_score-Recall@3,dot_score-Precision@5,dot_score-Recall@5,dot_score-Precision@10,dot_score-Recall@10,dot_score-MRR@10,dot_score-NDCG@10,dot_score-MAP@100
|
2 |
+
0,50,0.08437935843793584,0.1809623430962343,0.22315202231520223,0.2791143654114365,0.08437935843793584,0.08437935843793584,0.0603207810320781,0.1809623430962343,0.044630404463040445,0.22315202231520223,0.027911436541143652,0.2791143654114365,0.14407584512187058,0.17631950602098595,0.15290127487106303,0.08437935843793584,0.1809623430962343,0.22315202231520223,0.2791143654114365,0.08437935843793584,0.08437935843793584,0.0603207810320781,0.1809623430962343,0.044630404463040445,0.22315202231520223,0.027911436541143652,0.2791143654114365,0.14407584512187058,0.17631950602098595,0.15290127487106303
|
3 |
+
0,100,0.08106694560669456,0.17259414225941422,0.21896792189679218,0.27475592747559274,0.08106694560669456,0.08106694560669456,0.057531380753138066,0.17259414225941422,0.043793584379358444,0.21896792189679218,0.027475592747559275,0.27475592747559274,0.13889124106174358,0.17126118869936227,0.14769497194165196,0.08106694560669456,0.17259414225941422,0.21896792189679218,0.27475592747559274,0.08106694560669456,0.08106694560669456,0.057531380753138066,0.17259414225941422,0.043793584379358444,0.21896792189679218,0.027475592747559275,0.27475592747559274,0.13889124106174358,0.17126118869936227,0.14769497194165196
|
4 |
+
0,150,0.06886331938633194,0.150278940027894,0.19089958158995815,0.23971408647140865,0.06886331938633194,0.06886331938633194,0.050092980009297995,0.150278940027894,0.038179916317991634,0.19089958158995815,0.023971408647140865,0.23971408647140865,0.11965835381107359,0.14828941828983208,0.12841301748458492,0.06886331938633194,0.150278940027894,0.19089958158995815,0.23971408647140865,0.06886331938633194,0.06886331938633194,0.050092980009297995,0.150278940027894,0.038179916317991634,0.19089958158995815,0.023971408647140865,0.23971408647140865,0.11965835381107359,0.14828941828983208,0.12841301748458492
|
5 |
+
0,200,0.0849023709902371,0.1823570432357043,0.22785913528591353,0.28417015341701535,0.0849023709902371,0.0849023709902371,0.060785681078568105,0.1823570432357043,0.0455718270571827,0.22785913528591353,0.028417015341701535,0.28417015341701535,0.14488748311970123,0.17811206805238997,0.15412597316634494,0.0849023709902371,0.1823570432357043,0.22785913528591353,0.28417015341701535,0.0849023709902371,0.0849023709902371,0.060785681078568105,0.1823570432357043,0.0455718270571827,0.22785913528591353,0.028417015341701535,0.28417015341701535,0.14488748311970123,0.17811206805238997,0.15412597316634494
|
6 |
+
0,250,0.08298465829846582,0.18218270571827058,0.22716178521617852,0.2810320781032078,0.08298465829846582,0.08298465829846582,0.06072756857275685,0.18218270571827058,0.045432357043235706,0.22716178521617852,0.028103207810320784,0.2810320781032078,0.1439200482610528,0.17674115035925234,0.15310604128464134,0.08298465829846582,0.18218270571827058,0.22716178521617852,0.2810320781032078,0.08298465829846582,0.08298465829846582,0.06072756857275685,0.18218270571827058,0.045432357043235706,0.22716178521617852,0.028103207810320784,0.2810320781032078,0.1439200482610528,0.17674115035925234,0.15310604128464134
|
7 |
+
0,300,0.08647140864714087,0.1940376569037657,0.2405857740585774,0.29218967921896793,0.08647140864714087,0.08647140864714087,0.06467921896792189,0.1940376569037657,0.04811715481171548,0.2405857740585774,0.02921896792189679,0.29218967921896793,0.15110482942595957,0.18497289202223782,0.15946678186451912,0.08647140864714087,0.1940376569037657,0.2405857740585774,0.29218967921896793,0.08647140864714087,0.08647140864714087,0.06467921896792189,0.1940376569037657,0.04811715481171548,0.2405857740585774,0.02921896792189679,0.29218967921896793,0.15110482942595957,0.18497289202223782,0.15946678186451912
|
8 |
+
0,350,0.08577405857740586,0.17939330543933055,0.22594142259414227,0.2850418410041841,0.08577405857740586,0.08577405857740586,0.05979776847977685,0.17939330543933055,0.04518828451882845,0.22594142259414227,0.02850418410041841,0.2850418410041841,0.1455292804011427,0.1787659825405184,0.15419793647753482,0.08577405857740586,0.17939330543933055,0.22594142259414227,0.2850418410041841,0.08577405857740586,0.08577405857740586,0.05979776847977685,0.17939330543933055,0.04518828451882845,0.22594142259414227,0.02850418410041841,0.2850418410041841,0.1455292804011427,0.1787659825405184,0.15419793647753482
|
9 |
+
0,400,0.08804044630404463,0.18357740585774057,0.23326359832635984,0.29253835425383545,0.08804044630404463,0.08804044630404463,0.06119246861924686,0.18357740585774057,0.04665271966527196,0.23326359832635984,0.02925383542538354,0.29253835425383545,0.14864756979035262,0.18289351416856145,0.15721859914403563,0.08804044630404463,0.18357740585774057,0.23326359832635984,0.29253835425383545,0.08804044630404463,0.08804044630404463,0.06119246861924686,0.18357740585774057,0.04665271966527196,0.23326359832635984,0.02925383542538354,0.29253835425383545,0.14864756979035262,0.18289351416856145,0.15721859914403563
|
10 |
+
0,450,0.08978382147838215,0.19857043235704325,0.24232914923291493,0.2996861924686193,0.08978382147838215,0.08978382147838215,0.0661901441190144,0.19857043235704325,0.048465829846582986,0.24232914923291493,0.029968619246861925,0.2996861924686193,0.15494412897655613,0.189622503769521,0.16350954350282904,0.08978382147838215,0.19857043235704325,0.24232914923291493,0.2996861924686193,0.08978382147838215,0.08978382147838215,0.0661901441190144,0.19857043235704325,0.048465829846582986,0.24232914923291493,0.029968619246861925,0.2996861924686193,0.15494412897655613,0.189622503769521,0.16350954350282904
|
11 |
+
0,500,0.09867503486750348,0.19996513249651324,0.24755927475592748,0.3042189679218968,0.09867503486750348,0.09867503486750348,0.0666550441655044,0.19996513249651324,0.04951185495118549,0.24755927475592748,0.03042189679218968,0.3042189679218968,0.16148088652011278,0.19560410814571397,0.17002244351378648,0.09867503486750348,0.19996513249651324,0.24755927475592748,0.3042189679218968,0.09867503486750348,0.09867503486750348,0.0666550441655044,0.19996513249651324,0.04951185495118549,0.24755927475592748,0.03042189679218968,0.3042189679218968,0.16148088652011278,0.19560410814571397,0.17002244351378648
|
12 |
+
0,550,0.09483960948396095,0.20292887029288703,0.249302649930265,0.303347280334728,0.09483960948396095,0.09483960948396095,0.06764295676429567,0.20292887029288703,0.049860529986053,0.249302649930265,0.030334728033472803,0.303347280334728,0.1598429440348899,0.19425242493437167,0.1686360779521524,0.09483960948396095,0.20292887029288703,0.249302649930265,0.303347280334728,0.09483960948396095,0.09483960948396095,0.06764295676429567,0.20292887029288703,0.049860529986053,0.249302649930265,0.030334728033472803,0.303347280334728,0.1598429440348899,0.19425242493437167,0.1686360779521524
|
13 |
+
0,-1,0.09449093444909344,0.20188284518828453,0.250697350069735,0.30474198047419804,0.09449093444909344,0.09449093444909344,0.06729428172942817,0.20188284518828453,0.05013947001394701,0.250697350069735,0.0304741980474198,0.30474198047419804,0.15967379513404664,0.19441131979649373,0.16824292622325696,0.09449093444909344,0.20188284518828453,0.250697350069735,0.30474198047419804,0.09449093444909344,0.09449093444909344,0.06729428172942817,0.20188284518828453,0.05013947001394701,0.250697350069735,0.0304741980474198,0.30474198047419804,0.15967379513404664,0.19441131979649373,0.16824292622325696
|
14 |
+
1,50,0.09658298465829847,0.20502092050209206,0.25453277545327757,0.30944909344490934,0.09658298465829847,0.09658298465829847,0.06834030683403067,0.20502092050209206,0.05090655509065551,0.25453277545327757,0.030944909344490935,0.30944909344490934,0.1628501970290679,0.19797715406693872,0.17128507590548472,0.09658298465829847,0.20502092050209206,0.25453277545327757,0.30944909344490934,0.09658298465829847,0.09658298465829847,0.06834030683403067,0.20502092050209206,0.05090655509065551,0.25453277545327757,0.030944909344490935,0.30944909344490934,0.1628501970290679,0.19797715406693872,0.17128507590548472
|
15 |
+
1,100,0.09919804741980474,0.20833333333333334,0.25645048814504884,0.31311018131101814,0.09919804741980474,0.09919804741980474,0.06944444444444445,0.20833333333333334,0.05129009762900976,0.25645048814504884,0.03131101813110181,0.31311018131101814,0.16530662648602032,0.20069758434211776,0.17371724794962118,0.09919804741980474,0.20833333333333334,0.25645048814504884,0.31311018131101814,0.09919804741980474,0.09919804741980474,0.06944444444444445,0.20833333333333334,0.05129009762900976,0.25645048814504884,0.03131101813110181,0.31311018131101814,0.16530662648602032,0.20069758434211776,0.17371724794962118
|
16 |
+
1,150,0.10111576011157601,0.2142608089260809,0.2611576011157601,0.32217573221757323,0.10111576011157601,0.10111576011157601,0.07142026964202695,0.2142608089260809,0.05223152022315203,0.2611576011157601,0.03221757322175733,0.32217573221757323,0.1691635673330241,0.205740694040939,0.1770976887792809,0.10111576011157601,0.2142608089260809,0.2611576011157601,0.32217573221757323,0.10111576011157601,0.10111576011157601,0.07142026964202695,0.2142608089260809,0.05223152022315203,0.2611576011157601,0.03221757322175733,0.32217573221757323,0.1691635673330241,0.205740694040939,0.1770976887792809
|
17 |
+
1,200,0.10407949790794979,0.21983960948396095,0.2629009762900976,0.32235006973500696,0.10407949790794979,0.10407949790794979,0.07327986982798697,0.21983960948396095,0.05258019525801952,0.2629009762900976,0.03223500697350069,0.32235006973500696,0.17236286832259706,0.2082921006141799,0.18061492048946207,0.10407949790794979,0.21983960948396095,0.2629009762900976,0.32235006973500696,0.10407949790794979,0.10407949790794979,0.07327986982798697,0.21983960948396095,0.05258019525801952,0.2629009762900976,0.03223500697350069,0.32235006973500696,0.17236286832259706,0.2082921006141799,0.18061492048946207
|
18 |
+
1,250,0.10233612273361227,0.2200139470013947,0.2648186889818689,0.325139470013947,0.10233612273361227,0.10233612273361227,0.07333798233379822,0.2200139470013947,0.05296373779637378,0.2648186889818689,0.0325139470013947,0.325139470013947,0.17220582619379757,0.2088399326383594,0.1804118685457988,0.10233612273361227,0.2200139470013947,0.2648186889818689,0.325139470013947,0.10233612273361227,0.10233612273361227,0.07333798233379822,0.2200139470013947,0.05296373779637378,0.2648186889818689,0.0325139470013947,0.325139470013947,0.17220582619379757,0.2088399326383594,0.1804118685457988
|
19 |
+
1,300,0.10529986052998605,0.2196652719665272,0.2660390516039052,0.32357043235704325,0.10529986052998605,0.10529986052998605,0.07322175732217573,0.2196652719665272,0.05320781032078103,0.2660390516039052,0.032357043235704326,0.32357043235704325,0.17415799129972837,0.20999935770065137,0.18248197037587763,0.10529986052998605,0.2196652719665272,0.2660390516039052,0.32357043235704325,0.10529986052998605,0.10529986052998605,0.07322175732217573,0.2196652719665272,0.05320781032078103,0.2660390516039052,0.032357043235704326,0.32357043235704325,0.17415799129972837,0.20999935770065137,0.18248197037587763
|
20 |
+
1,350,0.1044281729428173,0.2196652719665272,0.26778242677824265,0.326534170153417,0.1044281729428173,0.1044281729428173,0.07322175732217573,0.2196652719665272,0.05355648535564853,0.26778242677824265,0.0326534170153417,0.326534170153417,0.1740223262712809,0.21059950903771552,0.18222566456225567,0.1044281729428173,0.2196652719665272,0.26778242677824265,0.326534170153417,0.1044281729428173,0.1044281729428173,0.07322175732217573,0.2196652719665272,0.05355648535564853,0.26778242677824265,0.0326534170153417,0.326534170153417,0.1740223262712809,0.21059950903771552,0.18222566456225567
|
21 |
+
1,400,0.1044281729428173,0.2196652719665272,0.2684797768479777,0.32670850767085075,0.1044281729428173,0.1044281729428173,0.07322175732217573,0.2196652719665272,0.05369595536959554,0.2684797768479777,0.03267085076708507,0.32670850767085075,0.17388396316220656,0.2105143207001646,0.18195778764858078,0.1044281729428173,0.2196652719665272,0.2684797768479777,0.32670850767085075,0.1044281729428173,0.1044281729428173,0.07322175732217573,0.2196652719665272,0.05369595536959554,0.2684797768479777,0.03267085076708507,0.32670850767085075,0.17388396316220656,0.2105143207001646,0.18195778764858078
|
22 |
+
1,450,0.10460251046025104,0.21844490934449093,0.2672594142259414,0.326534170153417,0.10460251046025104,0.10460251046025104,0.07281496978149697,0.21844490934449093,0.05345188284518829,0.2672594142259414,0.032653417015341704,0.326534170153417,0.17362819895508258,0.21023952408706936,0.1817475516005522,0.10460251046025104,0.21844490934449093,0.2672594142259414,0.326534170153417,0.10460251046025104,0.10460251046025104,0.07281496978149697,0.21844490934449093,0.05345188284518829,0.2672594142259414,0.032653417015341704,0.326534170153417,0.17362819895508258,0.21023952408706936,0.1817475516005522
|
23 |
+
1,500,0.1044281729428173,0.22088563458856345,0.2684797768479777,0.3275801952580195,0.1044281729428173,0.1044281729428173,0.07362854486285449,0.22088563458856345,0.05369595536959554,0.2684797768479777,0.03275801952580195,0.3275801952580195,0.1741665698124911,0.2109204782731266,0.18228795046430954,0.1044281729428173,0.22088563458856345,0.2684797768479777,0.3275801952580195,0.1044281729428173,0.1044281729428173,0.07362854486285449,0.22088563458856345,0.05369595536959554,0.2684797768479777,0.03275801952580195,0.3275801952580195,0.1741665698124911,0.2109204782731266,0.18228795046430954
|
24 |
+
1,550,0.10338214783821478,0.22053695955369595,0.26830543933054396,0.3277545327754533,0.10338214783821478,0.10338214783821478,0.07351231985123198,0.22053695955369595,0.05366108786610878,0.26830543933054396,0.03277545327754533,0.3277545327754533,0.17370409112040985,0.21062693395265666,0.18185061637015887,0.10338214783821478,0.22053695955369595,0.26830543933054396,0.3277545327754533,0.10338214783821478,0.10338214783821478,0.07351231985123198,0.22053695955369595,0.05366108786610878,0.26830543933054396,0.03277545327754533,0.3277545327754533,0.17370409112040985,0.21062693395265666,0.18185061637015887
|
25 |
+
1,-1,0.10320781032078104,0.22018828451882846,0.2684797768479777,0.32827754532775455,0.10320781032078104,0.10320781032078104,0.07339609483960949,0.22018828451882846,0.05369595536959554,0.2684797768479777,0.03282775453277545,0.32827754532775455,0.17361083438489378,0.21066585781754632,0.18169968788696292,0.10320781032078104,0.22018828451882846,0.2684797768479777,0.32827754532775455,0.10320781032078104,0.10320781032078104,0.07339609483960949,0.22018828451882846,0.05369595536959554,0.2684797768479777,0.03282775453277545,0.32827754532775455,0.17361083438489378,0.21066585781754632,0.18169968788696292
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e7c0655a1bd6cf380c5d0c513bd78aa6a95452e78efff9eadf78fc4c667770f
|
3 |
+
size 1112197096
|
modules.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
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 |
+
]
|
result/Information-Retrieval_evaluation_danielheinz-e5-base-sts-en-de-base_results.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
epoch,steps,cos_sim-Accuracy@1,cos_sim-Accuracy@3,cos_sim-Accuracy@5,cos_sim-Accuracy@10,cos_sim-Precision@1,cos_sim-Recall@1,cos_sim-Precision@3,cos_sim-Recall@3,cos_sim-Precision@5,cos_sim-Recall@5,cos_sim-Precision@10,cos_sim-Recall@10,cos_sim-MRR@10,cos_sim-NDCG@10,cos_sim-MAP@100,dot_score-Accuracy@1,dot_score-Accuracy@3,dot_score-Accuracy@5,dot_score-Accuracy@10,dot_score-Precision@1,dot_score-Recall@1,dot_score-Precision@3,dot_score-Recall@3,dot_score-Precision@5,dot_score-Recall@5,dot_score-Precision@10,dot_score-Recall@10,dot_score-MRR@10,dot_score-NDCG@10,dot_score-MAP@100
|
2 |
+
-1,-1,0.5135135135135135,0.6621621621621622,0.7567567567567568,0.9054054054054054,0.5135135135135135,0.5135135135135135,0.22072072072072071,0.6621621621621622,0.15135135135135133,0.7567567567567568,0.09054054054054053,0.9054054054054054,0.6210692835692836,0.6876217926082893,0.6294640419640419,0.5135135135135135,0.6621621621621622,0.7567567567567568,0.9054054054054054,0.5135135135135135,0.5135135135135135,0.22072072072072071,0.6621621621621622,0.15135135135135133,0.7567567567567568,0.09054054054054053,0.9054054054054054,0.6210692835692836,0.6876217926082893,0.6294640419640419
|
3 |
+
-1,-1,0.08368200836820083,0.17869595536959554,0.22367503486750348,0.2764993026499303,0.08368200836820083,0.08368200836820083,0.05956531845653184,0.17869595536959554,0.044735006973500704,0.22367503486750348,0.027649930264993027,0.2764993026499303,0.14292487159903508,0.17486269023778395,0.15169582577412663,0.08368200836820083,0.17869595536959554,0.22367503486750348,0.2764993026499303,0.08368200836820083,0.08368200836820083,0.05956531845653184,0.17869595536959554,0.044735006973500704,0.22367503486750348,0.027649930264993027,0.2764993026499303,0.14292487159903508,0.17486269023778395,0.15169582577412663
|
result/Information-Retrieval_evaluation_danielheinz-e5-de-vhs-init-tuned_results.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
epoch,steps,cos_sim-Accuracy@1,cos_sim-Accuracy@3,cos_sim-Accuracy@5,cos_sim-Accuracy@10,cos_sim-Precision@1,cos_sim-Recall@1,cos_sim-Precision@3,cos_sim-Recall@3,cos_sim-Precision@5,cos_sim-Recall@5,cos_sim-Precision@10,cos_sim-Recall@10,cos_sim-MRR@10,cos_sim-NDCG@10,cos_sim-MAP@100,dot_score-Accuracy@1,dot_score-Accuracy@3,dot_score-Accuracy@5,dot_score-Accuracy@10,dot_score-Precision@1,dot_score-Recall@1,dot_score-Precision@3,dot_score-Recall@3,dot_score-Precision@5,dot_score-Recall@5,dot_score-Precision@10,dot_score-Recall@10,dot_score-MRR@10,dot_score-NDCG@10,dot_score-MAP@100
|
2 |
+
-1,-1,0.10529986052998605,0.2196652719665272,0.2660390516039052,0.32357043235704325,0.10529986052998605,0.10529986052998605,0.07322175732217573,0.2196652719665272,0.05320781032078103,0.2660390516039052,0.032357043235704326,0.32357043235704325,0.17415799129972837,0.20999935770065137,0.18248197037587763,0.10529986052998605,0.2196652719665272,0.2660390516039052,0.32357043235704325,0.10529986052998605,0.10529986052998605,0.07322175732217573,0.2196652719665272,0.05320781032078103,0.2660390516039052,0.032357043235704326,0.32357043235704325,0.17415799129972837,0.20999935770065137,0.18248197037587763
|
sentence_bert_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"max_seq_length": 512,
|
3 |
+
"do_lower_case": false
|
4 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "<mask>",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f1cc44ad7faaeec47241864835473fd5403f2da94673f3f764a77ebcb0a803ec
|
3 |
+
size 17083009
|
tokenizer_config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"250001": {
|
36 |
+
"content": "<mask>",
|
37 |
+
"lstrip": true,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"bos_token": "<s>",
|
45 |
+
"clean_up_tokenization_spaces": true,
|
46 |
+
"cls_token": "<s>",
|
47 |
+
"eos_token": "</s>",
|
48 |
+
"mask_token": "<mask>",
|
49 |
+
"max_length": 512,
|
50 |
+
"model_max_length": 512,
|
51 |
+
"pad_to_multiple_of": null,
|
52 |
+
"pad_token": "<pad>",
|
53 |
+
"pad_token_type_id": 0,
|
54 |
+
"padding_side": "right",
|
55 |
+
"sep_token": "</s>",
|
56 |
+
"stride": 0,
|
57 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
58 |
+
"truncation_side": "right",
|
59 |
+
"truncation_strategy": "longest_first",
|
60 |
+
"unk_token": "<unk>"
|
61 |
+
}
|