radoslavralev commited on
Commit
14f9874
·
verified ·
1 Parent(s): 6230d90

Training in progress, step 5000

Browse files
1_Pooling/config.json CHANGED
@@ -1,7 +1,7 @@
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,
 
1
  {
2
+ "word_embedding_dimension": 512,
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,
Information-Retrieval_evaluation_NanoArguAna_results.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accuracy@10,cosine-Precision@1,cosine-Recall@1,cosine-Precision@3,cosine-Recall@3,cosine-Precision@5,cosine-Recall@5,cosine-Precision@10,cosine-Recall@10,cosine-MRR@10,cosine-NDCG@10,cosine-MAP@100
2
+ -1,-1,0.2,0.56,0.74,0.76,0.2,0.2,0.18666666666666668,0.56,0.14800000000000002,0.74,0.07600000000000001,0.76,0.40222222222222215,0.49058314613975507,0.4109932426184554
Information-Retrieval_evaluation_NanoClimateFEVER_results.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accuracy@10,cosine-Precision@1,cosine-Recall@1,cosine-Precision@3,cosine-Recall@3,cosine-Precision@5,cosine-Recall@5,cosine-Precision@10,cosine-Recall@10,cosine-MRR@10,cosine-NDCG@10,cosine-MAP@100
2
+ -1,-1,0.14,0.32,0.48,0.62,0.14,0.05833333333333333,0.12,0.155,0.10400000000000002,0.22066666666666668,0.07400000000000001,0.30733333333333335,0.27213492063492056,0.215125793679731,0.15431110143807805
Information-Retrieval_evaluation_NanoDBPedia_results.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accuracy@10,cosine-Precision@1,cosine-Recall@1,cosine-Precision@3,cosine-Recall@3,cosine-Precision@5,cosine-Recall@5,cosine-Precision@10,cosine-Recall@10,cosine-MRR@10,cosine-NDCG@10,cosine-MAP@100
2
+ -1,-1,0.62,0.84,0.88,0.88,0.62,0.05039842070870112,0.4933333333333333,0.13002690694209756,0.44,0.18830365543570443,0.37199999999999994,0.2679047211992138,0.7323333333333334,0.46809379506385207,0.33243413363446367
Information-Retrieval_evaluation_NanoFEVER_results.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accuracy@10,cosine-Precision@1,cosine-Recall@1,cosine-Precision@3,cosine-Recall@3,cosine-Precision@5,cosine-Recall@5,cosine-Precision@10,cosine-Recall@10,cosine-MRR@10,cosine-NDCG@10,cosine-MAP@100
2
+ -1,-1,0.62,0.88,0.94,0.96,0.62,0.5966666666666667,0.30666666666666664,0.8433333333333333,0.19599999999999995,0.8933333333333333,0.09999999999999998,0.9133333333333333,0.753,0.7821095700854137,0.7330432132878941
Information-Retrieval_evaluation_NanoFiQA2018_results.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accuracy@10,cosine-Precision@1,cosine-Recall@1,cosine-Precision@3,cosine-Recall@3,cosine-Precision@5,cosine-Recall@5,cosine-Precision@10,cosine-Recall@10,cosine-MRR@10,cosine-NDCG@10,cosine-MAP@100
2
+ -1,-1,0.22,0.38,0.54,0.6,0.22,0.11752380952380952,0.15999999999999998,0.21912698412698414,0.14400000000000002,0.34296031746031747,0.088,0.3807380952380952,0.33804761904761904,0.2959832185054632,0.24139316426365195
Information-Retrieval_evaluation_NanoHotpotQA_results.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accuracy@10,cosine-Precision@1,cosine-Recall@1,cosine-Precision@3,cosine-Recall@3,cosine-Precision@5,cosine-Recall@5,cosine-Precision@10,cosine-Recall@10,cosine-MRR@10,cosine-NDCG@10,cosine-MAP@100
2
+ -1,-1,0.6,0.74,0.78,0.86,0.6,0.3,0.32666666666666666,0.49,0.21599999999999994,0.54,0.12599999999999997,0.63,0.6806666666666666,0.5588160498147219,0.47611256957303766
Information-Retrieval_evaluation_NanoMSMARCO_results.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accuracy@10,cosine-Precision@1,cosine-Recall@1,cosine-Precision@3,cosine-Recall@3,cosine-Precision@5,cosine-Recall@5,cosine-Precision@10,cosine-Recall@10,cosine-MRR@10,cosine-NDCG@10,cosine-MAP@100
2
+ -1,-1,0.22,0.5,0.62,0.74,0.22,0.22,0.16666666666666663,0.5,0.124,0.62,0.07400000000000001,0.74,0.39240476190476187,0.47667177266958005,0.406991563991564
Information-Retrieval_evaluation_NanoNFCorpus_results.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accuracy@10,cosine-Precision@1,cosine-Recall@1,cosine-Precision@3,cosine-Recall@3,cosine-Precision@5,cosine-Recall@5,cosine-Precision@10,cosine-Recall@10,cosine-MRR@10,cosine-NDCG@10,cosine-MAP@100
2
+ -1,-1,0.34,0.5,0.58,0.6,0.34,0.01200107748257525,0.3133333333333333,0.042785241025884206,0.292,0.08113445148474485,0.25,0.10803989338634405,0.4345555555555555,0.2802878906182637,0.10597358556555182
Information-Retrieval_evaluation_NanoNQ_results.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accuracy@10,cosine-Precision@1,cosine-Recall@1,cosine-Precision@3,cosine-Recall@3,cosine-Precision@5,cosine-Recall@5,cosine-Precision@10,cosine-Recall@10,cosine-MRR@10,cosine-NDCG@10,cosine-MAP@100
2
+ -1,-1,0.28,0.46,0.56,0.64,0.28,0.27,0.15999999999999998,0.45,0.11600000000000002,0.54,0.066,0.61,0.39785714285714285,0.4442430372694745,0.39869586832265574
Information-Retrieval_evaluation_NanoQuoraRetrieval_results.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accuracy@10,cosine-Precision@1,cosine-Recall@1,cosine-Precision@3,cosine-Recall@3,cosine-Precision@5,cosine-Recall@5,cosine-Precision@10,cosine-Recall@10,cosine-MRR@10,cosine-NDCG@10,cosine-MAP@100
2
+ -1,-1,0.96,1.0,1.0,1.0,0.96,0.8373333333333334,0.4133333333333333,0.9653333333333333,0.264,0.986,0.13999999999999999,1.0,0.9733333333333334,0.9736013358388067,0.958547619047619
Information-Retrieval_evaluation_NanoSCIDOCS_results.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accuracy@10,cosine-Precision@1,cosine-Recall@1,cosine-Precision@3,cosine-Recall@3,cosine-Precision@5,cosine-Recall@5,cosine-Precision@10,cosine-Recall@10,cosine-MRR@10,cosine-NDCG@10,cosine-MAP@100
2
+ -1,-1,0.46,0.64,0.78,0.82,0.46,0.09766666666666668,0.3533333333333333,0.21966666666666665,0.3,0.30966666666666665,0.18799999999999997,0.38666666666666655,0.5706666666666667,0.3818424009361081,0.30532272577213904
Information-Retrieval_evaluation_NanoSciFact_results.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accuracy@10,cosine-Precision@1,cosine-Recall@1,cosine-Precision@3,cosine-Recall@3,cosine-Precision@5,cosine-Recall@5,cosine-Precision@10,cosine-Recall@10,cosine-MRR@10,cosine-NDCG@10,cosine-MAP@100
2
+ -1,-1,0.48,0.6,0.64,0.8,0.48,0.435,0.22666666666666668,0.585,0.148,0.63,0.09,0.79,0.5592777777777777,0.6050538780432089,0.5513100730514523
Information-Retrieval_evaluation_NanoTouche2020_results.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accuracy@10,cosine-Precision@1,cosine-Recall@1,cosine-Precision@3,cosine-Recall@3,cosine-Precision@5,cosine-Recall@5,cosine-Precision@10,cosine-Recall@10,cosine-MRR@10,cosine-NDCG@10,cosine-MAP@100
2
+ -1,-1,0.4489795918367347,0.7142857142857143,0.8367346938775511,0.9795918367346939,0.4489795918367347,0.03145284890764548,0.3877551020408163,0.08052290820807267,0.37959183673469393,0.12752705262749714,0.3285714285714286,0.21259838452857663,0.6169663103336572,0.36562572315623365,0.2636080363851069
NanoBEIR_evaluation_mean_results.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accuracy@10,cosine-Precision@1,cosine-Recall@1,cosine-Precision@3,cosine-Recall@3,cosine-Precision@5,cosine-Recall@5,cosine-Precision@10,cosine-Recall@10,cosine-MRR@10,cosine-NDCG@10,cosine-MAP@100
2
+ -1,-1,0.42992150706436427,0.6257142857142857,0.7212872841444271,0.7891993720565149,0.42992150706436427,0.24818278127867163,0.27803244374672936,0.4031381056643362,0.22089167974882265,0.47843016489807155,0.15173626373626373,0.5466626482835049,0.5479589469487428,0.4875413547554317,0.4106720689962823
README.md CHANGED
@@ -5,232 +5,51 @@ tags:
5
  - feature-extraction
6
  - dense
7
  - generated_from_trainer
8
- - dataset_size:359997
9
  - loss:MultipleNegativesRankingLoss
10
- base_model: sentence-transformers/all-MiniLM-L6-v2
11
  widget:
12
- - source_sentence: When do you use Ms. or Mrs.? Is one for a married woman and one
13
- for one that's not married? Which one is for what?
14
  sentences:
15
- - When do you use Ms. or Mrs.? Is one for a married woman and one for one that's
16
- not married? Which one is for what?
17
- - Nations that do/does otherwise? Which one do I use?
18
- - Why don't bikes have a gear indicator?
19
- - source_sentence: Which ointment is applied to the face of UFC fighters at the commencement
20
- of a bout? What does it do?
21
  sentences:
22
- - How can I save a Snapchat video that others posted?
23
- - Which ointment is applied to the face of UFC fighters at the commencement of a
24
- bout? What does it do?
25
- - How do I get the body of a UFC Fighter?
26
- - source_sentence: Do you love the life you live?
27
  sentences:
28
- - Can I do shoulder and triceps workout on same day? What other combinations like
29
- this can I do?
30
- - Do you love the life you're living?
31
- - Where can you find an online TI-84 calculator?
32
- - source_sentence: Ordered food on Swiggy 3 days ago.After accepting my money, said
33
- no more on Menu! When if ever will I atleast get refund in cr card a/c?
34
  sentences:
35
- - Is getting to the Tel Aviv airport to catch a 5:30 AM flight very expensive?
36
- - How do I die and make it look like an accident?
37
- - Ordered food on Swiggy 3 days ago.After accepting my money, said no more on Menu!
38
- When if ever will I atleast get refund in cr card a/c?
39
- - source_sentence: How do you earn money on Quora?
40
  sentences:
41
- - What is a cheap healthy diet I can keep the same and eat every day?
42
- - What are some things new employees should know going into their first day at Maximus?
43
- - What is the best way to make money on Quora?
44
  pipeline_tag: sentence-similarity
45
  library_name: sentence-transformers
46
- metrics:
47
- - cosine_accuracy@1
48
- - cosine_accuracy@3
49
- - cosine_accuracy@5
50
- - cosine_accuracy@10
51
- - cosine_precision@1
52
- - cosine_precision@3
53
- - cosine_precision@5
54
- - cosine_precision@10
55
- - cosine_recall@1
56
- - cosine_recall@3
57
- - cosine_recall@5
58
- - cosine_recall@10
59
- - cosine_ndcg@10
60
- - cosine_mrr@10
61
- - cosine_map@100
62
- model-index:
63
- - name: SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
64
- results:
65
- - task:
66
- type: information-retrieval
67
- name: Information Retrieval
68
- dataset:
69
- name: NanoMSMARCO
70
- type: NanoMSMARCO
71
- metrics:
72
- - type: cosine_accuracy@1
73
- value: 0.22
74
- name: Cosine Accuracy@1
75
- - type: cosine_accuracy@3
76
- value: 0.5
77
- name: Cosine Accuracy@3
78
- - type: cosine_accuracy@5
79
- value: 0.62
80
- name: Cosine Accuracy@5
81
- - type: cosine_accuracy@10
82
- value: 0.74
83
- name: Cosine Accuracy@10
84
- - type: cosine_precision@1
85
- value: 0.22
86
- name: Cosine Precision@1
87
- - type: cosine_precision@3
88
- value: 0.16666666666666663
89
- name: Cosine Precision@3
90
- - type: cosine_precision@5
91
- value: 0.124
92
- name: Cosine Precision@5
93
- - type: cosine_precision@10
94
- value: 0.07400000000000001
95
- name: Cosine Precision@10
96
- - type: cosine_recall@1
97
- value: 0.22
98
- name: Cosine Recall@1
99
- - type: cosine_recall@3
100
- value: 0.5
101
- name: Cosine Recall@3
102
- - type: cosine_recall@5
103
- value: 0.62
104
- name: Cosine Recall@5
105
- - type: cosine_recall@10
106
- value: 0.74
107
- name: Cosine Recall@10
108
- - type: cosine_ndcg@10
109
- value: 0.47667177266958005
110
- name: Cosine Ndcg@10
111
- - type: cosine_mrr@10
112
- value: 0.39240476190476187
113
- name: Cosine Mrr@10
114
- - type: cosine_map@100
115
- value: 0.406991563991564
116
- name: Cosine Map@100
117
- - task:
118
- type: information-retrieval
119
- name: Information Retrieval
120
- dataset:
121
- name: NanoNQ
122
- type: NanoNQ
123
- metrics:
124
- - type: cosine_accuracy@1
125
- value: 0.28
126
- name: Cosine Accuracy@1
127
- - type: cosine_accuracy@3
128
- value: 0.46
129
- name: Cosine Accuracy@3
130
- - type: cosine_accuracy@5
131
- value: 0.56
132
- name: Cosine Accuracy@5
133
- - type: cosine_accuracy@10
134
- value: 0.64
135
- name: Cosine Accuracy@10
136
- - type: cosine_precision@1
137
- value: 0.28
138
- name: Cosine Precision@1
139
- - type: cosine_precision@3
140
- value: 0.15999999999999998
141
- name: Cosine Precision@3
142
- - type: cosine_precision@5
143
- value: 0.11600000000000002
144
- name: Cosine Precision@5
145
- - type: cosine_precision@10
146
- value: 0.066
147
- name: Cosine Precision@10
148
- - type: cosine_recall@1
149
- value: 0.27
150
- name: Cosine Recall@1
151
- - type: cosine_recall@3
152
- value: 0.45
153
- name: Cosine Recall@3
154
- - type: cosine_recall@5
155
- value: 0.54
156
- name: Cosine Recall@5
157
- - type: cosine_recall@10
158
- value: 0.61
159
- name: Cosine Recall@10
160
- - type: cosine_ndcg@10
161
- value: 0.4442430372694745
162
- name: Cosine Ndcg@10
163
- - type: cosine_mrr@10
164
- value: 0.39785714285714285
165
- name: Cosine Mrr@10
166
- - type: cosine_map@100
167
- value: 0.39869586832265574
168
- name: Cosine Map@100
169
- - task:
170
- type: nano-beir
171
- name: Nano BEIR
172
- dataset:
173
- name: NanoBEIR mean
174
- type: NanoBEIR_mean
175
- metrics:
176
- - type: cosine_accuracy@1
177
- value: 0.25
178
- name: Cosine Accuracy@1
179
- - type: cosine_accuracy@3
180
- value: 0.48
181
- name: Cosine Accuracy@3
182
- - type: cosine_accuracy@5
183
- value: 0.5900000000000001
184
- name: Cosine Accuracy@5
185
- - type: cosine_accuracy@10
186
- value: 0.69
187
- name: Cosine Accuracy@10
188
- - type: cosine_precision@1
189
- value: 0.25
190
- name: Cosine Precision@1
191
- - type: cosine_precision@3
192
- value: 0.1633333333333333
193
- name: Cosine Precision@3
194
- - type: cosine_precision@5
195
- value: 0.12000000000000001
196
- name: Cosine Precision@5
197
- - type: cosine_precision@10
198
- value: 0.07
199
- name: Cosine Precision@10
200
- - type: cosine_recall@1
201
- value: 0.245
202
- name: Cosine Recall@1
203
- - type: cosine_recall@3
204
- value: 0.475
205
- name: Cosine Recall@3
206
- - type: cosine_recall@5
207
- value: 0.5800000000000001
208
- name: Cosine Recall@5
209
- - type: cosine_recall@10
210
- value: 0.675
211
- name: Cosine Recall@10
212
- - type: cosine_ndcg@10
213
- value: 0.46045740496952725
214
- name: Cosine Ndcg@10
215
- - type: cosine_mrr@10
216
- value: 0.39513095238095236
217
- name: Cosine Mrr@10
218
- - type: cosine_map@100
219
- value: 0.4028437161571099
220
- name: Cosine Map@100
221
  ---
222
 
223
- # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
224
 
225
- 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.
226
 
227
  ## Model Details
228
 
229
  ### Model Description
230
  - **Model Type:** Sentence Transformer
231
- - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
232
  - **Maximum Sequence Length:** 128 tokens
233
- - **Output Dimensionality:** 384 dimensions
234
  - **Similarity Function:** Cosine Similarity
235
  <!-- - **Training Dataset:** Unknown -->
236
  <!-- - **Language:** Unknown -->
@@ -247,8 +66,7 @@ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [s
247
  ```
248
  SentenceTransformer(
249
  (0): Transformer({'max_seq_length': 128, 'do_lower_case': False, 'architecture': 'BertModel'})
250
- (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})
251
- (2): Normalize()
252
  )
253
  ```
254
 
@@ -267,23 +85,23 @@ Then you can load this model and run inference.
267
  from sentence_transformers import SentenceTransformer
268
 
269
  # Download from the 🤗 Hub
270
- model = SentenceTransformer("redis/model-a-baseline")
271
  # Run inference
272
  sentences = [
273
- 'How do you earn money on Quora?',
274
- 'What is the best way to make money on Quora?',
275
- 'What are some things new employees should know going into their first day at Maximus?',
276
  ]
277
  embeddings = model.encode(sentences)
278
  print(embeddings.shape)
279
- # [3, 384]
280
 
281
  # Get the similarity scores for the embeddings
282
  similarities = model.similarity(embeddings, embeddings)
283
  print(similarities)
284
- # tensor([[1.0000, 0.9894, 0.0074],
285
- # [0.9894, 1.0000, 0.0136],
286
- # [0.0074, 0.0136, 1.0000]])
287
  ```
288
 
289
  <!--
@@ -310,65 +128,6 @@ You can finetune this model on your own dataset.
310
  *List how the model may foreseeably be misused and address what users ought not to do with the model.*
311
  -->
312
 
313
- ## Evaluation
314
-
315
- ### Metrics
316
-
317
- #### Information Retrieval
318
-
319
- * Datasets: `NanoMSMARCO` and `NanoNQ`
320
- * Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
321
-
322
- | Metric | NanoMSMARCO | NanoNQ |
323
- |:--------------------|:------------|:-----------|
324
- | cosine_accuracy@1 | 0.22 | 0.28 |
325
- | cosine_accuracy@3 | 0.5 | 0.46 |
326
- | cosine_accuracy@5 | 0.62 | 0.56 |
327
- | cosine_accuracy@10 | 0.74 | 0.64 |
328
- | cosine_precision@1 | 0.22 | 0.28 |
329
- | cosine_precision@3 | 0.1667 | 0.16 |
330
- | cosine_precision@5 | 0.124 | 0.116 |
331
- | cosine_precision@10 | 0.074 | 0.066 |
332
- | cosine_recall@1 | 0.22 | 0.27 |
333
- | cosine_recall@3 | 0.5 | 0.45 |
334
- | cosine_recall@5 | 0.62 | 0.54 |
335
- | cosine_recall@10 | 0.74 | 0.61 |
336
- | **cosine_ndcg@10** | **0.4767** | **0.4442** |
337
- | cosine_mrr@10 | 0.3924 | 0.3979 |
338
- | cosine_map@100 | 0.407 | 0.3987 |
339
-
340
- #### Nano BEIR
341
-
342
- * Dataset: `NanoBEIR_mean`
343
- * Evaluated with [<code>NanoBEIREvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.NanoBEIREvaluator) with these parameters:
344
- ```json
345
- {
346
- "dataset_names": [
347
- "msmarco",
348
- "nq"
349
- ],
350
- "dataset_id": "lightonai/NanoBEIR-en"
351
- }
352
- ```
353
-
354
- | Metric | Value |
355
- |:--------------------|:-----------|
356
- | cosine_accuracy@1 | 0.25 |
357
- | cosine_accuracy@3 | 0.48 |
358
- | cosine_accuracy@5 | 0.59 |
359
- | cosine_accuracy@10 | 0.69 |
360
- | cosine_precision@1 | 0.25 |
361
- | cosine_precision@3 | 0.1633 |
362
- | cosine_precision@5 | 0.12 |
363
- | cosine_precision@10 | 0.07 |
364
- | cosine_recall@1 | 0.245 |
365
- | cosine_recall@3 | 0.475 |
366
- | cosine_recall@5 | 0.58 |
367
- | cosine_recall@10 | 0.675 |
368
- | **cosine_ndcg@10** | **0.4605** |
369
- | cosine_mrr@10 | 0.3951 |
370
- | cosine_map@100 | 0.4028 |
371
-
372
  <!--
373
  ## Bias, Risks and Limitations
374
 
@@ -387,49 +146,23 @@ You can finetune this model on your own dataset.
387
 
388
  #### Unnamed Dataset
389
 
390
- * Size: 359,997 training samples
391
- * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
392
- * Approximate statistics based on the first 1000 samples:
393
- | | anchor | positive | negative |
394
- |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
395
- | type | string | string | string |
396
- | details | <ul><li>min: 4 tokens</li><li>mean: 15.46 tokens</li><li>max: 49 tokens</li></ul> | <ul><li>min: 4 tokens</li><li>mean: 15.52 tokens</li><li>max: 49 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 16.99 tokens</li><li>max: 128 tokens</li></ul> |
397
- * Samples:
398
- | anchor | positive | negative |
399
- |:--------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------|
400
- | <code>Shall I upgrade my iPhone 5s to iOS 10 final version?</code> | <code>Should I upgrade an iPhone 5s to iOS 10?</code> | <code>Whether extension of CA-articleship is to be served at same firm/company?</code> |
401
- | <code>Is Donald Trump really going to be the president of United States?</code> | <code>Do you think Donald Trump could conceivably be the next President of the United States?</code> | <code>Since solid carbon dioxide is dry ice and incredibly cold, why doesn't it have an effect on global warming?</code> |
402
- | <code>What are real tips to improve work life balance?</code> | <code>What are the best ways to create a work life balance?</code> | <code>How do you open a briefcase combination lock without the combination?</code> |
403
- * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
404
- ```json
405
- {
406
- "scale": 7.0,
407
- "similarity_fct": "cos_sim",
408
- "gather_across_devices": false
409
- }
410
- ```
411
-
412
- ### Evaluation Dataset
413
-
414
- #### Unnamed Dataset
415
-
416
- * Size: 40,000 evaluation samples
417
- * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
418
  * Approximate statistics based on the first 1000 samples:
419
- | | anchor | positive | negative |
420
- |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
421
- | type | string | string | string |
422
- | details | <ul><li>min: 6 tokens</li><li>mean: 15.71 tokens</li><li>max: 65 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 15.79 tokens</li><li>max: 65 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.97 tokens</li><li>max: 78 tokens</li></ul> |
423
  * Samples:
424
- | anchor | positive | negative |
425
- |:------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------|
426
- | <code>Why were feathered dinosaur fossils only found in the last 20 years?</code> | <code>Why were feathered dinosaur fossils only found in the last 20 years?</code> | <code>Why are only few people aware that many dinosaurs had feathers?</code> |
427
- | <code>If FOX News is the conservative news station, which cable news network is for liberals/progressives?</code> | <code>If FOX News is the conservative news station, which cable news network is for liberals/progressives?</code> | <code>How much did Fox News and conservative leaning media networks stoke the anger that contributed to Donald Trump's popularity?</code> |
428
- | <code>How can guys last longer during sex?</code> | <code>How do I last longer in sex?</code> | <code>What is a permanent solution for rough and puffy hair?</code> |
429
  * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
430
  ```json
431
  {
432
- "scale": 7.0,
433
  "similarity_fct": "cos_sim",
434
  "gather_across_devices": false
435
  }
@@ -438,49 +171,36 @@ You can finetune this model on your own dataset.
438
  ### Training Hyperparameters
439
  #### Non-Default Hyperparameters
440
 
441
- - `eval_strategy`: steps
442
- - `per_device_train_batch_size`: 128
443
- - `per_device_eval_batch_size`: 128
444
- - `learning_rate`: 2e-05
445
- - `weight_decay`: 0.0001
446
- - `max_steps`: 5000
447
- - `warmup_ratio`: 0.1
448
  - `fp16`: True
449
- - `dataloader_drop_last`: True
450
- - `dataloader_num_workers`: 1
451
- - `dataloader_prefetch_factor`: 1
452
- - `load_best_model_at_end`: True
453
- - `optim`: adamw_torch
454
- - `ddp_find_unused_parameters`: False
455
- - `push_to_hub`: True
456
- - `hub_model_id`: redis/model-a-baseline
457
- - `eval_on_start`: True
458
 
459
  #### All Hyperparameters
460
  <details><summary>Click to expand</summary>
461
 
462
  - `overwrite_output_dir`: False
463
  - `do_predict`: False
464
- - `eval_strategy`: steps
465
  - `prediction_loss_only`: True
466
- - `per_device_train_batch_size`: 128
467
- - `per_device_eval_batch_size`: 128
468
  - `per_gpu_train_batch_size`: None
469
  - `per_gpu_eval_batch_size`: None
470
  - `gradient_accumulation_steps`: 1
471
  - `eval_accumulation_steps`: None
472
  - `torch_empty_cache_steps`: None
473
- - `learning_rate`: 2e-05
474
- - `weight_decay`: 0.0001
475
  - `adam_beta1`: 0.9
476
  - `adam_beta2`: 0.999
477
  - `adam_epsilon`: 1e-08
478
- - `max_grad_norm`: 1.0
479
- - `num_train_epochs`: 3.0
480
- - `max_steps`: 5000
481
  - `lr_scheduler_type`: linear
482
  - `lr_scheduler_kwargs`: {}
483
- - `warmup_ratio`: 0.1
484
  - `warmup_steps`: 0
485
  - `log_level`: passive
486
  - `log_level_replica`: warning
@@ -508,14 +228,14 @@ You can finetune this model on your own dataset.
508
  - `tpu_num_cores`: None
509
  - `tpu_metrics_debug`: False
510
  - `debug`: []
511
- - `dataloader_drop_last`: True
512
- - `dataloader_num_workers`: 1
513
- - `dataloader_prefetch_factor`: 1
514
  - `past_index`: -1
515
  - `disable_tqdm`: False
516
  - `remove_unused_columns`: True
517
  - `label_names`: None
518
- - `load_best_model_at_end`: True
519
  - `ignore_data_skip`: False
520
  - `fsdp`: []
521
  - `fsdp_min_num_params`: 0
@@ -525,23 +245,23 @@ You can finetune this model on your own dataset.
525
  - `parallelism_config`: None
526
  - `deepspeed`: None
527
  - `label_smoothing_factor`: 0.0
528
- - `optim`: adamw_torch
529
  - `optim_args`: None
530
  - `adafactor`: False
531
  - `group_by_length`: False
532
  - `length_column_name`: length
533
  - `project`: huggingface
534
  - `trackio_space_id`: trackio
535
- - `ddp_find_unused_parameters`: False
536
  - `ddp_bucket_cap_mb`: None
537
  - `ddp_broadcast_buffers`: False
538
  - `dataloader_pin_memory`: True
539
  - `dataloader_persistent_workers`: False
540
  - `skip_memory_metrics`: True
541
  - `use_legacy_prediction_loop`: False
542
- - `push_to_hub`: True
543
  - `resume_from_checkpoint`: None
544
- - `hub_model_id`: redis/model-a-baseline
545
  - `hub_strategy`: every_save
546
  - `hub_private_repo`: None
547
  - `hub_always_push`: False
@@ -568,43 +288,31 @@ You can finetune this model on your own dataset.
568
  - `neftune_noise_alpha`: None
569
  - `optim_target_modules`: None
570
  - `batch_eval_metrics`: False
571
- - `eval_on_start`: True
572
  - `use_liger_kernel`: False
573
  - `liger_kernel_config`: None
574
  - `eval_use_gather_object`: False
575
  - `average_tokens_across_devices`: True
576
  - `prompts`: None
577
  - `batch_sampler`: batch_sampler
578
- - `multi_dataset_batch_sampler`: proportional
579
  - `router_mapping`: {}
580
  - `learning_rate_mapping`: {}
581
 
582
  </details>
583
 
584
  ### Training Logs
585
- | Epoch | Step | Training Loss | Validation Loss | NanoMSMARCO_cosine_ndcg@10 | NanoNQ_cosine_ndcg@10 | NanoBEIR_mean_cosine_ndcg@10 |
586
- |:------:|:----:|:-------------:|:---------------:|:--------------------------:|:---------------------:|:----------------------------:|
587
- | 0 | 0 | - | 0.5501 | 0.5540 | 0.5931 | 0.5735 |
588
- | 0.0889 | 250 | 0.6218 | 0.4360 | 0.5499 | 0.5725 | 0.5612 |
589
- | 0.1778 | 500 | 0.557 | 0.4231 | 0.5414 | 0.5239 | 0.5326 |
590
- | 0.2667 | 750 | 0.5359 | 0.4146 | 0.5188 | 0.5189 | 0.5188 |
591
- | 0.3556 | 1000 | 0.5213 | 0.4095 | 0.4998 | 0.5138 | 0.5068 |
592
- | 0.4445 | 1250 | 0.51 | 0.4058 | 0.5021 | 0.4988 | 0.5005 |
593
- | 0.5334 | 1500 | 0.5086 | 0.4030 | 0.5040 | 0.4970 | 0.5005 |
594
- | 0.6223 | 1750 | 0.5031 | 0.4002 | 0.4963 | 0.4997 | 0.4980 |
595
- | 0.7112 | 2000 | 0.4964 | 0.3979 | 0.5033 | 0.4880 | 0.4956 |
596
- | 0.8001 | 2250 | 0.4927 | 0.3960 | 0.5077 | 0.4881 | 0.4979 |
597
- | 0.8890 | 2500 | 0.4925 | 0.3946 | 0.4939 | 0.4826 | 0.4882 |
598
- | 0.9780 | 2750 | 0.4889 | 0.3936 | 0.4953 | 0.4778 | 0.4865 |
599
- | 1.0669 | 3000 | 0.4819 | 0.3917 | 0.4838 | 0.4723 | 0.4781 |
600
- | 1.1558 | 3250 | 0.4798 | 0.3910 | 0.4900 | 0.4587 | 0.4743 |
601
- | 1.2447 | 3500 | 0.4773 | 0.3905 | 0.4888 | 0.4557 | 0.4723 |
602
- | 1.3336 | 3750 | 0.476 | 0.3899 | 0.4782 | 0.4512 | 0.4647 |
603
- | 1.4225 | 4000 | 0.4738 | 0.3891 | 0.4873 | 0.4508 | 0.4691 |
604
- | 1.5114 | 4250 | 0.4727 | 0.3887 | 0.4849 | 0.4464 | 0.4657 |
605
- | 1.6003 | 4500 | 0.4737 | 0.3887 | 0.4772 | 0.4482 | 0.4627 |
606
- | 1.6892 | 4750 | 0.4722 | 0.3884 | 0.4810 | 0.4432 | 0.4621 |
607
- | 1.7781 | 5000 | 0.4739 | 0.3883 | 0.4767 | 0.4442 | 0.4605 |
608
 
609
 
610
  ### Framework Versions
 
5
  - feature-extraction
6
  - dense
7
  - generated_from_trainer
8
+ - dataset_size:100000
9
  - loss:MultipleNegativesRankingLoss
10
+ base_model: prajjwal1/bert-small
11
  widget:
12
+ - source_sentence: How do I polish my English skills?
 
13
  sentences:
14
+ - How can we polish English skills?
15
+ - Why should I move to Israel as a Jew?
16
+ - What are vitamins responsible for?
17
+ - source_sentence: Can I use the Kozuka Gothic Pro font as a font-face on my web site?
 
 
18
  sentences:
19
+ - Can I use the Kozuka Gothic Pro font as a font-face on my web site?
20
+ - Why are Google, Facebook, YouTube and other social networking sites banned in
21
+ China?
22
+ - What font is used in Bloomberg Terminal?
23
+ - source_sentence: Is Quora the best Q&A site?
24
  sentences:
25
+ - What was the best Quora question ever?
26
+ - Is Quora the best inquiry site?
27
+ - Where do I buy Oway hair products online?
28
+ - source_sentence: How can I customize my walking speed on Google Maps?
 
 
29
  sentences:
30
+ - How do I bring back Google maps icon in my home screen?
31
+ - How many pages are there in all the Harry Potter books combined?
32
+ - How can I customize my walking speed on Google Maps?
33
+ - source_sentence: DId something exist before the Big Bang?
 
34
  sentences:
35
+ - How can I improve my memory problem?
36
+ - Where can I buy Fairy Tail Manga?
37
+ - Is there a scientific name for what existed before the Big Bang?
38
  pipeline_tag: sentence-similarity
39
  library_name: sentence-transformers
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  ---
41
 
42
+ # SentenceTransformer based on prajjwal1/bert-small
43
 
44
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [prajjwal1/bert-small](https://huggingface.co/prajjwal1/bert-small). It maps sentences & paragraphs to a 512-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
45
 
46
  ## Model Details
47
 
48
  ### Model Description
49
  - **Model Type:** Sentence Transformer
50
+ - **Base model:** [prajjwal1/bert-small](https://huggingface.co/prajjwal1/bert-small) <!-- at revision 0ec5f86f27c1a77d704439db5e01c307ea11b9d4 -->
51
  - **Maximum Sequence Length:** 128 tokens
52
+ - **Output Dimensionality:** 512 dimensions
53
  - **Similarity Function:** Cosine Similarity
54
  <!-- - **Training Dataset:** Unknown -->
55
  <!-- - **Language:** Unknown -->
 
66
  ```
67
  SentenceTransformer(
68
  (0): Transformer({'max_seq_length': 128, 'do_lower_case': False, 'architecture': 'BertModel'})
69
+ (1): Pooling({'word_embedding_dimension': 512, '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})
 
70
  )
71
  ```
72
 
 
85
  from sentence_transformers import SentenceTransformer
86
 
87
  # Download from the 🤗 Hub
88
+ model = SentenceTransformer("sentence_transformers_model_id")
89
  # Run inference
90
  sentences = [
91
+ 'DId something exist before the Big Bang?',
92
+ 'Is there a scientific name for what existed before the Big Bang?',
93
+ 'Where can I buy Fairy Tail Manga?',
94
  ]
95
  embeddings = model.encode(sentences)
96
  print(embeddings.shape)
97
+ # [3, 512]
98
 
99
  # Get the similarity scores for the embeddings
100
  similarities = model.similarity(embeddings, embeddings)
101
  print(similarities)
102
+ # tensor([[ 1.0000, 0.7596, -0.0398],
103
+ # [ 0.7596, 1.0000, -0.0308],
104
+ # [-0.0398, -0.0308, 1.0000]])
105
  ```
106
 
107
  <!--
 
128
  *List how the model may foreseeably be misused and address what users ought not to do with the model.*
129
  -->
130
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
  <!--
132
  ## Bias, Risks and Limitations
133
 
 
146
 
147
  #### Unnamed Dataset
148
 
149
+ * Size: 100,000 training samples
150
+ * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>sentence_2</code>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  * Approximate statistics based on the first 1000 samples:
152
+ | | sentence_0 | sentence_1 | sentence_2 |
153
+ |:--------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
154
+ | type | string | string | string |
155
+ | details | <ul><li>min: 3 tokens</li><li>mean: 15.53 tokens</li><li>max: 59 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 15.5 tokens</li><li>max: 59 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 16.87 tokens</li><li>max: 128 tokens</li></ul> |
156
  * Samples:
157
+ | sentence_0 | sentence_1 | sentence_2 |
158
+ |:----------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------|:-----------------------------------------------------------------------|
159
+ | <code>Is there visitor entry facility in Jaipur airport. How much is the ticket?</code> | <code>Is there visitor entry facility in Jaipur airport. How much is the ticket?</code> | <code>How much is the airport tax in bogota?</code> |
160
+ | <code>Which concept is more important: good planning or hard work?</code> | <code>Which concept is more important: good planning or hard work?</code> | <code>What is important in life: luck or hard work?</code> |
161
+ | <code>What is the most efficient way to make money?</code> | <code>How can I make my money make money?</code> | <code>What can one learn about Quantum Mechanics in 10 minutes?</code> |
162
  * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
163
  ```json
164
  {
165
+ "scale": 20.0,
166
  "similarity_fct": "cos_sim",
167
  "gather_across_devices": false
168
  }
 
171
  ### Training Hyperparameters
172
  #### Non-Default Hyperparameters
173
 
174
+ - `per_device_train_batch_size`: 64
175
+ - `per_device_eval_batch_size`: 64
 
 
 
 
 
176
  - `fp16`: True
177
+ - `multi_dataset_batch_sampler`: round_robin
 
 
 
 
 
 
 
 
178
 
179
  #### All Hyperparameters
180
  <details><summary>Click to expand</summary>
181
 
182
  - `overwrite_output_dir`: False
183
  - `do_predict`: False
184
+ - `eval_strategy`: no
185
  - `prediction_loss_only`: True
186
+ - `per_device_train_batch_size`: 64
187
+ - `per_device_eval_batch_size`: 64
188
  - `per_gpu_train_batch_size`: None
189
  - `per_gpu_eval_batch_size`: None
190
  - `gradient_accumulation_steps`: 1
191
  - `eval_accumulation_steps`: None
192
  - `torch_empty_cache_steps`: None
193
+ - `learning_rate`: 5e-05
194
+ - `weight_decay`: 0.0
195
  - `adam_beta1`: 0.9
196
  - `adam_beta2`: 0.999
197
  - `adam_epsilon`: 1e-08
198
+ - `max_grad_norm`: 1
199
+ - `num_train_epochs`: 3
200
+ - `max_steps`: -1
201
  - `lr_scheduler_type`: linear
202
  - `lr_scheduler_kwargs`: {}
203
+ - `warmup_ratio`: 0.0
204
  - `warmup_steps`: 0
205
  - `log_level`: passive
206
  - `log_level_replica`: warning
 
228
  - `tpu_num_cores`: None
229
  - `tpu_metrics_debug`: False
230
  - `debug`: []
231
+ - `dataloader_drop_last`: False
232
+ - `dataloader_num_workers`: 0
233
+ - `dataloader_prefetch_factor`: None
234
  - `past_index`: -1
235
  - `disable_tqdm`: False
236
  - `remove_unused_columns`: True
237
  - `label_names`: None
238
+ - `load_best_model_at_end`: False
239
  - `ignore_data_skip`: False
240
  - `fsdp`: []
241
  - `fsdp_min_num_params`: 0
 
245
  - `parallelism_config`: None
246
  - `deepspeed`: None
247
  - `label_smoothing_factor`: 0.0
248
+ - `optim`: adamw_torch_fused
249
  - `optim_args`: None
250
  - `adafactor`: False
251
  - `group_by_length`: False
252
  - `length_column_name`: length
253
  - `project`: huggingface
254
  - `trackio_space_id`: trackio
255
+ - `ddp_find_unused_parameters`: None
256
  - `ddp_bucket_cap_mb`: None
257
  - `ddp_broadcast_buffers`: False
258
  - `dataloader_pin_memory`: True
259
  - `dataloader_persistent_workers`: False
260
  - `skip_memory_metrics`: True
261
  - `use_legacy_prediction_loop`: False
262
+ - `push_to_hub`: False
263
  - `resume_from_checkpoint`: None
264
+ - `hub_model_id`: None
265
  - `hub_strategy`: every_save
266
  - `hub_private_repo`: None
267
  - `hub_always_push`: False
 
288
  - `neftune_noise_alpha`: None
289
  - `optim_target_modules`: None
290
  - `batch_eval_metrics`: False
291
+ - `eval_on_start`: False
292
  - `use_liger_kernel`: False
293
  - `liger_kernel_config`: None
294
  - `eval_use_gather_object`: False
295
  - `average_tokens_across_devices`: True
296
  - `prompts`: None
297
  - `batch_sampler`: batch_sampler
298
+ - `multi_dataset_batch_sampler`: round_robin
299
  - `router_mapping`: {}
300
  - `learning_rate_mapping`: {}
301
 
302
  </details>
303
 
304
  ### Training Logs
305
+ | Epoch | Step | Training Loss |
306
+ |:------:|:----:|:-------------:|
307
+ | 0.3199 | 500 | 0.2284 |
308
+ | 0.6398 | 1000 | 0.0571 |
309
+ | 0.9597 | 1500 | 0.0486 |
310
+ | 1.2796 | 2000 | 0.0378 |
311
+ | 1.5995 | 2500 | 0.0367 |
312
+ | 1.9194 | 3000 | 0.0338 |
313
+ | 2.2393 | 3500 | 0.0327 |
314
+ | 2.5592 | 4000 | 0.0285 |
315
+ | 2.8791 | 4500 | 0.0285 |
 
 
 
 
 
 
 
 
 
 
 
 
316
 
317
 
318
  ### Framework Versions
config_sentence_transformers.json CHANGED
@@ -1,10 +1,10 @@
1
  {
 
2
  "__version__": {
3
  "sentence_transformers": "5.2.0",
4
  "transformers": "4.57.3",
5
  "pytorch": "2.9.1+cu128"
6
  },
7
- "model_type": "SentenceTransformer",
8
  "prompts": {
9
  "query": "",
10
  "document": ""
 
1
  {
2
+ "model_type": "SentenceTransformer",
3
  "__version__": {
4
  "sentence_transformers": "5.2.0",
5
  "transformers": "4.57.3",
6
  "pytorch": "2.9.1+cu128"
7
  },
 
8
  "prompts": {
9
  "query": "",
10
  "document": ""
eval/Information-Retrieval_evaluation_NanoMSMARCO_results.csv CHANGED
@@ -20,3 +20,24 @@ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accurac
20
  1.600284495021337,4500,0.22,0.5,0.62,0.74,0.22,0.22,0.16666666666666663,0.5,0.124,0.62,0.07400000000000001,0.74,0.39304761904761903,0.477190878555405,0.4074930244047891
21
  1.689189189189189,4750,0.22,0.5,0.62,0.74,0.22,0.22,0.16666666666666663,0.5,0.124,0.62,0.07400000000000001,0.74,0.3977380952380953,0.4810433177745632,0.41242013542013545
22
  1.7780938833570412,5000,0.22,0.5,0.62,0.74,0.22,0.22,0.16666666666666663,0.5,0.124,0.62,0.07400000000000001,0.74,0.39240476190476187,0.47667177266958005,0.406991563991564
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  1.600284495021337,4500,0.22,0.5,0.62,0.74,0.22,0.22,0.16666666666666663,0.5,0.124,0.62,0.07400000000000001,0.74,0.39304761904761903,0.477190878555405,0.4074930244047891
21
  1.689189189189189,4750,0.22,0.5,0.62,0.74,0.22,0.22,0.16666666666666663,0.5,0.124,0.62,0.07400000000000001,0.74,0.3977380952380953,0.4810433177745632,0.41242013542013545
22
  1.7780938833570412,5000,0.22,0.5,0.62,0.74,0.22,0.22,0.16666666666666663,0.5,0.124,0.62,0.07400000000000001,0.74,0.39240476190476187,0.47667177266958005,0.406991563991564
23
+ 0,0,0.36,0.52,0.58,0.8,0.36,0.36,0.1733333333333333,0.52,0.11599999999999999,0.58,0.08,0.8,0.47960317460317464,0.5539831330912274,0.49062451473627944
24
+ 0.08890469416785206,250,0.36,0.54,0.6,0.78,0.36,0.36,0.18,0.54,0.12000000000000002,0.6,0.07800000000000001,0.78,0.4796904761904762,0.5499073299106572,0.49209218836063345
25
+ 0.17780938833570412,500,0.32,0.56,0.6,0.78,0.32,0.32,0.18666666666666668,0.56,0.12000000000000002,0.6,0.07800000000000001,0.78,0.4677222222222222,0.5413577108177489,0.4802720875316783
26
+ 0.26671408250355616,750,0.28,0.56,0.62,0.76,0.28,0.28,0.18666666666666668,0.56,0.124,0.62,0.07600000000000001,0.76,0.4429920634920635,0.518757208056322,0.4576362150920974
27
+ 0.35561877667140823,1000,0.26,0.54,0.62,0.74,0.26,0.26,0.18,0.54,0.124,0.62,0.07400000000000001,0.74,0.42354761904761906,0.4998350880619619,0.44002758203717285
28
+ 0.4445234708392603,1250,0.26,0.52,0.62,0.76,0.26,0.26,0.1733333333333333,0.52,0.124,0.62,0.07600000000000001,0.76,0.42177777777777775,0.5021229360365677,0.4367610701991507
29
+ 0.5334281650071123,1500,0.28,0.56,0.6,0.74,0.28,0.28,0.18666666666666668,0.56,0.12,0.6,0.07400000000000001,0.74,0.4298253968253969,0.5039792129037896,0.44583465499641967
30
+ 0.6223328591749644,1750,0.26,0.54,0.62,0.74,0.26,0.26,0.18,0.54,0.124,0.62,0.07400000000000001,0.74,0.41935714285714276,0.49633112285022385,0.4356450930963314
31
+ 0.7112375533428165,2000,0.26,0.56,0.6,0.76,0.26,0.26,0.18666666666666668,0.56,0.12000000000000002,0.6,0.07600000000000001,0.76,0.4227460317460318,0.503315188350914,0.4378963655081302
32
+ 0.8001422475106685,2250,0.26,0.56,0.62,0.76,0.26,0.26,0.18666666666666668,0.56,0.124,0.62,0.07600000000000001,0.76,0.42791269841269836,0.5076996338892674,0.44289572267461663
33
+ 0.8890469416785206,2500,0.26,0.52,0.6,0.74,0.26,0.26,0.1733333333333333,0.52,0.12,0.6,0.07400000000000001,0.74,0.4163333333333333,0.4938511148575469,0.43266654452396147
34
+ 0.9779516358463727,2750,0.24,0.52,0.64,0.76,0.24,0.24,0.1733333333333333,0.52,0.128,0.64,0.07600000000000001,0.76,0.4116587301587301,0.49532143492616165,0.42613080702668804
35
+ 1.0668563300142249,3000,0.24,0.52,0.58,0.74,0.24,0.24,0.1733333333333333,0.52,0.11599999999999999,0.58,0.07400000000000001,0.74,0.40285714285714286,0.48383672739823635,0.4186186112614183
36
+ 1.1557610241820768,3250,0.24,0.52,0.62,0.74,0.24,0.24,0.1733333333333333,0.52,0.124,0.62,0.07400000000000001,0.74,0.41002380952380946,0.4899620983176372,0.4249682250117033
37
+ 1.2446657183499288,3500,0.24,0.52,0.64,0.74,0.24,0.24,0.1733333333333333,0.52,0.128,0.64,0.07400000000000001,0.74,0.40835714285714286,0.4888328906655155,0.4232555567129404
38
+ 1.333570412517781,3750,0.22,0.5,0.64,0.74,0.22,0.22,0.16666666666666669,0.5,0.128,0.64,0.07400000000000001,0.74,0.3940714285714286,0.4781611600888875,0.4092852112328826
39
+ 1.422475106685633,4000,0.24,0.52,0.64,0.74,0.24,0.24,0.1733333333333333,0.52,0.128,0.64,0.07400000000000001,0.74,0.40659523809523807,0.48733720181837187,0.4212405538905539
40
+ 1.5113798008534851,4250,0.24,0.5,0.62,0.74,0.24,0.24,0.16666666666666663,0.5,0.124,0.62,0.07400000000000001,0.74,0.4034047619047619,0.484929652614928,0.4181722753854333
41
+ 1.600284495021337,4500,0.22,0.5,0.62,0.74,0.22,0.22,0.16666666666666663,0.5,0.124,0.62,0.07400000000000001,0.74,0.39304761904761903,0.477190878555405,0.4074930244047891
42
+ 1.689189189189189,4750,0.22,0.5,0.62,0.74,0.22,0.22,0.16666666666666663,0.5,0.124,0.62,0.07400000000000001,0.74,0.3977380952380953,0.4810433177745632,0.41242013542013545
43
+ 1.7780938833570412,5000,0.22,0.5,0.62,0.74,0.22,0.22,0.16666666666666663,0.5,0.124,0.62,0.07400000000000001,0.74,0.39240476190476187,0.47667177266958005,0.406991563991564
eval/Information-Retrieval_evaluation_NanoNQ_results.csv CHANGED
@@ -20,3 +20,24 @@ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accurac
20
  1.600284495021337,4500,0.28,0.46,0.56,0.64,0.28,0.27,0.15999999999999998,0.45,0.11600000000000002,0.54,0.066,0.61,0.4007142857142857,0.4481867157733463,0.4052506909192797
21
  1.689189189189189,4750,0.28,0.46,0.56,0.64,0.28,0.27,0.15999999999999998,0.45,0.11600000000000002,0.54,0.066,0.61,0.39452380952380955,0.4432300264150815,0.3986881566666595
22
  1.7780938833570412,5000,0.28,0.46,0.56,0.64,0.28,0.27,0.15999999999999998,0.45,0.11600000000000002,0.54,0.066,0.61,0.39785714285714285,0.4442430372694745,0.39869586832265574
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  1.600284495021337,4500,0.28,0.46,0.56,0.64,0.28,0.27,0.15999999999999998,0.45,0.11600000000000002,0.54,0.066,0.61,0.4007142857142857,0.4481867157733463,0.4052506909192797
21
  1.689189189189189,4750,0.28,0.46,0.56,0.64,0.28,0.27,0.15999999999999998,0.45,0.11600000000000002,0.54,0.066,0.61,0.39452380952380955,0.4432300264150815,0.3986881566666595
22
  1.7780938833570412,5000,0.28,0.46,0.56,0.64,0.28,0.27,0.15999999999999998,0.45,0.11600000000000002,0.54,0.066,0.61,0.39785714285714285,0.4442430372694745,0.39869586832265574
23
+ 0,0,0.48,0.62,0.66,0.72,0.48,0.47,0.21333333333333332,0.6,0.14,0.64,0.07600000000000001,0.7,0.5643571428571428,0.5930818641709092,0.5653172420421086
24
+ 0.08890469416785206,250,0.48,0.58,0.64,0.7,0.48,0.45,0.2,0.56,0.136,0.63,0.07600000000000001,0.69,0.5460238095238095,0.5724533305174622,0.5389600328534404
25
+ 0.17780938833570412,500,0.38,0.52,0.62,0.7,0.38,0.35,0.18,0.5,0.132,0.61,0.076,0.69,0.4826349206349206,0.5238768179719329,0.4745578080189774
26
+ 0.26671408250355616,750,0.4,0.52,0.6,0.66,0.4,0.38,0.18,0.5,0.128,0.59,0.07200000000000001,0.65,0.4843571428571428,0.5189026616282685,0.48412833492656937
27
+ 0.35561877667140823,1000,0.36,0.52,0.64,0.7,0.36,0.34,0.18,0.5,0.14,0.63,0.076,0.69,0.4633571428571429,0.5138465693710441,0.46313936723622007
28
+ 0.4445234708392603,1250,0.34,0.5,0.6,0.68,0.34,0.33,0.1733333333333333,0.48,0.124,0.58,0.07400000000000001,0.67,0.44752380952380943,0.4987798321488323,0.45062469816817646
29
+ 0.5334281650071123,1500,0.32,0.46,0.62,0.7,0.32,0.31,0.15999999999999998,0.45,0.132,0.6,0.076,0.69,0.4369126984126983,0.49702940684789093,0.4409254924835626
30
+ 0.6223328591749644,1750,0.34,0.48,0.6,0.68,0.34,0.33,0.16666666666666663,0.47,0.128,0.58,0.07400000000000001,0.67,0.44704761904761897,0.49972097764614104,0.45107525976111273
31
+ 0.7112375533428165,2000,0.32,0.52,0.58,0.68,0.32,0.31,0.18,0.51,0.12400000000000003,0.57,0.07200000000000001,0.66,0.43690476190476185,0.4879691187930975,0.4384783953201125
32
+ 0.8001422475106685,2250,0.32,0.5,0.6,0.68,0.32,0.31,0.1733333333333333,0.49,0.12400000000000003,0.58,0.07200000000000001,0.66,0.43554761904761896,0.4880679719241573,0.44019636647057736
33
+ 0.8890469416785206,2500,0.32,0.48,0.6,0.66,0.32,0.31,0.16666666666666663,0.47,0.124,0.57,0.07,0.64,0.4351904761904761,0.4825916032080211,0.4397672799380328
34
+ 0.9779516358463727,2750,0.32,0.48,0.58,0.66,0.32,0.31,0.16666666666666663,0.47,0.12,0.56,0.07,0.64,0.43083333333333335,0.4777541962108678,0.4323231266915096
35
+ 1.0668563300142249,3000,0.3,0.48,0.6,0.66,0.3,0.29,0.16666666666666663,0.47,0.124,0.57,0.07,0.64,0.42133333333333334,0.47229255220802463,0.42517218529648076
36
+ 1.1557610241820768,3250,0.3,0.46,0.56,0.64,0.3,0.29,0.15999999999999998,0.45,0.11600000000000002,0.54,0.068,0.62,0.41035714285714286,0.4587252892156562,0.41623585904278976
37
+ 1.2446657183499288,3500,0.3,0.44,0.56,0.64,0.3,0.29,0.15333333333333332,0.43,0.11600000000000002,0.54,0.068,0.62,0.40619047619047616,0.455712047803041,0.4120503380495542
38
+ 1.333570412517781,3750,0.28,0.48,0.56,0.64,0.28,0.27,0.16666666666666663,0.47,0.11600000000000002,0.54,0.068,0.62,0.4,0.4512373531362176,0.40502612367813556
39
+ 1.422475106685633,4000,0.28,0.46,0.58,0.64,0.28,0.27,0.15999999999999998,0.45,0.12,0.55,0.068,0.62,0.40185714285714286,0.4507822235956072,0.40304792384509147
40
+ 1.5113798008534851,4250,0.28,0.46,0.56,0.64,0.28,0.27,0.15999999999999998,0.45,0.11600000000000002,0.54,0.066,0.61,0.4007142857142857,0.4464041552654098,0.40196506995653586
41
+ 1.600284495021337,4500,0.28,0.46,0.56,0.64,0.28,0.27,0.15999999999999998,0.45,0.11600000000000002,0.54,0.066,0.61,0.4007142857142857,0.4481867157733463,0.4052506909192797
42
+ 1.689189189189189,4750,0.28,0.46,0.56,0.64,0.28,0.27,0.15999999999999998,0.45,0.11600000000000002,0.54,0.066,0.61,0.39452380952380955,0.4432300264150815,0.3986881566666595
43
+ 1.7780938833570412,5000,0.28,0.46,0.56,0.64,0.28,0.27,0.15999999999999998,0.45,0.11600000000000002,0.54,0.066,0.61,0.39785714285714285,0.4442430372694745,0.39869586832265574
eval/NanoBEIR_evaluation_mean_results.csv CHANGED
@@ -20,3 +20,24 @@ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accurac
20
  1.600284495021337,4500,0.25,0.48,0.5900000000000001,0.69,0.25,0.245,0.1633333333333333,0.475,0.12000000000000001,0.5800000000000001,0.07,0.675,0.39688095238095233,0.4626887971643756,0.4063718576620344
21
  1.689189189189189,4750,0.25,0.48,0.5900000000000001,0.69,0.25,0.245,0.1633333333333333,0.475,0.12000000000000001,0.5800000000000001,0.07,0.675,0.3961309523809524,0.46213667209482234,0.40555414604339746
22
  1.7780938833570412,5000,0.25,0.48,0.5900000000000001,0.69,0.25,0.245,0.1633333333333333,0.475,0.12000000000000001,0.5800000000000001,0.07,0.675,0.39513095238095236,0.46045740496952725,0.4028437161571099
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  1.600284495021337,4500,0.25,0.48,0.5900000000000001,0.69,0.25,0.245,0.1633333333333333,0.475,0.12000000000000001,0.5800000000000001,0.07,0.675,0.39688095238095233,0.4626887971643756,0.4063718576620344
21
  1.689189189189189,4750,0.25,0.48,0.5900000000000001,0.69,0.25,0.245,0.1633333333333333,0.475,0.12000000000000001,0.5800000000000001,0.07,0.675,0.3961309523809524,0.46213667209482234,0.40555414604339746
22
  1.7780938833570412,5000,0.25,0.48,0.5900000000000001,0.69,0.25,0.245,0.1633333333333333,0.475,0.12000000000000001,0.5800000000000001,0.07,0.675,0.39513095238095236,0.46045740496952725,0.4028437161571099
23
+ 0,0,0.42,0.5700000000000001,0.62,0.76,0.42,0.415,0.1933333333333333,0.56,0.128,0.61,0.07800000000000001,0.75,0.5219801587301587,0.5735324986310684,0.5279708783891941
24
+ 0.08890469416785206,250,0.42,0.56,0.62,0.74,0.42,0.405,0.19,0.55,0.128,0.615,0.07700000000000001,0.735,0.5128571428571429,0.5611803302140597,0.5155261106070369
25
+ 0.17780938833570412,500,0.35,0.54,0.61,0.74,0.35,0.33499999999999996,0.18333333333333335,0.53,0.126,0.605,0.07700000000000001,0.735,0.4751785714285714,0.5326172643948408,0.4774149477753279
26
+ 0.26671408250355616,750,0.34,0.54,0.61,0.71,0.34,0.33,0.18333333333333335,0.53,0.126,0.605,0.07400000000000001,0.7050000000000001,0.4636746031746032,0.5188299348422952,0.4708822750093334
27
+ 0.35561877667140823,1000,0.31,0.53,0.63,0.72,0.31,0.30000000000000004,0.18,0.52,0.132,0.625,0.07500000000000001,0.715,0.443452380952381,0.506840828716503,0.45158347463669646
28
+ 0.4445234708392603,1250,0.30000000000000004,0.51,0.61,0.72,0.30000000000000004,0.29500000000000004,0.1733333333333333,0.5,0.124,0.6,0.07500000000000001,0.7150000000000001,0.4346507936507936,0.5004513840927,0.4436928841836636
29
+ 0.5334281650071123,1500,0.30000000000000004,0.51,0.61,0.72,0.30000000000000004,0.29500000000000004,0.17333333333333334,0.505,0.126,0.6,0.07500000000000001,0.715,0.4333690476190476,0.5005043098758403,0.4433800737399911
30
+ 0.6223328591749644,1750,0.30000000000000004,0.51,0.61,0.71,0.30000000000000004,0.29500000000000004,0.1733333333333333,0.505,0.126,0.6,0.07400000000000001,0.7050000000000001,0.43320238095238084,0.4980260502481825,0.44336017642872205
31
+ 0.7112375533428165,2000,0.29000000000000004,0.54,0.59,0.72,0.29000000000000004,0.28500000000000003,0.18333333333333335,0.535,0.12200000000000003,0.585,0.07400000000000001,0.71,0.42982539682539683,0.4956421535720058,0.43818738041412136
32
+ 0.8001422475106685,2250,0.29000000000000004,0.53,0.61,0.72,0.29000000000000004,0.28500000000000003,0.18,0.525,0.12400000000000001,0.6,0.07400000000000001,0.71,0.43173015873015863,0.49788380290671236,0.441546044572597
33
+ 0.8890469416785206,2500,0.29000000000000004,0.5,0.6,0.7,0.29000000000000004,0.28500000000000003,0.16999999999999998,0.495,0.122,0.585,0.07200000000000001,0.69,0.4257619047619047,0.48822135903278396,0.4362169122309971
34
+ 0.9779516358463727,2750,0.28,0.5,0.61,0.71,0.28,0.275,0.16999999999999998,0.495,0.124,0.6000000000000001,0.07300000000000001,0.7,0.4212460317460317,0.4865378155685147,0.4292269668590988
35
+ 1.0668563300142249,3000,0.27,0.5,0.59,0.7,0.27,0.265,0.16999999999999998,0.495,0.12,0.575,0.07200000000000001,0.69,0.41209523809523807,0.4780646398031305,0.4218953982789495
36
+ 1.1557610241820768,3250,0.27,0.49,0.5900000000000001,0.69,0.27,0.265,0.16666666666666663,0.485,0.12000000000000001,0.5800000000000001,0.07100000000000001,0.6799999999999999,0.41019047619047616,0.4743436937666467,0.4206020420272465
37
+ 1.2446657183499288,3500,0.27,0.48,0.6000000000000001,0.69,0.27,0.265,0.16333333333333333,0.475,0.12200000000000001,0.5900000000000001,0.07100000000000001,0.6799999999999999,0.40727380952380954,0.47227246923427824,0.4176529473812473
38
+ 1.333570412517781,3750,0.25,0.49,0.6000000000000001,0.69,0.25,0.245,0.16666666666666666,0.485,0.12200000000000001,0.5900000000000001,0.07100000000000001,0.6799999999999999,0.39703571428571427,0.4646992566125525,0.4071556674555091
39
+ 1.422475106685633,4000,0.26,0.49,0.61,0.69,0.26,0.255,0.16666666666666663,0.485,0.124,0.595,0.07100000000000001,0.6799999999999999,0.40422619047619046,0.46905971270698954,0.4121442388678227
40
+ 1.5113798008534851,4250,0.26,0.48,0.5900000000000001,0.69,0.26,0.255,0.1633333333333333,0.475,0.12000000000000001,0.5800000000000001,0.07,0.675,0.4020595238095238,0.46566690394016885,0.41006867267098457
41
+ 1.600284495021337,4500,0.25,0.48,0.5900000000000001,0.69,0.25,0.245,0.1633333333333333,0.475,0.12000000000000001,0.5800000000000001,0.07,0.675,0.39688095238095233,0.4626887971643756,0.4063718576620344
42
+ 1.689189189189189,4750,0.25,0.48,0.5900000000000001,0.69,0.25,0.245,0.1633333333333333,0.475,0.12000000000000001,0.5800000000000001,0.07,0.675,0.3961309523809524,0.46213667209482234,0.40555414604339746
43
+ 1.7780938833570412,5000,0.25,0.48,0.5900000000000001,0.69,0.25,0.245,0.1633333333333333,0.475,0.12000000000000001,0.5800000000000001,0.07,0.675,0.39513095238095236,0.46045740496952725,0.4028437161571099
modules.json CHANGED
@@ -10,11 +10,5 @@
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
  ]
 
10
  "name": "1",
11
  "path": "1_Pooling",
12
  "type": "sentence_transformers.models.Pooling"
 
 
 
 
 
 
13
  }
14
  ]