radoslavralev commited on
Commit
03f859f
·
verified ·
1 Parent(s): c8b4eb3

Add new SentenceTransformer model

Browse files
1_Pooling/config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
- "word_embedding_dimension": 768,
3
- "pooling_mode_cls_token": true,
4
- "pooling_mode_mean_tokens": false,
5
  "pooling_mode_max_tokens": false,
6
  "pooling_mode_mean_sqrt_len_tokens": false,
7
  "pooling_mode_weightedmean_tokens": false,
 
1
  {
2
+ "word_embedding_dimension": 384,
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,
README.md CHANGED
@@ -7,7 +7,7 @@ tags:
7
  - generated_from_trainer
8
  - dataset_size:713743
9
  - loss:MultipleNegativesRankingLoss
10
- base_model: Alibaba-NLP/gte-modernbert-base
11
  widget:
12
  - source_sentence: 'Abraham Lincoln: Why is the Gettysburg Address so memorable?'
13
  sentences:
@@ -59,7 +59,7 @@ metrics:
59
  - cosine_mrr@10
60
  - cosine_map@100
61
  model-index:
62
- - name: SentenceTransformer based on Alibaba-NLP/gte-modernbert-base
63
  results:
64
  - task:
65
  type: information-retrieval
@@ -69,49 +69,49 @@ model-index:
69
  type: NanoMSMARCO
70
  metrics:
71
  - type: cosine_accuracy@1
72
- value: 0.38
73
  name: Cosine Accuracy@1
74
  - type: cosine_accuracy@3
75
- value: 0.54
76
  name: Cosine Accuracy@3
77
  - type: cosine_accuracy@5
78
- value: 0.68
79
  name: Cosine Accuracy@5
80
  - type: cosine_accuracy@10
81
- value: 0.8
82
  name: Cosine Accuracy@10
83
  - type: cosine_precision@1
84
- value: 0.38
85
  name: Cosine Precision@1
86
  - type: cosine_precision@3
87
- value: 0.18
88
  name: Cosine Precision@3
89
  - type: cosine_precision@5
90
- value: 0.136
91
  name: Cosine Precision@5
92
  - type: cosine_precision@10
93
- value: 0.08
94
  name: Cosine Precision@10
95
  - type: cosine_recall@1
96
- value: 0.38
97
  name: Cosine Recall@1
98
  - type: cosine_recall@3
99
- value: 0.54
100
  name: Cosine Recall@3
101
  - type: cosine_recall@5
102
- value: 0.68
103
  name: Cosine Recall@5
104
  - type: cosine_recall@10
105
- value: 0.8
106
  name: Cosine Recall@10
107
  - type: cosine_ndcg@10
108
- value: 0.5686686381597302
109
  name: Cosine Ndcg@10
110
  - type: cosine_mrr@10
111
- value: 0.49702380952380953
112
  name: Cosine Mrr@10
113
  - type: cosine_map@100
114
- value: 0.5063338862610184
115
  name: Cosine Map@100
116
  - task:
117
  type: information-retrieval
@@ -121,49 +121,49 @@ model-index:
121
  type: NanoNQ
122
  metrics:
123
  - type: cosine_accuracy@1
124
- value: 0.4
125
  name: Cosine Accuracy@1
126
  - type: cosine_accuracy@3
127
- value: 0.56
128
  name: Cosine Accuracy@3
129
  - type: cosine_accuracy@5
130
  value: 0.6
131
  name: Cosine Accuracy@5
132
  - type: cosine_accuracy@10
133
- value: 0.66
134
  name: Cosine Accuracy@10
135
  - type: cosine_precision@1
136
- value: 0.4
137
  name: Cosine Precision@1
138
  - type: cosine_precision@3
139
- value: 0.2
140
  name: Cosine Precision@3
141
  - type: cosine_precision@5
142
- value: 0.12800000000000003
143
  name: Cosine Precision@5
144
  - type: cosine_precision@10
145
- value: 0.07
146
  name: Cosine Precision@10
147
  - type: cosine_recall@1
148
- value: 0.36
149
  name: Cosine Recall@1
150
  - type: cosine_recall@3
151
- value: 0.54
152
  name: Cosine Recall@3
153
  - type: cosine_recall@5
154
  value: 0.58
155
  name: Cosine Recall@5
156
  - type: cosine_recall@10
157
- value: 0.63
158
  name: Cosine Recall@10
159
  - type: cosine_ndcg@10
160
- value: 0.5105228253020769
161
  name: Cosine Ndcg@10
162
  - type: cosine_mrr@10
163
- value: 0.48852380952380947
164
  name: Cosine Mrr@10
165
  - type: cosine_map@100
166
- value: 0.4728184565167554
167
  name: Cosine Map@100
168
  - task:
169
  type: nano-beir
@@ -173,63 +173,63 @@ model-index:
173
  type: NanoBEIR_mean
174
  metrics:
175
  - type: cosine_accuracy@1
176
- value: 0.39
177
  name: Cosine Accuracy@1
178
  - type: cosine_accuracy@3
179
- value: 0.55
180
  name: Cosine Accuracy@3
181
  - type: cosine_accuracy@5
182
- value: 0.64
183
  name: Cosine Accuracy@5
184
  - type: cosine_accuracy@10
185
- value: 0.73
186
  name: Cosine Accuracy@10
187
  - type: cosine_precision@1
188
- value: 0.39
189
  name: Cosine Precision@1
190
  - type: cosine_precision@3
191
- value: 0.19
192
  name: Cosine Precision@3
193
  - type: cosine_precision@5
194
- value: 0.132
195
  name: Cosine Precision@5
196
  - type: cosine_precision@10
197
- value: 0.07500000000000001
198
  name: Cosine Precision@10
199
  - type: cosine_recall@1
200
- value: 0.37
201
  name: Cosine Recall@1
202
  - type: cosine_recall@3
203
- value: 0.54
204
  name: Cosine Recall@3
205
  - type: cosine_recall@5
206
- value: 0.63
207
  name: Cosine Recall@5
208
  - type: cosine_recall@10
209
- value: 0.7150000000000001
210
  name: Cosine Recall@10
211
  - type: cosine_ndcg@10
212
- value: 0.5395957317309036
213
  name: Cosine Ndcg@10
214
  - type: cosine_mrr@10
215
- value: 0.4927738095238095
216
  name: Cosine Mrr@10
217
  - type: cosine_map@100
218
- value: 0.48957617138888687
219
  name: Cosine Map@100
220
  ---
221
 
222
- # SentenceTransformer based on Alibaba-NLP/gte-modernbert-base
223
 
224
- This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [Alibaba-NLP/gte-modernbert-base](https://huggingface.co/Alibaba-NLP/gte-modernbert-base). It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
225
 
226
  ## Model Details
227
 
228
  ### Model Description
229
  - **Model Type:** Sentence Transformer
230
- - **Base model:** [Alibaba-NLP/gte-modernbert-base](https://huggingface.co/Alibaba-NLP/gte-modernbert-base) <!-- at revision e7f32e3c00f91d699e8c43b53106206bcc72bb22 -->
231
  - **Maximum Sequence Length:** 128 tokens
232
- - **Output Dimensionality:** 768 dimensions
233
  - **Similarity Function:** Cosine Similarity
234
  <!-- - **Training Dataset:** Unknown -->
235
  <!-- - **Language:** Unknown -->
@@ -245,8 +245,9 @@ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [A
245
 
246
  ```
247
  SentenceTransformer(
248
- (0): Transformer({'max_seq_length': 128, 'do_lower_case': False, 'architecture': 'ModernBertModel'})
249
- (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
 
250
  )
251
  ```
252
 
@@ -274,14 +275,14 @@ sentences = [
274
  ]
275
  embeddings = model.encode(sentences)
276
  print(embeddings.shape)
277
- # [3, 768]
278
 
279
  # Get the similarity scores for the embeddings
280
  similarities = model.similarity(embeddings, embeddings)
281
  print(similarities)
282
- # tensor([[ 1.0000, 1.0000, -0.0629],
283
- # [ 1.0000, 1.0000, -0.0629],
284
- # [-0.0629, -0.0629, 1.0001]])
285
  ```
286
 
287
  <!--
@@ -317,23 +318,23 @@ You can finetune this model on your own dataset.
317
  * Datasets: `NanoMSMARCO` and `NanoNQ`
318
  * Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
319
 
320
- | Metric | NanoMSMARCO | NanoNQ |
321
- |:--------------------|:------------|:-----------|
322
- | cosine_accuracy@1 | 0.38 | 0.4 |
323
- | cosine_accuracy@3 | 0.54 | 0.56 |
324
- | cosine_accuracy@5 | 0.68 | 0.6 |
325
- | cosine_accuracy@10 | 0.8 | 0.66 |
326
- | cosine_precision@1 | 0.38 | 0.4 |
327
- | cosine_precision@3 | 0.18 | 0.2 |
328
- | cosine_precision@5 | 0.136 | 0.128 |
329
- | cosine_precision@10 | 0.08 | 0.07 |
330
- | cosine_recall@1 | 0.38 | 0.36 |
331
- | cosine_recall@3 | 0.54 | 0.54 |
332
- | cosine_recall@5 | 0.68 | 0.58 |
333
- | cosine_recall@10 | 0.8 | 0.63 |
334
- | **cosine_ndcg@10** | **0.5687** | **0.5105** |
335
- | cosine_mrr@10 | 0.497 | 0.4885 |
336
- | cosine_map@100 | 0.5063 | 0.4728 |
337
 
338
  #### Nano BEIR
339
 
@@ -351,21 +352,21 @@ You can finetune this model on your own dataset.
351
 
352
  | Metric | Value |
353
  |:--------------------|:-----------|
354
- | cosine_accuracy@1 | 0.39 |
355
- | cosine_accuracy@3 | 0.55 |
356
- | cosine_accuracy@5 | 0.64 |
357
- | cosine_accuracy@10 | 0.73 |
358
- | cosine_precision@1 | 0.39 |
359
- | cosine_precision@3 | 0.19 |
360
- | cosine_precision@5 | 0.132 |
361
- | cosine_precision@10 | 0.075 |
362
- | cosine_recall@1 | 0.37 |
363
- | cosine_recall@3 | 0.54 |
364
- | cosine_recall@5 | 0.63 |
365
- | cosine_recall@10 | 0.715 |
366
- | **cosine_ndcg@10** | **0.5396** |
367
- | cosine_mrr@10 | 0.4928 |
368
- | cosine_map@100 | 0.4896 |
369
 
370
  <!--
371
  ## Bias, Risks and Limitations
@@ -391,7 +392,7 @@ You can finetune this model on your own dataset.
391
  | | anchor | positive | negative |
392
  |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
393
  | type | string | string | string |
394
- | details | <ul><li>min: 6 tokens</li><li>mean: 15.96 tokens</li><li>max: 53 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 15.93 tokens</li><li>max: 53 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.72 tokens</li><li>max: 59 tokens</li></ul> |
395
  * Samples:
396
  | anchor | positive | negative |
397
  |:-------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------|
@@ -417,7 +418,7 @@ You can finetune this model on your own dataset.
417
  | | anchor | positive | negative |
418
  |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
419
  | type | string | string | string |
420
- | details | <ul><li>min: 7 tokens</li><li>mean: 15.47 tokens</li><li>max: 70 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 15.48 tokens</li><li>max: 70 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.76 tokens</li><li>max: 67 tokens</li></ul> |
421
  * Samples:
422
  | anchor | positive | negative |
423
  |:-------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
@@ -582,27 +583,27 @@ You can finetune this model on your own dataset.
582
  ### Training Logs
583
  | Epoch | Step | Training Loss | Validation Loss | NanoMSMARCO_cosine_ndcg@10 | NanoNQ_cosine_ndcg@10 | NanoBEIR_mean_cosine_ndcg@10 |
584
  |:------:|:----:|:-------------:|:---------------:|:--------------------------:|:---------------------:|:----------------------------:|
585
- | 0 | 0 | - | 2.2389 | 0.6530 | 0.6552 | 0.6541 |
586
- | 0.0448 | 250 | 1.0022 | 0.4154 | 0.6615 | 0.5429 | 0.6022 |
587
- | 0.0897 | 500 | 0.3871 | 0.3658 | 0.6042 | 0.4458 | 0.5250 |
588
- | 0.1345 | 750 | 0.3575 | 0.3479 | 0.5819 | 0.5160 | 0.5489 |
589
- | 0.1793 | 1000 | 0.3454 | 0.3355 | 0.5976 | 0.5595 | 0.5785 |
590
- | 0.2242 | 1250 | 0.337 | 0.3284 | 0.5901 | 0.4544 | 0.5223 |
591
- | 0.2690 | 1500 | 0.3291 | 0.3235 | 0.6138 | 0.5729 | 0.5933 |
592
- | 0.3138 | 1750 | 0.323 | 0.3182 | 0.6210 | 0.5608 | 0.5909 |
593
- | 0.3587 | 2000 | 0.3206 | 0.3141 | 0.6139 | 0.5474 | 0.5807 |
594
- | 0.4035 | 2250 | 0.3151 | 0.3120 | 0.6275 | 0.5665 | 0.5970 |
595
- | 0.4484 | 2500 | 0.3132 | 0.3093 | 0.6059 | 0.5349 | 0.5704 |
596
- | 0.4932 | 2750 | 0.3087 | 0.3072 | 0.6011 | 0.5305 | 0.5658 |
597
- | 0.5380 | 3000 | 0.3065 | 0.3051 | 0.5816 | 0.5057 | 0.5436 |
598
- | 0.5829 | 3250 | 0.3044 | 0.3033 | 0.5959 | 0.5203 | 0.5581 |
599
- | 0.6277 | 3500 | 0.3053 | 0.3018 | 0.5817 | 0.5185 | 0.5501 |
600
- | 0.6725 | 3750 | 0.3028 | 0.3006 | 0.5744 | 0.5052 | 0.5398 |
601
- | 0.7174 | 4000 | 0.3018 | 0.2996 | 0.5783 | 0.5190 | 0.5487 |
602
- | 0.7622 | 4250 | 0.3011 | 0.2994 | 0.5679 | 0.4959 | 0.5319 |
603
- | 0.8070 | 4500 | 0.3009 | 0.2979 | 0.5689 | 0.5068 | 0.5378 |
604
- | 0.8519 | 4750 | 0.2985 | 0.2975 | 0.5687 | 0.5135 | 0.5411 |
605
- | 0.8967 | 5000 | 0.2995 | 0.2971 | 0.5687 | 0.5105 | 0.5396 |
606
 
607
 
608
  ### Framework Versions
 
7
  - generated_from_trainer
8
  - dataset_size:713743
9
  - loss:MultipleNegativesRankingLoss
10
+ base_model: sentence-transformers/all-MiniLM-L6-v2
11
  widget:
12
  - source_sentence: 'Abraham Lincoln: Why is the Gettysburg Address so memorable?'
13
  sentences:
 
59
  - cosine_mrr@10
60
  - cosine_map@100
61
  model-index:
62
+ - name: SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
63
  results:
64
  - task:
65
  type: information-retrieval
 
69
  type: NanoMSMARCO
70
  metrics:
71
  - type: cosine_accuracy@1
72
+ value: 0.26
73
  name: Cosine Accuracy@1
74
  - type: cosine_accuracy@3
75
+ value: 0.52
76
  name: Cosine Accuracy@3
77
  - type: cosine_accuracy@5
78
+ value: 0.6
79
  name: Cosine Accuracy@5
80
  - type: cosine_accuracy@10
81
+ value: 0.62
82
  name: Cosine Accuracy@10
83
  - type: cosine_precision@1
84
+ value: 0.26
85
  name: Cosine Precision@1
86
  - type: cosine_precision@3
87
+ value: 0.1733333333333333
88
  name: Cosine Precision@3
89
  - type: cosine_precision@5
90
+ value: 0.12
91
  name: Cosine Precision@5
92
  - type: cosine_precision@10
93
+ value: 0.062
94
  name: Cosine Precision@10
95
  - type: cosine_recall@1
96
+ value: 0.26
97
  name: Cosine Recall@1
98
  - type: cosine_recall@3
99
+ value: 0.52
100
  name: Cosine Recall@3
101
  - type: cosine_recall@5
102
+ value: 0.6
103
  name: Cosine Recall@5
104
  - type: cosine_recall@10
105
+ value: 0.62
106
  name: Cosine Recall@10
107
  - type: cosine_ndcg@10
108
+ value: 0.45904886208148177
109
  name: Cosine Ndcg@10
110
  - type: cosine_mrr@10
111
+ value: 0.40519047619047627
112
  name: Cosine Mrr@10
113
  - type: cosine_map@100
114
+ value: 0.4260102142025637
115
  name: Cosine Map@100
116
  - task:
117
  type: information-retrieval
 
121
  type: NanoNQ
122
  metrics:
123
  - type: cosine_accuracy@1
124
+ value: 0.32
125
  name: Cosine Accuracy@1
126
  - type: cosine_accuracy@3
127
+ value: 0.5
128
  name: Cosine Accuracy@3
129
  - type: cosine_accuracy@5
130
  value: 0.6
131
  name: Cosine Accuracy@5
132
  - type: cosine_accuracy@10
133
+ value: 0.62
134
  name: Cosine Accuracy@10
135
  - type: cosine_precision@1
136
+ value: 0.32
137
  name: Cosine Precision@1
138
  - type: cosine_precision@3
139
+ value: 0.1733333333333333
140
  name: Cosine Precision@3
141
  - type: cosine_precision@5
142
+ value: 0.128
143
  name: Cosine Precision@5
144
  - type: cosine_precision@10
145
+ value: 0.066
146
  name: Cosine Precision@10
147
  - type: cosine_recall@1
148
+ value: 0.3
149
  name: Cosine Recall@1
150
  - type: cosine_recall@3
151
+ value: 0.47
152
  name: Cosine Recall@3
153
  - type: cosine_recall@5
154
  value: 0.58
155
  name: Cosine Recall@5
156
  - type: cosine_recall@10
157
+ value: 0.6
158
  name: Cosine Recall@10
159
  - type: cosine_ndcg@10
160
+ value: 0.4619884812398348
161
  name: Cosine Ndcg@10
162
  - type: cosine_mrr@10
163
+ value: 0.4272222222222222
164
  name: Cosine Mrr@10
165
  - type: cosine_map@100
166
+ value: 0.42411471333193373
167
  name: Cosine Map@100
168
  - task:
169
  type: nano-beir
 
173
  type: NanoBEIR_mean
174
  metrics:
175
  - type: cosine_accuracy@1
176
+ value: 0.29000000000000004
177
  name: Cosine Accuracy@1
178
  - type: cosine_accuracy@3
179
+ value: 0.51
180
  name: Cosine Accuracy@3
181
  - type: cosine_accuracy@5
182
+ value: 0.6
183
  name: Cosine Accuracy@5
184
  - type: cosine_accuracy@10
185
+ value: 0.62
186
  name: Cosine Accuracy@10
187
  - type: cosine_precision@1
188
+ value: 0.29000000000000004
189
  name: Cosine Precision@1
190
  - type: cosine_precision@3
191
+ value: 0.1733333333333333
192
  name: Cosine Precision@3
193
  - type: cosine_precision@5
194
+ value: 0.124
195
  name: Cosine Precision@5
196
  - type: cosine_precision@10
197
+ value: 0.064
198
  name: Cosine Precision@10
199
  - type: cosine_recall@1
200
+ value: 0.28
201
  name: Cosine Recall@1
202
  - type: cosine_recall@3
203
+ value: 0.495
204
  name: Cosine Recall@3
205
  - type: cosine_recall@5
206
+ value: 0.59
207
  name: Cosine Recall@5
208
  - type: cosine_recall@10
209
+ value: 0.61
210
  name: Cosine Recall@10
211
  - type: cosine_ndcg@10
212
+ value: 0.4605186716606583
213
  name: Cosine Ndcg@10
214
  - type: cosine_mrr@10
215
+ value: 0.41620634920634925
216
  name: Cosine Mrr@10
217
  - type: cosine_map@100
218
+ value: 0.4250624637672487
219
  name: Cosine Map@100
220
  ---
221
 
222
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
223
 
224
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2). It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
225
 
226
  ## Model Details
227
 
228
  ### Model Description
229
  - **Model Type:** Sentence Transformer
230
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
231
  - **Maximum Sequence Length:** 128 tokens
232
+ - **Output Dimensionality:** 384 dimensions
233
  - **Similarity Function:** Cosine Similarity
234
  <!-- - **Training Dataset:** Unknown -->
235
  <!-- - **Language:** Unknown -->
 
245
 
246
  ```
247
  SentenceTransformer(
248
+ (0): Transformer({'max_seq_length': 128, 'do_lower_case': False, 'architecture': 'BertModel'})
249
+ (1): Pooling({'word_embedding_dimension': 384, '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})
250
+ (2): Normalize()
251
  )
252
  ```
253
 
 
275
  ]
276
  embeddings = model.encode(sentences)
277
  print(embeddings.shape)
278
+ # [3, 384]
279
 
280
  # Get the similarity scores for the embeddings
281
  similarities = model.similarity(embeddings, embeddings)
282
  print(similarities)
283
+ # tensor([[ 1.0000, 1.0000, -0.0482],
284
+ # [ 1.0000, 1.0000, -0.0482],
285
+ # [-0.0482, -0.0482, 1.0000]])
286
  ```
287
 
288
  <!--
 
318
  * Datasets: `NanoMSMARCO` and `NanoNQ`
319
  * Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
320
 
321
+ | Metric | NanoMSMARCO | NanoNQ |
322
+ |:--------------------|:------------|:----------|
323
+ | cosine_accuracy@1 | 0.26 | 0.32 |
324
+ | cosine_accuracy@3 | 0.52 | 0.5 |
325
+ | cosine_accuracy@5 | 0.6 | 0.6 |
326
+ | cosine_accuracy@10 | 0.62 | 0.62 |
327
+ | cosine_precision@1 | 0.26 | 0.32 |
328
+ | cosine_precision@3 | 0.1733 | 0.1733 |
329
+ | cosine_precision@5 | 0.12 | 0.128 |
330
+ | cosine_precision@10 | 0.062 | 0.066 |
331
+ | cosine_recall@1 | 0.26 | 0.3 |
332
+ | cosine_recall@3 | 0.52 | 0.47 |
333
+ | cosine_recall@5 | 0.6 | 0.58 |
334
+ | cosine_recall@10 | 0.62 | 0.6 |
335
+ | **cosine_ndcg@10** | **0.459** | **0.462** |
336
+ | cosine_mrr@10 | 0.4052 | 0.4272 |
337
+ | cosine_map@100 | 0.426 | 0.4241 |
338
 
339
  #### Nano BEIR
340
 
 
352
 
353
  | Metric | Value |
354
  |:--------------------|:-----------|
355
+ | cosine_accuracy@1 | 0.29 |
356
+ | cosine_accuracy@3 | 0.51 |
357
+ | cosine_accuracy@5 | 0.6 |
358
+ | cosine_accuracy@10 | 0.62 |
359
+ | cosine_precision@1 | 0.29 |
360
+ | cosine_precision@3 | 0.1733 |
361
+ | cosine_precision@5 | 0.124 |
362
+ | cosine_precision@10 | 0.064 |
363
+ | cosine_recall@1 | 0.28 |
364
+ | cosine_recall@3 | 0.495 |
365
+ | cosine_recall@5 | 0.59 |
366
+ | cosine_recall@10 | 0.61 |
367
+ | **cosine_ndcg@10** | **0.4605** |
368
+ | cosine_mrr@10 | 0.4162 |
369
+ | cosine_map@100 | 0.4251 |
370
 
371
  <!--
372
  ## Bias, Risks and Limitations
 
392
  | | anchor | positive | negative |
393
  |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
394
  | type | string | string | string |
395
+ | details | <ul><li>min: 6 tokens</li><li>mean: 16.07 tokens</li><li>max: 53 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.03 tokens</li><li>max: 53 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.81 tokens</li><li>max: 58 tokens</li></ul> |
396
  * Samples:
397
  | anchor | positive | negative |
398
  |:-------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------|
 
418
  | | anchor | positive | negative |
419
  |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
420
  | type | string | string | string |
421
+ | details | <ul><li>min: 6 tokens</li><li>mean: 15.52 tokens</li><li>max: 74 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 15.51 tokens</li><li>max: 74 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.79 tokens</li><li>max: 69 tokens</li></ul> |
422
  * Samples:
423
  | anchor | positive | negative |
424
  |:-------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
 
583
  ### Training Logs
584
  | Epoch | Step | Training Loss | Validation Loss | NanoMSMARCO_cosine_ndcg@10 | NanoNQ_cosine_ndcg@10 | NanoBEIR_mean_cosine_ndcg@10 |
585
  |:------:|:----:|:-------------:|:---------------:|:--------------------------:|:---------------------:|:----------------------------:|
586
+ | 0 | 0 | - | 0.7908 | 0.5540 | 0.5931 | 0.5735 |
587
+ | 0.0448 | 250 | 0.7632 | 0.4756 | 0.5373 | 0.5302 | 0.5337 |
588
+ | 0.0897 | 500 | 0.5825 | 0.4308 | 0.5277 | 0.4949 | 0.5113 |
589
+ | 0.1345 | 750 | 0.5438 | 0.4161 | 0.5180 | 0.5039 | 0.5110 |
590
+ | 0.1793 | 1000 | 0.5277 | 0.4070 | 0.5008 | 0.4875 | 0.4942 |
591
+ | 0.2242 | 1250 | 0.516 | 0.4012 | 0.4983 | 0.4779 | 0.4881 |
592
+ | 0.2690 | 1500 | 0.5049 | 0.3962 | 0.4923 | 0.4777 | 0.4850 |
593
+ | 0.3138 | 1750 | 0.4966 | 0.3931 | 0.4789 | 0.4769 | 0.4779 |
594
+ | 0.3587 | 2000 | 0.493 | 0.3894 | 0.4792 | 0.4616 | 0.4704 |
595
+ | 0.4035 | 2250 | 0.4852 | 0.3866 | 0.4828 | 0.4749 | 0.4788 |
596
+ | 0.4484 | 2500 | 0.4815 | 0.3841 | 0.4589 | 0.4559 | 0.4574 |
597
+ | 0.4932 | 2750 | 0.4761 | 0.3820 | 0.4647 | 0.4539 | 0.4593 |
598
+ | 0.5380 | 3000 | 0.4747 | 0.3796 | 0.4588 | 0.4493 | 0.4540 |
599
+ | 0.5829 | 3250 | 0.4722 | 0.3786 | 0.4588 | 0.4458 | 0.4523 |
600
+ | 0.6277 | 3500 | 0.4725 | 0.3774 | 0.4587 | 0.4537 | 0.4562 |
601
+ | 0.6725 | 3750 | 0.4692 | 0.3766 | 0.4561 | 0.4621 | 0.4591 |
602
+ | 0.7174 | 4000 | 0.4664 | 0.3763 | 0.4584 | 0.4395 | 0.4489 |
603
+ | 0.7622 | 4250 | 0.4659 | 0.3747 | 0.4645 | 0.4586 | 0.4616 |
604
+ | 0.8070 | 4500 | 0.464 | 0.3742 | 0.4619 | 0.4479 | 0.4549 |
605
+ | 0.8519 | 4750 | 0.4662 | 0.3739 | 0.4590 | 0.4498 | 0.4544 |
606
+ | 0.8967 | 5000 | 0.4662 | 0.3739 | 0.4590 | 0.4620 | 0.4605 |
607
 
608
 
609
  ### Framework Versions
config_sentence_transformers.json CHANGED
@@ -4,11 +4,11 @@
4
  "transformers": "4.57.3",
5
  "pytorch": "2.9.1+cu128"
6
  },
 
7
  "prompts": {
8
  "query": "",
9
  "document": ""
10
  },
11
  "default_prompt_name": null,
12
- "similarity_fn_name": "cosine",
13
- "model_type": "SentenceTransformer"
14
  }
 
4
  "transformers": "4.57.3",
5
  "pytorch": "2.9.1+cu128"
6
  },
7
+ "model_type": "SentenceTransformer",
8
  "prompts": {
9
  "query": "",
10
  "document": ""
11
  },
12
  "default_prompt_name": null,
13
+ "similarity_fn_name": "cosine"
 
14
  }
modules.json CHANGED
@@ -10,5 +10,11 @@
10
  "name": "1",
11
  "path": "1_Pooling",
12
  "type": "sentence_transformers.models.Pooling"
 
 
 
 
 
 
13
  }
14
  ]
 
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
  ]