radoslavralev commited on
Commit
3aeef63
·
verified ·
1 Parent(s): 7f8b51e

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:111470
9
  - loss:MultipleNegativesRankingLoss
10
- base_model: Alibaba-NLP/gte-modernbert-base
11
  widget:
12
  - source_sentence: why are some rocks radioactive
13
  sentences:
@@ -106,7 +106,7 @@ metrics:
106
  - cosine_mrr@10
107
  - cosine_map@100
108
  model-index:
109
- - name: SentenceTransformer based on Alibaba-NLP/gte-modernbert-base
110
  results:
111
  - task:
112
  type: information-retrieval
@@ -116,49 +116,49 @@ model-index:
116
  type: NanoMSMARCO
117
  metrics:
118
  - type: cosine_accuracy@1
119
- value: 0.46
120
  name: Cosine Accuracy@1
121
  - type: cosine_accuracy@3
122
- value: 0.66
123
  name: Cosine Accuracy@3
124
  - type: cosine_accuracy@5
125
- value: 0.7
126
  name: Cosine Accuracy@5
127
  - type: cosine_accuracy@10
128
- value: 0.82
129
  name: Cosine Accuracy@10
130
  - type: cosine_precision@1
131
- value: 0.46
132
  name: Cosine Precision@1
133
  - type: cosine_precision@3
134
- value: 0.22
135
  name: Cosine Precision@3
136
  - type: cosine_precision@5
137
- value: 0.14
138
  name: Cosine Precision@5
139
  - type: cosine_precision@10
140
- value: 0.08199999999999999
141
  name: Cosine Precision@10
142
  - type: cosine_recall@1
143
- value: 0.46
144
  name: Cosine Recall@1
145
  - type: cosine_recall@3
146
- value: 0.66
147
  name: Cosine Recall@3
148
  - type: cosine_recall@5
149
- value: 0.7
150
  name: Cosine Recall@5
151
  - type: cosine_recall@10
152
- value: 0.82
153
  name: Cosine Recall@10
154
  - type: cosine_ndcg@10
155
- value: 0.6411634133079402
156
  name: Cosine Ndcg@10
157
  - type: cosine_mrr@10
158
- value: 0.5842460317460317
159
  name: Cosine Mrr@10
160
  - type: cosine_map@100
161
- value: 0.5911749882485325
162
  name: Cosine Map@100
163
  - task:
164
  type: information-retrieval
@@ -168,49 +168,49 @@ model-index:
168
  type: NanoNQ
169
  metrics:
170
  - type: cosine_accuracy@1
171
- value: 0.34
172
  name: Cosine Accuracy@1
173
  - type: cosine_accuracy@3
174
- value: 0.58
175
  name: Cosine Accuracy@3
176
  - type: cosine_accuracy@5
177
- value: 0.66
178
  name: Cosine Accuracy@5
179
  - type: cosine_accuracy@10
180
- value: 0.78
181
  name: Cosine Accuracy@10
182
  - type: cosine_precision@1
183
- value: 0.34
184
  name: Cosine Precision@1
185
  - type: cosine_precision@3
186
- value: 0.19333333333333333
187
  name: Cosine Precision@3
188
  - type: cosine_precision@5
189
  value: 0.136
190
  name: Cosine Precision@5
191
  - type: cosine_precision@10
192
- value: 0.08399999999999999
193
  name: Cosine Precision@10
194
  - type: cosine_recall@1
195
- value: 0.32
196
  name: Cosine Recall@1
197
  - type: cosine_recall@3
198
- value: 0.54
199
  name: Cosine Recall@3
200
  - type: cosine_recall@5
201
- value: 0.62
202
  name: Cosine Recall@5
203
  - type: cosine_recall@10
204
- value: 0.74
205
  name: Cosine Recall@10
206
  - type: cosine_ndcg@10
207
- value: 0.5340775600556903
208
  name: Cosine Ndcg@10
209
  - type: cosine_mrr@10
210
- value: 0.4830238095238096
211
  name: Cosine Mrr@10
212
  - type: cosine_map@100
213
- value: 0.4703754816157255
214
  name: Cosine Map@100
215
  - task:
216
  type: nano-beir
@@ -220,63 +220,63 @@ model-index:
220
  type: NanoBEIR_mean
221
  metrics:
222
  - type: cosine_accuracy@1
223
- value: 0.4
224
  name: Cosine Accuracy@1
225
  - type: cosine_accuracy@3
226
- value: 0.62
227
  name: Cosine Accuracy@3
228
  - type: cosine_accuracy@5
229
- value: 0.6799999999999999
230
  name: Cosine Accuracy@5
231
  - type: cosine_accuracy@10
232
- value: 0.8
233
  name: Cosine Accuracy@10
234
  - type: cosine_precision@1
235
- value: 0.4
236
  name: Cosine Precision@1
237
  - type: cosine_precision@3
238
- value: 0.20666666666666667
239
  name: Cosine Precision@3
240
  - type: cosine_precision@5
241
- value: 0.138
242
  name: Cosine Precision@5
243
  - type: cosine_precision@10
244
- value: 0.08299999999999999
245
  name: Cosine Precision@10
246
  - type: cosine_recall@1
247
- value: 0.39
248
  name: Cosine Recall@1
249
  - type: cosine_recall@3
250
- value: 0.6000000000000001
251
  name: Cosine Recall@3
252
  - type: cosine_recall@5
253
- value: 0.6599999999999999
254
  name: Cosine Recall@5
255
  - type: cosine_recall@10
256
- value: 0.78
257
  name: Cosine Recall@10
258
  - type: cosine_ndcg@10
259
- value: 0.5876204866818153
260
  name: Cosine Ndcg@10
261
  - type: cosine_mrr@10
262
- value: 0.5336349206349207
263
  name: Cosine Mrr@10
264
  - type: cosine_map@100
265
- value: 0.5307752349321291
266
  name: Cosine Map@100
267
  ---
268
 
269
- # SentenceTransformer based on Alibaba-NLP/gte-modernbert-base
270
 
271
- 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.
272
 
273
  ## Model Details
274
 
275
  ### Model Description
276
  - **Model Type:** Sentence Transformer
277
- - **Base model:** [Alibaba-NLP/gte-modernbert-base](https://huggingface.co/Alibaba-NLP/gte-modernbert-base) <!-- at revision e7f32e3c00f91d699e8c43b53106206bcc72bb22 -->
278
  - **Maximum Sequence Length:** 128 tokens
279
- - **Output Dimensionality:** 768 dimensions
280
  - **Similarity Function:** Cosine Similarity
281
  <!-- - **Training Dataset:** Unknown -->
282
  <!-- - **Language:** Unknown -->
@@ -292,8 +292,9 @@ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [A
292
 
293
  ```
294
  SentenceTransformer(
295
- (0): Transformer({'max_seq_length': 128, 'do_lower_case': False, 'architecture': 'ModernBertModel'})
296
- (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})
 
297
  )
298
  ```
299
 
@@ -321,14 +322,14 @@ sentences = [
321
  ]
322
  embeddings = model.encode(sentences)
323
  print(embeddings.shape)
324
- # [3, 768]
325
 
326
  # Get the similarity scores for the embeddings
327
  similarities = model.similarity(embeddings, embeddings)
328
  print(similarities)
329
- # tensor([[1.0000, 1.0000, 0.2374],
330
- # [1.0000, 1.0000, 0.2374],
331
- # [0.2374, 0.2374, 1.0000]])
332
  ```
333
 
334
  <!--
@@ -366,21 +367,21 @@ You can finetune this model on your own dataset.
366
 
367
  | Metric | NanoMSMARCO | NanoNQ |
368
  |:--------------------|:------------|:-----------|
369
- | cosine_accuracy@1 | 0.46 | 0.34 |
370
- | cosine_accuracy@3 | 0.66 | 0.58 |
371
- | cosine_accuracy@5 | 0.7 | 0.66 |
372
- | cosine_accuracy@10 | 0.82 | 0.78 |
373
- | cosine_precision@1 | 0.46 | 0.34 |
374
- | cosine_precision@3 | 0.22 | 0.1933 |
375
- | cosine_precision@5 | 0.14 | 0.136 |
376
- | cosine_precision@10 | 0.082 | 0.084 |
377
- | cosine_recall@1 | 0.46 | 0.32 |
378
- | cosine_recall@3 | 0.66 | 0.54 |
379
- | cosine_recall@5 | 0.7 | 0.62 |
380
- | cosine_recall@10 | 0.82 | 0.74 |
381
- | **cosine_ndcg@10** | **0.6412** | **0.5341** |
382
- | cosine_mrr@10 | 0.5842 | 0.483 |
383
- | cosine_map@100 | 0.5912 | 0.4704 |
384
 
385
  #### Nano BEIR
386
 
@@ -398,21 +399,21 @@ You can finetune this model on your own dataset.
398
 
399
  | Metric | Value |
400
  |:--------------------|:-----------|
401
- | cosine_accuracy@1 | 0.4 |
402
- | cosine_accuracy@3 | 0.62 |
403
- | cosine_accuracy@5 | 0.68 |
404
- | cosine_accuracy@10 | 0.8 |
405
- | cosine_precision@1 | 0.4 |
406
- | cosine_precision@3 | 0.2067 |
407
- | cosine_precision@5 | 0.138 |
408
- | cosine_precision@10 | 0.083 |
409
- | cosine_recall@1 | 0.39 |
410
- | cosine_recall@3 | 0.6 |
411
- | cosine_recall@5 | 0.66 |
412
- | cosine_recall@10 | 0.78 |
413
- | **cosine_ndcg@10** | **0.5876** |
414
- | cosine_mrr@10 | 0.5336 |
415
- | cosine_map@100 | 0.5308 |
416
 
417
  <!--
418
  ## Bias, Risks and Limitations
@@ -438,7 +439,7 @@ You can finetune this model on your own dataset.
438
  | | anchor | positive | negative |
439
  |:--------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
440
  | type | string | string | string |
441
- | details | <ul><li>min: 4 tokens</li><li>mean: 11.17 tokens</li><li>max: 59 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 68.53 tokens</li><li>max: 128 tokens</li></ul> | <ul><li>min: 7 tokens</li><li>mean: 67.56 tokens</li><li>max: 128 tokens</li></ul> |
442
  * Samples:
443
  | anchor | positive | negative |
444
  |:----------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
@@ -464,7 +465,7 @@ You can finetune this model on your own dataset.
464
  | | anchor | positive | negative |
465
  |:--------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
466
  | type | string | string | string |
467
- | details | <ul><li>min: 4 tokens</li><li>mean: 11.35 tokens</li><li>max: 64 tokens</li></ul> | <ul><li>min: 7 tokens</li><li>mean: 68.67 tokens</li><li>max: 128 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 67.03 tokens</li><li>max: 128 tokens</li></ul> |
468
  * Samples:
469
  | anchor | positive | negative |
470
  |:----------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
@@ -629,19 +630,19 @@ You can finetune this model on your own dataset.
629
  ### Training Logs
630
  | Epoch | Step | Training Loss | Validation Loss | NanoMSMARCO_cosine_ndcg@10 | NanoNQ_cosine_ndcg@10 | NanoBEIR_mean_cosine_ndcg@10 |
631
  |:------:|:----:|:-------------:|:---------------:|:--------------------------:|:---------------------:|:----------------------------:|
632
- | 0 | 0 | - | 2.5772 | 0.6530 | 0.6552 | 0.6541 |
633
- | 0.2874 | 250 | 1.4443 | 0.8286 | 0.6168 | 0.5857 | 0.6012 |
634
- | 0.5747 | 500 | 0.7965 | 0.7746 | 0.6253 | 0.5651 | 0.5952 |
635
- | 0.8621 | 750 | 0.7676 | 0.7581 | 0.6431 | 0.5307 | 0.5869 |
636
- | 1.1494 | 1000 | 0.7381 | 0.7493 | 0.6446 | 0.5651 | 0.6048 |
637
- | 1.4368 | 1250 | 0.7166 | 0.7433 | 0.6286 | 0.5574 | 0.5930 |
638
- | 1.7241 | 1500 | 0.7115 | 0.7380 | 0.6370 | 0.5645 | 0.6008 |
639
- | 2.0115 | 1750 | 0.7033 | 0.7349 | 0.6316 | 0.5408 | 0.5862 |
640
- | 2.2989 | 2000 | 0.678 | 0.7360 | 0.6380 | 0.5270 | 0.5825 |
641
- | 2.5862 | 2250 | 0.674 | 0.7345 | 0.6236 | 0.5488 | 0.5862 |
642
- | 2.8736 | 2500 | 0.6669 | 0.7330 | 0.6403 | 0.5472 | 0.5937 |
643
- | 3.1609 | 2750 | 0.6641 | 0.7331 | 0.6221 | 0.5367 | 0.5794 |
644
- | 3.4483 | 3000 | 0.6556 | 0.7334 | 0.6412 | 0.5341 | 0.5876 |
645
 
646
 
647
  ### Framework Versions
 
7
  - generated_from_trainer
8
  - dataset_size:111470
9
  - loss:MultipleNegativesRankingLoss
10
+ base_model: thenlper/gte-small
11
  widget:
12
  - source_sentence: why are some rocks radioactive
13
  sentences:
 
106
  - cosine_mrr@10
107
  - cosine_map@100
108
  model-index:
109
+ - name: SentenceTransformer based on thenlper/gte-small
110
  results:
111
  - task:
112
  type: information-retrieval
 
116
  type: NanoMSMARCO
117
  metrics:
118
  - type: cosine_accuracy@1
119
+ value: 0.36
120
  name: Cosine Accuracy@1
121
  - type: cosine_accuracy@3
122
+ value: 0.54
123
  name: Cosine Accuracy@3
124
  - type: cosine_accuracy@5
125
+ value: 0.68
126
  name: Cosine Accuracy@5
127
  - type: cosine_accuracy@10
128
+ value: 0.7
129
  name: Cosine Accuracy@10
130
  - type: cosine_precision@1
131
+ value: 0.36
132
  name: Cosine Precision@1
133
  - type: cosine_precision@3
134
+ value: 0.18
135
  name: Cosine Precision@3
136
  - type: cosine_precision@5
137
+ value: 0.136
138
  name: Cosine Precision@5
139
  - type: cosine_precision@10
140
+ value: 0.07
141
  name: Cosine Precision@10
142
  - type: cosine_recall@1
143
+ value: 0.36
144
  name: Cosine Recall@1
145
  - type: cosine_recall@3
146
+ value: 0.54
147
  name: Cosine Recall@3
148
  - type: cosine_recall@5
149
+ value: 0.68
150
  name: Cosine Recall@5
151
  - type: cosine_recall@10
152
+ value: 0.7
153
  name: Cosine Recall@10
154
  - type: cosine_ndcg@10
155
+ value: 0.5320160584932276
156
  name: Cosine Ndcg@10
157
  - type: cosine_mrr@10
158
+ value: 0.47755555555555546
159
  name: Cosine Mrr@10
160
  - type: cosine_map@100
161
+ value: 0.4910009714157892
162
  name: Cosine Map@100
163
  - task:
164
  type: information-retrieval
 
168
  type: NanoNQ
169
  metrics:
170
  - type: cosine_accuracy@1
171
+ value: 0.46
172
  name: Cosine Accuracy@1
173
  - type: cosine_accuracy@3
174
+ value: 0.6
175
  name: Cosine Accuracy@3
176
  - type: cosine_accuracy@5
177
+ value: 0.62
178
  name: Cosine Accuracy@5
179
  - type: cosine_accuracy@10
180
+ value: 0.72
181
  name: Cosine Accuracy@10
182
  - type: cosine_precision@1
183
+ value: 0.46
184
  name: Cosine Precision@1
185
  - type: cosine_precision@3
186
+ value: 0.2133333333333333
187
  name: Cosine Precision@3
188
  - type: cosine_precision@5
189
  value: 0.136
190
  name: Cosine Precision@5
191
  - type: cosine_precision@10
192
+ value: 0.07800000000000001
193
  name: Cosine Precision@10
194
  - type: cosine_recall@1
195
+ value: 0.43
196
  name: Cosine Recall@1
197
  - type: cosine_recall@3
198
+ value: 0.58
199
  name: Cosine Recall@3
200
  - type: cosine_recall@5
201
+ value: 0.61
202
  name: Cosine Recall@5
203
  - type: cosine_recall@10
204
+ value: 0.7
205
  name: Cosine Recall@10
206
  - type: cosine_ndcg@10
207
+ value: 0.5714045958976129
208
  name: Cosine Ndcg@10
209
  - type: cosine_mrr@10
210
+ value: 0.5393809523809524
211
  name: Cosine Mrr@10
212
  - type: cosine_map@100
213
+ value: 0.538206389483671
214
  name: Cosine Map@100
215
  - task:
216
  type: nano-beir
 
220
  type: NanoBEIR_mean
221
  metrics:
222
  - type: cosine_accuracy@1
223
+ value: 0.41000000000000003
224
  name: Cosine Accuracy@1
225
  - type: cosine_accuracy@3
226
+ value: 0.5700000000000001
227
  name: Cosine Accuracy@3
228
  - type: cosine_accuracy@5
229
+ value: 0.65
230
  name: Cosine Accuracy@5
231
  - type: cosine_accuracy@10
232
+ value: 0.71
233
  name: Cosine Accuracy@10
234
  - type: cosine_precision@1
235
+ value: 0.41000000000000003
236
  name: Cosine Precision@1
237
  - type: cosine_precision@3
238
+ value: 0.19666666666666666
239
  name: Cosine Precision@3
240
  - type: cosine_precision@5
241
+ value: 0.136
242
  name: Cosine Precision@5
243
  - type: cosine_precision@10
244
+ value: 0.07400000000000001
245
  name: Cosine Precision@10
246
  - type: cosine_recall@1
247
+ value: 0.395
248
  name: Cosine Recall@1
249
  - type: cosine_recall@3
250
+ value: 0.56
251
  name: Cosine Recall@3
252
  - type: cosine_recall@5
253
+ value: 0.645
254
  name: Cosine Recall@5
255
  - type: cosine_recall@10
256
+ value: 0.7
257
  name: Cosine Recall@10
258
  - type: cosine_ndcg@10
259
+ value: 0.5517103271954202
260
  name: Cosine Ndcg@10
261
  - type: cosine_mrr@10
262
+ value: 0.5084682539682539
263
  name: Cosine Mrr@10
264
  - type: cosine_map@100
265
+ value: 0.5146036804497301
266
  name: Cosine Map@100
267
  ---
268
 
269
+ # SentenceTransformer based on thenlper/gte-small
270
 
271
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [thenlper/gte-small](https://huggingface.co/thenlper/gte-small). 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.
272
 
273
  ## Model Details
274
 
275
  ### Model Description
276
  - **Model Type:** Sentence Transformer
277
+ - **Base model:** [thenlper/gte-small](https://huggingface.co/thenlper/gte-small) <!-- at revision 17e1f347d17fe144873b1201da91788898c639cd -->
278
  - **Maximum Sequence Length:** 128 tokens
279
+ - **Output Dimensionality:** 384 dimensions
280
  - **Similarity Function:** Cosine Similarity
281
  <!-- - **Training Dataset:** Unknown -->
282
  <!-- - **Language:** Unknown -->
 
292
 
293
  ```
294
  SentenceTransformer(
295
+ (0): Transformer({'max_seq_length': 128, 'do_lower_case': False, 'architecture': 'BertModel'})
296
+ (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})
297
+ (2): Normalize()
298
  )
299
  ```
300
 
 
322
  ]
323
  embeddings = model.encode(sentences)
324
  print(embeddings.shape)
325
+ # [3, 384]
326
 
327
  # Get the similarity scores for the embeddings
328
  similarities = model.similarity(embeddings, embeddings)
329
  print(similarities)
330
+ # tensor([[1.0000, 1.0000, 0.9760],
331
+ # [1.0000, 1.0000, 0.9760],
332
+ # [0.9760, 0.9760, 1.0000]])
333
  ```
334
 
335
  <!--
 
367
 
368
  | Metric | NanoMSMARCO | NanoNQ |
369
  |:--------------------|:------------|:-----------|
370
+ | cosine_accuracy@1 | 0.36 | 0.46 |
371
+ | cosine_accuracy@3 | 0.54 | 0.6 |
372
+ | cosine_accuracy@5 | 0.68 | 0.62 |
373
+ | cosine_accuracy@10 | 0.7 | 0.72 |
374
+ | cosine_precision@1 | 0.36 | 0.46 |
375
+ | cosine_precision@3 | 0.18 | 0.2133 |
376
+ | cosine_precision@5 | 0.136 | 0.136 |
377
+ | cosine_precision@10 | 0.07 | 0.078 |
378
+ | cosine_recall@1 | 0.36 | 0.43 |
379
+ | cosine_recall@3 | 0.54 | 0.58 |
380
+ | cosine_recall@5 | 0.68 | 0.61 |
381
+ | cosine_recall@10 | 0.7 | 0.7 |
382
+ | **cosine_ndcg@10** | **0.532** | **0.5714** |
383
+ | cosine_mrr@10 | 0.4776 | 0.5394 |
384
+ | cosine_map@100 | 0.491 | 0.5382 |
385
 
386
  #### Nano BEIR
387
 
 
399
 
400
  | Metric | Value |
401
  |:--------------------|:-----------|
402
+ | cosine_accuracy@1 | 0.41 |
403
+ | cosine_accuracy@3 | 0.57 |
404
+ | cosine_accuracy@5 | 0.65 |
405
+ | cosine_accuracy@10 | 0.71 |
406
+ | cosine_precision@1 | 0.41 |
407
+ | cosine_precision@3 | 0.1967 |
408
+ | cosine_precision@5 | 0.136 |
409
+ | cosine_precision@10 | 0.074 |
410
+ | cosine_recall@1 | 0.395 |
411
+ | cosine_recall@3 | 0.56 |
412
+ | cosine_recall@5 | 0.645 |
413
+ | cosine_recall@10 | 0.7 |
414
+ | **cosine_ndcg@10** | **0.5517** |
415
+ | cosine_mrr@10 | 0.5085 |
416
+ | cosine_map@100 | 0.5146 |
417
 
418
  <!--
419
  ## Bias, Risks and Limitations
 
439
  | | anchor | positive | negative |
440
  |:--------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
441
  | type | string | string | string |
442
+ | details | <ul><li>min: 4 tokens</li><li>mean: 10.95 tokens</li><li>max: 60 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 67.57 tokens</li><li>max: 128 tokens</li></ul> | <ul><li>min: 7 tokens</li><li>mean: 66.64 tokens</li><li>max: 128 tokens</li></ul> |
443
  * Samples:
444
  | anchor | positive | negative |
445
  |:----------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
 
465
  | | anchor | positive | negative |
466
  |:--------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
467
  | type | string | string | string |
468
+ | details | <ul><li>min: 4 tokens</li><li>mean: 11.11 tokens</li><li>max: 66 tokens</li></ul> | <ul><li>min: 7 tokens</li><li>mean: 67.99 tokens</li><li>max: 128 tokens</li></ul> | <ul><li>min: 7 tokens</li><li>mean: 66.08 tokens</li><li>max: 128 tokens</li></ul> |
469
  * Samples:
470
  | anchor | positive | negative |
471
  |:----------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
 
630
  ### Training Logs
631
  | Epoch | Step | Training Loss | Validation Loss | NanoMSMARCO_cosine_ndcg@10 | NanoNQ_cosine_ndcg@10 | NanoBEIR_mean_cosine_ndcg@10 |
632
  |:------:|:----:|:-------------:|:---------------:|:--------------------------:|:---------------------:|:----------------------------:|
633
+ | 0 | 0 | - | 4.0678 | 0.6259 | 0.6583 | 0.6421 |
634
+ | 0.2874 | 250 | 3.2728 | 1.0323 | 0.5233 | 0.4878 | 0.5056 |
635
+ | 0.5747 | 500 | 1.1175 | 0.8830 | 0.5421 | 0.5531 | 0.5476 |
636
+ | 0.8621 | 750 | 1.022 | 0.8583 | 0.5397 | 0.5777 | 0.5587 |
637
+ | 1.1494 | 1000 | 0.9806 | 0.8444 | 0.5415 | 0.5703 | 0.5559 |
638
+ | 1.4368 | 1250 | 0.966 | 0.8345 | 0.5315 | 0.5775 | 0.5545 |
639
+ | 1.7241 | 1500 | 0.952 | 0.8284 | 0.5460 | 0.5790 | 0.5625 |
640
+ | 2.0115 | 1750 | 0.9459 | 0.8220 | 0.5338 | 0.5761 | 0.5549 |
641
+ | 2.2989 | 2000 | 0.9299 | 0.8186 | 0.5350 | 0.5720 | 0.5535 |
642
+ | 2.5862 | 2250 | 0.9254 | 0.8156 | 0.5322 | 0.5797 | 0.5559 |
643
+ | 2.8736 | 2500 | 0.9123 | 0.8136 | 0.5322 | 0.5718 | 0.5520 |
644
+ | 3.1609 | 2750 | 0.9204 | 0.8120 | 0.5246 | 0.5714 | 0.5480 |
645
+ | 3.4483 | 3000 | 0.9119 | 0.8116 | 0.5320 | 0.5714 | 0.5517 |
646
 
647
 
648
  ### Framework Versions
config_sentence_transformers.json CHANGED
@@ -1,4 +1,5 @@
1
  {
 
2
  "__version__": {
3
  "sentence_transformers": "5.2.0",
4
  "transformers": "4.57.3",
@@ -9,6 +10,5 @@
9
  "document": ""
10
  },
11
  "default_prompt_name": null,
12
- "similarity_fn_name": "cosine",
13
- "model_type": "SentenceTransformer"
14
  }
 
1
  {
2
+ "model_type": "SentenceTransformer",
3
  "__version__": {
4
  "sentence_transformers": "5.2.0",
5
  "transformers": "4.57.3",
 
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
  ]