leafxyz commited on
Commit
66bb13b
·
verified ·
1 Parent(s): ef2d4f4

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -81,3 +81,4 @@ checkpoint-9000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
81
  checkpoint-9200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
82
  checkpoint-9400/tokenizer.json filter=lfs diff=lfs merge=lfs -text
83
  checkpoint-9600/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
81
  checkpoint-9200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
82
  checkpoint-9400/tokenizer.json filter=lfs diff=lfs merge=lfs -text
83
  checkpoint-9600/tokenizer.json filter=lfs diff=lfs merge=lfs -text
84
+ checkpoint-9800/tokenizer.json filter=lfs diff=lfs merge=lfs -text
checkpoint-9800/1_Pooling/config.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "embedding_dimension": 1024,
3
+ "pooling_mode": "lasttoken",
4
+ "include_prompt": true
5
+ }
checkpoint-9800/README.md ADDED
@@ -0,0 +1,862 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - generated_from_trainer
7
+ - dataset_size:342061
8
+ - loss:CachedMultipleNegativesRankingLoss
9
+ base_model: prestoai/qwen3-embedding-0.6b-arabic-ecom
10
+ widget:
11
+ - source_sentence: 'Instruct: Given an Arabic e-commerce search query, retrieve the
12
+ product that best matches it
13
+
14
+ Query: نسونكس Spray'
15
+ sentences:
16
+ - Nasonex - Nasal Spray
17
+ - كابل شحن مايكرو XKIN - 2.4A
18
+ - حلوى الشوكولاتة - Choco Lapki
19
+ - source_sentence: 'Instruct: Given an Arabic e-commerce search query, retrieve the
20
+ product that best matches it
21
+
22
+ Query: مكرونة رقم 42'
23
+ sentences:
24
+ - بنطلون رجالي - 0112
25
+ - حقيبة حزام خصر - 4862
26
+ - مكرونة الجيد معكوفة رقم 42 - 500 غ
27
+ - source_sentence: 'Instruct: Given an Arabic e-commerce search query, retrieve the
28
+ product that best matches it
29
+
30
+ Query: سباغيتي'
31
+ sentences:
32
+ - ملعب كرة قدم - DD18
33
+ - مكرونة معكوفة - Favelli
34
+ - مكرونة سباغيتي - Favelli
35
+ - source_sentence: 'Instruct: Given an Arabic e-commerce search query, retrieve the
36
+ product that best matches it
37
+
38
+ Query: جبنة هواء'
39
+ sentences:
40
+ - جبنة - ابو الولد
41
+ - جبنة - Hawaa
42
+ - كاني طعام كلاب البالغين دجاج - 3 ك
43
+ - source_sentence: 'Instruct: Given an Arabic e-commerce search query, retrieve the
44
+ product that best matches it
45
+
46
+ Query: شاحن تايب سي للسيارة'
47
+ sentences:
48
+ - شاحن سيارة قرين ليون مدخلين 36 وات مع كابل تايب سي - CBK
49
+ - صوص المكرونة هاينز - 365 غ
50
+ - بسكويت جولون بدون سكر شكلاتة ساندوتش
51
+ pipeline_tag: sentence-similarity
52
+ library_name: sentence-transformers
53
+ ---
54
+
55
+ # SentenceTransformer based on prestoai/qwen3-embedding-0.6b-arabic-ecom
56
+
57
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [prestoai/qwen3-embedding-0.6b-arabic-ecom](https://huggingface.co/prestoai/qwen3-embedding-0.6b-arabic-ecom) on the pairs_with_negatives and positives datasets. It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for retrieval.
58
+
59
+ ## Model Details
60
+
61
+ ### Model Description
62
+ - **Model Type:** Sentence Transformer
63
+ - **Base model:** [prestoai/qwen3-embedding-0.6b-arabic-ecom](https://huggingface.co/prestoai/qwen3-embedding-0.6b-arabic-ecom) <!-- at revision 80f273fd53c6644d65e14a2ac1fbf74b8c924097 -->
64
+ - **Maximum Sequence Length:** 128 tokens
65
+ - **Output Dimensionality:** 1024 dimensions
66
+ - **Similarity Function:** Cosine Similarity
67
+ - **Supported Modality:** Text
68
+ - **Training Datasets:**
69
+ - pairs_with_negatives
70
+ - positives
71
+ <!-- - **Language:** Unknown -->
72
+ <!-- - **License:** Unknown -->
73
+
74
+ ### Model Sources
75
+
76
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
77
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
78
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
79
+
80
+ ### Full Model Architecture
81
+
82
+ ```
83
+ SentenceTransformer(
84
+ (0): Transformer({'transformer_task': 'feature-extraction', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'last_hidden_state'}}, 'module_output_name': 'token_embeddings', 'architecture': 'Qwen3Model'})
85
+ (1): Pooling({'embedding_dimension': 1024, 'pooling_mode': 'lasttoken', 'include_prompt': True})
86
+ (2): Normalize({})
87
+ )
88
+ ```
89
+
90
+ ## Usage
91
+
92
+ ### Direct Usage (Sentence Transformers)
93
+
94
+ First install the Sentence Transformers library:
95
+
96
+ ```bash
97
+ pip install -U sentence-transformers
98
+ ```
99
+ Then you can load this model and run inference.
100
+ ```python
101
+ from sentence_transformers import SentenceTransformer
102
+
103
+ # Download from the 🤗 Hub
104
+ model = SentenceTransformer("sentence_transformers_model_id")
105
+ # Run inference
106
+ queries = [
107
+ 'Instruct: Given an Arabic e-commerce search query, retrieve the product that best matches it\nQuery: شاحن تايب سي للسيارة',
108
+ ]
109
+ documents = [
110
+ 'شاحن سيارة قرين ليون مدخلين 36 وات مع كابل تايب سي - CBK',
111
+ 'بسكويت جولون بدون سكر شكلاتة ساندوتش',
112
+ 'صوص المكرونة هاينز - 365 غ',
113
+ ]
114
+ query_embeddings = model.encode_query(queries)
115
+ document_embeddings = model.encode_document(documents)
116
+ print(query_embeddings.shape, document_embeddings.shape)
117
+ # [1, 1024] [3, 1024]
118
+
119
+ # Get the similarity scores for the embeddings
120
+ similarities = model.similarity(query_embeddings, document_embeddings)
121
+ print(similarities)
122
+ # tensor([[ 0.6852, -0.0607, -0.0515]])
123
+ ```
124
+ <!--
125
+ ### Direct Usage (Transformers)
126
+
127
+ <details><summary>Click to see the direct usage in Transformers</summary>
128
+
129
+ </details>
130
+ -->
131
+
132
+ <!--
133
+ ### Downstream Usage (Sentence Transformers)
134
+
135
+ You can finetune this model on your own dataset.
136
+
137
+ <details><summary>Click to expand</summary>
138
+
139
+ </details>
140
+ -->
141
+
142
+ <!--
143
+ ### Out-of-Scope Use
144
+
145
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
146
+ -->
147
+
148
+ <!--
149
+ ## Bias, Risks and Limitations
150
+
151
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
152
+ -->
153
+
154
+ <!--
155
+ ### Recommendations
156
+
157
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
158
+ -->
159
+
160
+ ## Training Details
161
+
162
+ ### Training Datasets
163
+
164
+ #### pairs_with_negatives
165
+
166
+ * Dataset: pairs_with_negatives
167
+ * Size: 124,261 training samples
168
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
169
+ * Approximate statistics based on the first 1000 samples:
170
+ | | anchor | positive | negative |
171
+ |:--------|:-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
172
+ | type | string | string | string |
173
+ | details | <ul><li>min: 23 tokens</li><li>mean: 29.44 tokens</li><li>max: 42 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 15.95 tokens</li><li>max: 49 tokens</li></ul> | <ul><li>min: 2 tokens</li><li>mean: 14.87 tokens</li><li>max: 40 tokens</li></ul> |
174
+ * Samples:
175
+ | anchor | positive | negative |
176
+ |:--------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------|:-------------------------------------------------------------------|
177
+ | <code>Instruct: Given an Arabic e-commerce search query, retrieve the product that best matches it<br>Query: واقي للوجه دهني</code> | <code>Anthelios Oil Control (Dry Touch) - La Roche Posay</code> | <code>Anthelios Invisible Mist (Dry Touch) - La Roche Posay</code> |
178
+ | <code>Instruct: Given an Arabic e-commerce search query, retrieve the product that best matches it<br>Query: تن منارة زليتن</code> | <code>تن منارة زليتن بزيت دوار الشمس - 160 غ</code> | <code>تن فاني بزيت دوار الشمس - 160 غ</code> |
179
+ | <code>Instruct: Given an Arabic e-commerce search query, retrieve the product that best matches it<br>Query: فانتا زجاجة صغيرة</code> | <code>مشروب فانتا برتقال زجاجة - 330 مل</code> | <code>مشروب فانتا - 1 ل (برتقال)</code> |
180
+ * Loss: [<code>CachedMultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cachedmultiplenegativesrankingloss) with these parameters:
181
+ ```json
182
+ {
183
+ "scale": 20.0,
184
+ "similarity_fct": "cos_sim",
185
+ "mini_batch_size": 8,
186
+ "gather_across_devices": false,
187
+ "directions": [
188
+ "query_to_doc"
189
+ ],
190
+ "partition_mode": "joint",
191
+ "hardness_mode": null,
192
+ "hardness_strength": 0.0
193
+ }
194
+ ```
195
+
196
+ #### positives
197
+
198
+ * Dataset: positives
199
+ * Size: 217,800 training samples
200
+ * Columns: <code>anchor</code> and <code>positive</code>
201
+ * Approximate statistics based on the first 1000 samples:
202
+ | | anchor | positive |
203
+ |:--------|:-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
204
+ | type | string | string |
205
+ | details | <ul><li>min: 23 tokens</li><li>mean: 29.61 tokens</li><li>max: 52 tokens</li></ul> | <ul><li>min: 2 tokens</li><li>mean: 13.81 tokens</li><li>max: 41 tokens</li></ul> |
206
+ * Samples:
207
+ | anchor | positive |
208
+ |:-----------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------|
209
+ | <code>Instruct: Given an Arabic e-commerce search query, retrieve the product that best matches it<br>Query: نحب جبنة القرية</code> | <code>ميرسين جبنة القرية 200 جم</code> |
210
+ | <code>Instruct: Given an Arabic e-commerce search query, retrieve the product that best matches it<br>Query: كابل شحن مايكرو Moxom A2.4</code> | <code>كابل شحن مايكرو Moxom - A2.4</code> |
211
+ | <code>Instruct: Given an Arabic e-commerce search query, retrieve the product that best matches it<br>Query: dry idea</code> | <code>Dry idea (powder fresh)</code> |
212
+ * Loss: [<code>CachedMultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cachedmultiplenegativesrankingloss) with these parameters:
213
+ ```json
214
+ {
215
+ "scale": 20.0,
216
+ "similarity_fct": "cos_sim",
217
+ "mini_batch_size": 8,
218
+ "gather_across_devices": false,
219
+ "directions": [
220
+ "query_to_doc"
221
+ ],
222
+ "partition_mode": "joint",
223
+ "hardness_mode": null,
224
+ "hardness_strength": 0.0
225
+ }
226
+ ```
227
+
228
+ ### Evaluation Datasets
229
+
230
+ #### pairs_with_negatives
231
+
232
+ * Dataset: pairs_with_negatives
233
+ * Size: 1,256 evaluation samples
234
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
235
+ * Approximate statistics based on the first 1000 samples:
236
+ | | anchor | positive | negative |
237
+ |:--------|:-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
238
+ | type | string | string | string |
239
+ | details | <ul><li>min: 23 tokens</li><li>mean: 29.56 tokens</li><li>max: 40 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 16.04 tokens</li><li>max: 43 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 15.05 tokens</li><li>max: 33 tokens</li></ul> |
240
+ * Samples:
241
+ | anchor | positive | negative |
242
+ |:-------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------|:--------------------------------------|
243
+ | <code>Instruct: Given an Arabic e-commerce search query, retrieve the product that best matches it<br>Query: هيبوتك بوزن</code> | <code>عطر Hypnotic Poison - PERFECTO COLLECTION</code> | <code>عطر Poison Girl - Dior</code> |
244
+ | <code>Instruct: Given an Arabic e-commerce search query, retrieve the product that best matches it<br>Query: شاحن مايكرو 2.4A</code> | <code>شحن مايكرو Smila - 2.4A</code> | <code>شحن تايب سي Smila - 2.4A</code> |
245
+ | <code>Instruct: Given an Arabic e-commerce search query, retrieve the product that best matches it<br>Query: تمر صعيدي</code> | <code>تمر صعيدي مشفوط</code> | <code>تمر قصيم مشفوط</code> |
246
+ * Loss: [<code>CachedMultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cachedmultiplenegativesrankingloss) with these parameters:
247
+ ```json
248
+ {
249
+ "scale": 20.0,
250
+ "similarity_fct": "cos_sim",
251
+ "mini_batch_size": 8,
252
+ "gather_across_devices": false,
253
+ "directions": [
254
+ "query_to_doc"
255
+ ],
256
+ "partition_mode": "joint",
257
+ "hardness_mode": null,
258
+ "hardness_strength": 0.0
259
+ }
260
+ ```
261
+
262
+ #### positives
263
+
264
+ * Dataset: positives
265
+ * Size: 2,200 evaluation samples
266
+ * Columns: <code>anchor</code> and <code>positive</code>
267
+ * Approximate statistics based on the first 1000 samples:
268
+ | | anchor | positive |
269
+ |:--------|:-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
270
+ | type | string | string |
271
+ | details | <ul><li>min: 24 tokens</li><li>mean: 29.27 tokens</li><li>max: 42 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 13.61 tokens</li><li>max: 44 tokens</li></ul> |
272
+ * Samples:
273
+ | anchor | positive |
274
+ |:-------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------|
275
+ | <code>Instruct: Given an Arabic e-commerce search query, retrieve the product that best matches it<br>Query: حاملة أدوات القطط</code> | <code>حاملة أدوات القطة - AA04</code> |
276
+ | <code>Instruct: Given an Arabic e-commerce search query, retrieve the product that best matches it<br>Query: كريم شمس أطفال</code> | <code>واقي شمس كريمي - Chicco</code> |
277
+ | <code>Instruct: Given an Arabic e-commerce search query, retrieve the product that best matches it<br>Query: كانديسارتان هيدروكلوروثيازيد</code> | <code>Candesartan and Hydrochlorothiazide 16mg/12.5mg</code> |
278
+ * Loss: [<code>CachedMultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cachedmultiplenegativesrankingloss) with these parameters:
279
+ ```json
280
+ {
281
+ "scale": 20.0,
282
+ "similarity_fct": "cos_sim",
283
+ "mini_batch_size": 8,
284
+ "gather_across_devices": false,
285
+ "directions": [
286
+ "query_to_doc"
287
+ ],
288
+ "partition_mode": "joint",
289
+ "hardness_mode": null,
290
+ "hardness_strength": 0.0
291
+ }
292
+ ```
293
+
294
+ ### Training Hyperparameters
295
+ #### Non-Default Hyperparameters
296
+
297
+ - `per_device_train_batch_size`: 32
298
+ - `learning_rate`: 0.0001
299
+ - `num_train_epochs`: 1
300
+ - `warmup_steps`: 0.05
301
+ - `fp16`: True
302
+
303
+ #### All Hyperparameters
304
+ <details><summary>Click to expand</summary>
305
+
306
+ - `do_predict`: False
307
+ - `prediction_loss_only`: True
308
+ - `per_device_train_batch_size`: 32
309
+ - `per_device_eval_batch_size`: 8
310
+ - `gradient_accumulation_steps`: 1
311
+ - `eval_accumulation_steps`: None
312
+ - `torch_empty_cache_steps`: None
313
+ - `learning_rate`: 0.0001
314
+ - `weight_decay`: 0.0
315
+ - `adam_beta1`: 0.9
316
+ - `adam_beta2`: 0.999
317
+ - `adam_epsilon`: 1e-08
318
+ - `max_grad_norm`: 1.0
319
+ - `num_train_epochs`: 1
320
+ - `max_steps`: -1
321
+ - `lr_scheduler_type`: linear
322
+ - `lr_scheduler_kwargs`: None
323
+ - `warmup_ratio`: None
324
+ - `warmup_steps`: 0.05
325
+ - `log_level`: passive
326
+ - `log_level_replica`: warning
327
+ - `log_on_each_node`: True
328
+ - `logging_nan_inf_filter`: True
329
+ - `enable_jit_checkpoint`: False
330
+ - `save_on_each_node`: False
331
+ - `save_only_model`: False
332
+ - `restore_callback_states_from_checkpoint`: False
333
+ - `use_cpu`: False
334
+ - `seed`: 42
335
+ - `data_seed`: None
336
+ - `bf16`: False
337
+ - `fp16`: True
338
+ - `bf16_full_eval`: False
339
+ - `fp16_full_eval`: False
340
+ - `tf32`: None
341
+ - `local_rank`: -1
342
+ - `ddp_backend`: None
343
+ - `debug`: []
344
+ - `dataloader_drop_last`: False
345
+ - `dataloader_num_workers`: 0
346
+ - `dataloader_prefetch_factor`: None
347
+ - `disable_tqdm`: False
348
+ - `remove_unused_columns`: True
349
+ - `label_names`: None
350
+ - `load_best_model_at_end`: False
351
+ - `ignore_data_skip`: False
352
+ - `fsdp`: []
353
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
354
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
355
+ - `parallelism_config`: None
356
+ - `deepspeed`: None
357
+ - `label_smoothing_factor`: 0.0
358
+ - `optim`: adamw_torch_fused
359
+ - `optim_args`: None
360
+ - `group_by_length`: False
361
+ - `length_column_name`: length
362
+ - `project`: huggingface
363
+ - `trackio_space_id`: trackio
364
+ - `ddp_find_unused_parameters`: None
365
+ - `ddp_bucket_cap_mb`: None
366
+ - `ddp_broadcast_buffers`: False
367
+ - `dataloader_pin_memory`: True
368
+ - `dataloader_persistent_workers`: False
369
+ - `skip_memory_metrics`: True
370
+ - `push_to_hub`: False
371
+ - `resume_from_checkpoint`: None
372
+ - `hub_model_id`: None
373
+ - `hub_strategy`: every_save
374
+ - `hub_private_repo`: None
375
+ - `hub_always_push`: False
376
+ - `hub_revision`: None
377
+ - `gradient_checkpointing`: False
378
+ - `gradient_checkpointing_kwargs`: None
379
+ - `include_for_metrics`: []
380
+ - `eval_do_concat_batches`: True
381
+ - `auto_find_batch_size`: False
382
+ - `full_determinism`: False
383
+ - `ddp_timeout`: 1800
384
+ - `torch_compile`: False
385
+ - `torch_compile_backend`: None
386
+ - `torch_compile_mode`: None
387
+ - `include_num_input_tokens_seen`: no
388
+ - `neftune_noise_alpha`: None
389
+ - `optim_target_modules`: None
390
+ - `batch_eval_metrics`: False
391
+ - `eval_on_start`: False
392
+ - `use_liger_kernel`: False
393
+ - `liger_kernel_config`: None
394
+ - `eval_use_gather_object`: False
395
+ - `average_tokens_across_devices`: True
396
+ - `use_cache`: False
397
+ - `prompts`: None
398
+ - `batch_sampler`: batch_sampler
399
+ - `multi_dataset_batch_sampler`: proportional
400
+ - `router_mapping`: {}
401
+ - `learning_rate_mapping`: {}
402
+
403
+ </details>
404
+
405
+ ### Training Logs
406
+ <details><summary>Click to expand</summary>
407
+
408
+ | Epoch | Step | Training Loss | pairs with negatives loss | positives loss |
409
+ |:------:|:----:|:-------------:|:-------------------------:|:--------------:|
410
+ | 0.0023 | 25 | 0.4772 | - | - |
411
+ | 0.0047 | 50 | 0.4593 | - | - |
412
+ | 0.0070 | 75 | 0.3945 | - | - |
413
+ | 0.0094 | 100 | 0.3752 | - | - |
414
+ | 0.0117 | 125 | 0.4048 | - | - |
415
+ | 0.0140 | 150 | 0.4563 | - | - |
416
+ | 0.0164 | 175 | 0.3492 | - | - |
417
+ | 0.0187 | 200 | 0.4171 | 0.3915 | 0.1481 |
418
+ | 0.0210 | 225 | 0.4297 | - | - |
419
+ | 0.0234 | 250 | 0.4365 | - | - |
420
+ | 0.0257 | 275 | 0.4344 | - | - |
421
+ | 0.0281 | 300 | 0.4184 | - | - |
422
+ | 0.0304 | 325 | 0.4198 | - | - |
423
+ | 0.0327 | 350 | 0.4293 | - | - |
424
+ | 0.0351 | 375 | 0.4759 | - | - |
425
+ | 0.0374 | 400 | 0.3312 | 0.3695 | 0.1180 |
426
+ | 0.0398 | 425 | 0.3887 | - | - |
427
+ | 0.0421 | 450 | 0.4402 | - | - |
428
+ | 0.0444 | 475 | 0.4105 | - | - |
429
+ | 0.0468 | 500 | 0.3923 | - | - |
430
+ | 0.0491 | 525 | 0.3163 | - | - |
431
+ | 0.0514 | 550 | 0.3565 | - | - |
432
+ | 0.0538 | 575 | 0.3707 | - | - |
433
+ | 0.0561 | 600 | 0.3008 | 0.3388 | 0.1086 |
434
+ | 0.0585 | 625 | 0.3594 | - | - |
435
+ | 0.0608 | 650 | 0.3936 | - | - |
436
+ | 0.0631 | 675 | 0.3207 | - | - |
437
+ | 0.0655 | 700 | 0.3371 | - | - |
438
+ | 0.0678 | 725 | 0.3385 | - | - |
439
+ | 0.0702 | 750 | 0.2718 | - | - |
440
+ | 0.0725 | 775 | 0.4429 | - | - |
441
+ | 0.0748 | 800 | 0.2684 | 0.3453 | 0.1043 |
442
+ | 0.0772 | 825 | 0.2539 | - | - |
443
+ | 0.0795 | 850 | 0.3239 | - | - |
444
+ | 0.0818 | 875 | 0.2944 | - | - |
445
+ | 0.0842 | 900 | 0.3067 | - | - |
446
+ | 0.0865 | 925 | 0.3113 | - | - |
447
+ | 0.0889 | 950 | 0.3387 | - | - |
448
+ | 0.0912 | 975 | 0.2735 | - | - |
449
+ | 0.0935 | 1000 | 0.2985 | 0.3211 | 0.0891 |
450
+ | 0.0959 | 1025 | 0.3553 | - | - |
451
+ | 0.0982 | 1050 | 0.2568 | - | - |
452
+ | 0.1006 | 1075 | 0.3447 | - | - |
453
+ | 0.1029 | 1100 | 0.3239 | - | - |
454
+ | 0.1052 | 1125 | 0.3015 | - | - |
455
+ | 0.1076 | 1150 | 0.3865 | - | - |
456
+ | 0.1099 | 1175 | 0.2982 | - | - |
457
+ | 0.1122 | 1200 | 0.3105 | 0.3232 | 0.0829 |
458
+ | 0.1146 | 1225 | 0.2964 | - | - |
459
+ | 0.1169 | 1250 | 0.2417 | - | - |
460
+ | 0.1193 | 1275 | 0.2686 | - | - |
461
+ | 0.1216 | 1300 | 0.2932 | - | - |
462
+ | 0.1239 | 1325 | 0.2383 | - | - |
463
+ | 0.1263 | 1350 | 0.3108 | - | - |
464
+ | 0.1286 | 1375 | 0.3216 | - | - |
465
+ | 0.1310 | 1400 | 0.2083 | 0.3091 | 0.0894 |
466
+ | 0.1333 | 1425 | 0.2933 | - | - |
467
+ | 0.1356 | 1450 | 0.2038 | - | - |
468
+ | 0.1380 | 1475 | 0.2515 | - | - |
469
+ | 0.1403 | 1500 | 0.2643 | - | - |
470
+ | 0.1426 | 1525 | 0.2484 | - | - |
471
+ | 0.1450 | 1550 | 0.3216 | - | - |
472
+ | 0.1473 | 1575 | 0.3265 | - | - |
473
+ | 0.1497 | 1600 | 0.2626 | 0.3166 | 0.0775 |
474
+ | 0.1520 | 1625 | 0.2811 | - | - |
475
+ | 0.1543 | 1650 | 0.2792 | - | - |
476
+ | 0.1567 | 1675 | 0.2888 | - | - |
477
+ | 0.1590 | 1700 | 0.3243 | - | - |
478
+ | 0.1614 | 1725 | 0.2318 | - | - |
479
+ | 0.1637 | 1750 | 0.2943 | - | - |
480
+ | 0.1660 | 1775 | 0.2494 | - | - |
481
+ | 0.1684 | 1800 | 0.3478 | 0.3113 | 0.0751 |
482
+ | 0.1707 | 1825 | 0.3265 | - | - |
483
+ | 0.1730 | 1850 | 0.2933 | - | - |
484
+ | 0.1754 | 1875 | 0.2671 | - | - |
485
+ | 0.1777 | 1900 | 0.2927 | - | - |
486
+ | 0.1801 | 1925 | 0.2939 | - | - |
487
+ | 0.1824 | 1950 | 0.2356 | - | - |
488
+ | 0.1847 | 1975 | 0.2413 | - | - |
489
+ | 0.1871 | 2000 | 0.2026 | 0.2921 | 0.0650 |
490
+ | 0.1894 | 2025 | 0.2663 | - | - |
491
+ | 0.1918 | 2050 | 0.2438 | - | - |
492
+ | 0.1941 | 2075 | 0.2321 | - | - |
493
+ | 0.1964 | 2100 | 0.2482 | - | - |
494
+ | 0.1988 | 2125 | 0.3000 | - | - |
495
+ | 0.2011 | 2150 | 0.1990 | - | - |
496
+ | 0.2034 | 2175 | 0.2393 | - | - |
497
+ | 0.2058 | 2200 | 0.2370 | 0.2844 | 0.0670 |
498
+ | 0.2081 | 2225 | 0.2131 | - | - |
499
+ | 0.2105 | 2250 | 0.2548 | - | - |
500
+ | 0.2128 | 2275 | 0.3016 | - | - |
501
+ | 0.2151 | 2300 | 0.1959 | - | - |
502
+ | 0.2175 | 2325 | 0.2604 | - | - |
503
+ | 0.2198 | 2350 | 0.3141 | - | - |
504
+ | 0.2221 | 2375 | 0.2729 | - | - |
505
+ | 0.2245 | 2400 | 0.2492 | 0.2854 | 0.0640 |
506
+ | 0.2268 | 2425 | 0.2326 | - | - |
507
+ | 0.2292 | 2450 | 0.2850 | - | - |
508
+ | 0.2315 | 2475 | 0.2393 | - | - |
509
+ | 0.2338 | 2500 | 0.2748 | - | - |
510
+ | 0.2362 | 2525 | 0.2289 | - | - |
511
+ | 0.2385 | 2550 | 0.2486 | - | - |
512
+ | 0.2409 | 2575 | 0.2846 | - | - |
513
+ | 0.2432 | 2600 | 0.2027 | 0.2798 | 0.0586 |
514
+ | 0.2455 | 2625 | 0.2336 | - | - |
515
+ | 0.2479 | 2650 | 0.2207 | - | - |
516
+ | 0.2502 | 2675 | 0.2357 | - | - |
517
+ | 0.2525 | 2700 | 0.2132 | - | - |
518
+ | 0.2549 | 2725 | 0.2152 | - | - |
519
+ | 0.2572 | 2750 | 0.2046 | - | - |
520
+ | 0.2596 | 2775 | 0.1824 | - | - |
521
+ | 0.2619 | 2800 | 0.2406 | 0.2775 | 0.0624 |
522
+ | 0.2642 | 2825 | 0.2240 | - | - |
523
+ | 0.2666 | 2850 | 0.2538 | - | - |
524
+ | 0.2689 | 2875 | 0.1901 | - | - |
525
+ | 0.2713 | 2900 | 0.2792 | - | - |
526
+ | 0.2736 | 2925 | 0.2489 | - | - |
527
+ | 0.2759 | 2950 | 0.2371 | - | - |
528
+ | 0.2783 | 2975 | 0.2170 | - | - |
529
+ | 0.2806 | 3000 | 0.2408 | 0.2762 | 0.0570 |
530
+ | 0.2829 | 3025 | 0.1543 | - | - |
531
+ | 0.2853 | 3050 | 0.2858 | - | - |
532
+ | 0.2876 | 3075 | 0.2290 | - | - |
533
+ | 0.2900 | 3100 | 0.3003 | - | - |
534
+ | 0.2923 | 3125 | 0.2143 | - | - |
535
+ | 0.2946 | 3150 | 0.2486 | - | - |
536
+ | 0.2970 | 3175 | 0.2412 | - | - |
537
+ | 0.2993 | 3200 | 0.2683 | 0.2755 | 0.0600 |
538
+ | 0.3017 | 3225 | 0.2805 | - | - |
539
+ | 0.3040 | 3250 | 0.1677 | - | - |
540
+ | 0.3063 | 3275 | 0.2121 | - | - |
541
+ | 0.3087 | 3300 | 0.1980 | - | - |
542
+ | 0.3110 | 3325 | 0.2685 | - | - |
543
+ | 0.3133 | 3350 | 0.2513 | - | - |
544
+ | 0.3157 | 3375 | 0.2237 | - | - |
545
+ | 0.3180 | 3400 | 0.2345 | 0.2724 | 0.0598 |
546
+ | 0.3204 | 3425 | 0.1962 | - | - |
547
+ | 0.3227 | 3450 | 0.2863 | - | - |
548
+ | 0.3250 | 3475 | 0.2069 | - | - |
549
+ | 0.3274 | 3500 | 0.2614 | - | - |
550
+ | 0.3297 | 3525 | 0.2608 | - | - |
551
+ | 0.3321 | 3550 | 0.1719 | - | - |
552
+ | 0.3344 | 3575 | 0.1922 | - | - |
553
+ | 0.3367 | 3600 | 0.2148 | 0.2833 | 0.0574 |
554
+ | 0.3391 | 3625 | 0.2505 | - | - |
555
+ | 0.3414 | 3650 | 0.2786 | - | - |
556
+ | 0.3437 | 3675 | 0.2462 | - | - |
557
+ | 0.3461 | 3700 | 0.2319 | - | - |
558
+ | 0.3484 | 3725 | 0.2415 | - | - |
559
+ | 0.3508 | 3750 | 0.2363 | - | - |
560
+ | 0.3531 | 3775 | 0.1833 | - | - |
561
+ | 0.3554 | 3800 | 0.2266 | 0.2764 | 0.0558 |
562
+ | 0.3578 | 3825 | 0.1910 | - | - |
563
+ | 0.3601 | 3850 | 0.2883 | - | - |
564
+ | 0.3625 | 3875 | 0.1867 | - | - |
565
+ | 0.3648 | 3900 | 0.2211 | - | - |
566
+ | 0.3671 | 3925 | 0.2308 | - | - |
567
+ | 0.3695 | 3950 | 0.2339 | - | - |
568
+ | 0.3718 | 3975 | 0.2290 | - | - |
569
+ | 0.3741 | 4000 | 0.2557 | 0.2681 | 0.0557 |
570
+ | 0.3765 | 4025 | 0.2158 | - | - |
571
+ | 0.3788 | 4050 | 0.2279 | - | - |
572
+ | 0.3812 | 4075 | 0.2348 | - | - |
573
+ | 0.3835 | 4100 | 0.3228 | - | - |
574
+ | 0.3858 | 4125 | 0.2015 | - | - |
575
+ | 0.3882 | 4150 | 0.1773 | - | - |
576
+ | 0.3905 | 4175 | 0.2194 | - | - |
577
+ | 0.3929 | 4200 | 0.2076 | 0.2610 | 0.0545 |
578
+ | 0.3952 | 4225 | 0.2413 | - | - |
579
+ | 0.3975 | 4250 | 0.2106 | - | - |
580
+ | 0.3999 | 4275 | 0.2011 | - | - |
581
+ | 0.4022 | 4300 | 0.2752 | - | - |
582
+ | 0.4045 | 4325 | 0.2190 | - | - |
583
+ | 0.4069 | 4350 | 0.2234 | - | - |
584
+ | 0.4092 | 4375 | 0.2648 | - | - |
585
+ | 0.4116 | 4400 | 0.2325 | 0.2550 | 0.0508 |
586
+ | 0.4139 | 4425 | 0.3020 | - | - |
587
+ | 0.4162 | 4450 | 0.2301 | - | - |
588
+ | 0.4186 | 4475 | 0.1998 | - | - |
589
+ | 0.4209 | 4500 | 0.2532 | - | - |
590
+ | 0.4233 | 4525 | 0.2002 | - | - |
591
+ | 0.4256 | 4550 | 0.2243 | - | - |
592
+ | 0.4279 | 4575 | 0.2274 | - | - |
593
+ | 0.4303 | 4600 | 0.1878 | 0.2571 | 0.0476 |
594
+ | 0.4326 | 4625 | 0.2324 | - | - |
595
+ | 0.4349 | 4650 | 0.1931 | - | - |
596
+ | 0.4373 | 4675 | 0.2420 | - | - |
597
+ | 0.4396 | 4700 | 0.2707 | - | - |
598
+ | 0.4420 | 4725 | 0.2175 | - | - |
599
+ | 0.4443 | 4750 | 0.2280 | - | - |
600
+ | 0.4466 | 4775 | 0.2171 | - | - |
601
+ | 0.4490 | 4800 | 0.2313 | 0.2441 | 0.0505 |
602
+ | 0.4513 | 4825 | 0.2048 | - | - |
603
+ | 0.4537 | 4850 | 0.2170 | - | - |
604
+ | 0.4560 | 4875 | 0.2318 | - | - |
605
+ | 0.4583 | 4900 | 0.2193 | - | - |
606
+ | 0.4607 | 4925 | 0.2338 | - | - |
607
+ | 0.4630 | 4950 | 0.2273 | - | - |
608
+ | 0.4653 | 4975 | 0.2223 | - | - |
609
+ | 0.4677 | 5000 | 0.2221 | 0.2421 | 0.0469 |
610
+ | 0.4700 | 5025 | 0.1880 | - | - |
611
+ | 0.4724 | 5050 | 0.2160 | - | - |
612
+ | 0.4747 | 5075 | 0.2001 | - | - |
613
+ | 0.4770 | 5100 | 0.1970 | - | - |
614
+ | 0.4794 | 5125 | 0.1892 | - | - |
615
+ | 0.4817 | 5150 | 0.2205 | - | - |
616
+ | 0.4841 | 5175 | 0.1817 | - | - |
617
+ | 0.4864 | 5200 | 0.1862 | 0.2394 | 0.0467 |
618
+ | 0.4887 | 5225 | 0.1886 | - | - |
619
+ | 0.4911 | 5250 | 0.2649 | - | - |
620
+ | 0.4934 | 5275 | 0.2546 | - | - |
621
+ | 0.4957 | 5300 | 0.2039 | - | - |
622
+ | 0.4981 | 5325 | 0.1852 | - | - |
623
+ | 0.5004 | 5350 | 0.2487 | - | - |
624
+ | 0.5028 | 5375 | 0.1723 | - | - |
625
+ | 0.5051 | 5400 | 0.1718 | 0.2431 | 0.0469 |
626
+ | 0.5074 | 5425 | 0.1905 | - | - |
627
+ | 0.5098 | 5450 | 0.1800 | - | - |
628
+ | 0.5121 | 5475 | 0.1878 | - | - |
629
+ | 0.5145 | 5500 | 0.2351 | - | - |
630
+ | 0.5168 | 5525 | 0.1957 | - | - |
631
+ | 0.5191 | 5550 | 0.2550 | - | - |
632
+ | 0.5215 | 5575 | 0.1785 | - | - |
633
+ | 0.5238 | 5600 | 0.2594 | 0.2368 | 0.0475 |
634
+ | 0.5261 | 5625 | 0.1563 | - | - |
635
+ | 0.5285 | 5650 | 0.2244 | - | - |
636
+ | 0.5308 | 5675 | 0.2053 | - | - |
637
+ | 0.5332 | 5700 | 0.2576 | - | - |
638
+ | 0.5355 | 5725 | 0.1932 | - | - |
639
+ | 0.5378 | 5750 | 0.2004 | - | - |
640
+ | 0.5402 | 5775 | 0.2284 | - | - |
641
+ | 0.5425 | 5800 | 0.2033 | 0.2334 | 0.0477 |
642
+ | 0.5449 | 5825 | 0.2142 | - | - |
643
+ | 0.5472 | 5850 | 0.1734 | - | - |
644
+ | 0.5495 | 5875 | 0.1504 | - | - |
645
+ | 0.5519 | 5900 | 0.2569 | - | - |
646
+ | 0.5542 | 5925 | 0.2062 | - | - |
647
+ | 0.5565 | 5950 | 0.2186 | - | - |
648
+ | 0.5589 | 5975 | 0.1993 | - | - |
649
+ | 0.5612 | 6000 | 0.2260 | 0.2353 | 0.0470 |
650
+ | 0.5636 | 6025 | 0.2689 | - | - |
651
+ | 0.5659 | 6050 | 0.2504 | - | - |
652
+ | 0.5682 | 6075 | 0.1922 | - | - |
653
+ | 0.5706 | 6100 | 0.2256 | - | - |
654
+ | 0.5729 | 6125 | 0.1792 | - | - |
655
+ | 0.5753 | 6150 | 0.2577 | - | - |
656
+ | 0.5776 | 6175 | 0.2530 | - | - |
657
+ | 0.5799 | 6200 | 0.1786 | 0.2393 | 0.0452 |
658
+ | 0.5823 | 6225 | 0.2169 | - | - |
659
+ | 0.5846 | 6250 | 0.1938 | - | - |
660
+ | 0.5869 | 6275 | 0.1976 | - | - |
661
+ | 0.5893 | 6300 | 0.2118 | - | - |
662
+ | 0.5916 | 6325 | 0.1709 | - | - |
663
+ | 0.5940 | 6350 | 0.1843 | - | - |
664
+ | 0.5963 | 6375 | 0.1393 | - | - |
665
+ | 0.5986 | 6400 | 0.2299 | 0.2363 | 0.0449 |
666
+ | 0.6010 | 6425 | 0.2455 | - | - |
667
+ | 0.6033 | 6450 | 0.2199 | - | - |
668
+ | 0.6056 | 6475 | 0.1670 | - | - |
669
+ | 0.6080 | 6500 | 0.2010 | - | - |
670
+ | 0.6103 | 6525 | 0.2063 | - | - |
671
+ | 0.6127 | 6550 | 0.2197 | - | - |
672
+ | 0.6150 | 6575 | 0.2464 | - | - |
673
+ | 0.6173 | 6600 | 0.1821 | 0.2366 | 0.0445 |
674
+ | 0.6197 | 6625 | 0.2183 | - | - |
675
+ | 0.6220 | 6650 | 0.1417 | - | - |
676
+ | 0.6244 | 6675 | 0.2011 | - | - |
677
+ | 0.6267 | 6700 | 0.1892 | - | - |
678
+ | 0.6290 | 6725 | 0.2117 | - | - |
679
+ | 0.6314 | 6750 | 0.1511 | - | - |
680
+ | 0.6337 | 6775 | 0.2090 | - | - |
681
+ | 0.6360 | 6800 | 0.1923 | 0.2392 | 0.0427 |
682
+ | 0.6384 | 6825 | 0.1810 | - | - |
683
+ | 0.6407 | 6850 | 0.1613 | - | - |
684
+ | 0.6431 | 6875 | 0.2433 | - | - |
685
+ | 0.6454 | 6900 | 0.1593 | - | - |
686
+ | 0.6477 | 6925 | 0.2303 | - | - |
687
+ | 0.6501 | 6950 | 0.1950 | - | - |
688
+ | 0.6524 | 6975 | 0.1894 | - | - |
689
+ | 0.6548 | 7000 | 0.1990 | 0.2314 | 0.0421 |
690
+ | 0.6571 | 7025 | 0.1881 | - | - |
691
+ | 0.6594 | 7050 | 0.1941 | - | - |
692
+ | 0.6618 | 7075 | 0.1712 | - | - |
693
+ | 0.6641 | 7100 | 0.2398 | - | - |
694
+ | 0.6664 | 7125 | 0.2113 | - | - |
695
+ | 0.6688 | 7150 | 0.1361 | - | - |
696
+ | 0.6711 | 7175 | 0.1488 | - | - |
697
+ | 0.6735 | 7200 | 0.2518 | 0.2338 | 0.0429 |
698
+ | 0.6758 | 7225 | 0.2029 | - | - |
699
+ | 0.6781 | 7250 | 0.2350 | - | - |
700
+ | 0.6805 | 7275 | 0.2359 | - | - |
701
+ | 0.6828 | 7300 | 0.2324 | - | - |
702
+ | 0.6852 | 7325 | 0.1804 | - | - |
703
+ | 0.6875 | 7350 | 0.2344 | - | - |
704
+ | 0.6898 | 7375 | 0.1658 | - | - |
705
+ | 0.6922 | 7400 | 0.2431 | 0.2269 | 0.0437 |
706
+ | 0.6945 | 7425 | 0.1419 | - | - |
707
+ | 0.6968 | 7450 | 0.2092 | - | - |
708
+ | 0.6992 | 7475 | 0.2497 | - | - |
709
+ | 0.7015 | 7500 | 0.1736 | - | - |
710
+ | 0.7039 | 7525 | 0.1469 | - | - |
711
+ | 0.7062 | 7550 | 0.1899 | - | - |
712
+ | 0.7085 | 7575 | 0.1854 | - | - |
713
+ | 0.7109 | 7600 | 0.2064 | 0.2261 | 0.0433 |
714
+ | 0.7132 | 7625 | 0.1294 | - | - |
715
+ | 0.7156 | 7650 | 0.1601 | - | - |
716
+ | 0.7179 | 7675 | 0.1663 | - | - |
717
+ | 0.7202 | 7700 | 0.1967 | - | - |
718
+ | 0.7226 | 7725 | 0.1480 | - | - |
719
+ | 0.7249 | 7750 | 0.1937 | - | - |
720
+ | 0.7272 | 7775 | 0.1716 | - | - |
721
+ | 0.7296 | 7800 | 0.2077 | 0.2262 | 0.0439 |
722
+ | 0.7319 | 7825 | 0.2225 | - | - |
723
+ | 0.7343 | 7850 | 0.2039 | - | - |
724
+ | 0.7366 | 7875 | 0.2056 | - | - |
725
+ | 0.7389 | 7900 | 0.1970 | - | - |
726
+ | 0.7413 | 7925 | 0.2406 | - | - |
727
+ | 0.7436 | 7950 | 0.1784 | - | - |
728
+ | 0.7460 | 7975 | 0.1614 | - | - |
729
+ | 0.7483 | 8000 | 0.2377 | 0.2221 | 0.0449 |
730
+ | 0.7506 | 8025 | 0.1978 | - | - |
731
+ | 0.7530 | 8050 | 0.1876 | - | - |
732
+ | 0.7553 | 8075 | 0.1352 | - | - |
733
+ | 0.7576 | 8100 | 0.2114 | - | - |
734
+ | 0.7600 | 8125 | 0.1578 | - | - |
735
+ | 0.7623 | 8150 | 0.2274 | - | - |
736
+ | 0.7647 | 8175 | 0.2199 | - | - |
737
+ | 0.7670 | 8200 | 0.2234 | 0.2272 | 0.0435 |
738
+ | 0.7693 | 8225 | 0.1724 | - | - |
739
+ | 0.7717 | 8250 | 0.1656 | - | - |
740
+ | 0.7740 | 8275 | 0.1687 | - | - |
741
+ | 0.7764 | 8300 | 0.2358 | - | - |
742
+ | 0.7787 | 8325 | 0.2079 | - | - |
743
+ | 0.7810 | 8350 | 0.2063 | - | - |
744
+ | 0.7834 | 8375 | 0.2435 | - | - |
745
+ | 0.7857 | 8400 | 0.1544 | 0.2243 | 0.0424 |
746
+ | 0.7880 | 8425 | 0.1497 | - | - |
747
+ | 0.7904 | 8450 | 0.1938 | - | - |
748
+ | 0.7927 | 8475 | 0.1496 | - | - |
749
+ | 0.7951 | 8500 | 0.1530 | - | - |
750
+ | 0.7974 | 8525 | 0.1984 | - | - |
751
+ | 0.7997 | 8550 | 0.1646 | - | - |
752
+ | 0.8021 | 8575 | 0.1813 | - | - |
753
+ | 0.8044 | 8600 | 0.1722 | 0.2245 | 0.0423 |
754
+ | 0.8068 | 8625 | 0.2557 | - | - |
755
+ | 0.8091 | 8650 | 0.2175 | - | - |
756
+ | 0.8114 | 8675 | 0.1845 | - | - |
757
+ | 0.8138 | 8700 | 0.1734 | - | - |
758
+ | 0.8161 | 8725 | 0.1660 | - | - |
759
+ | 0.8184 | 8750 | 0.1915 | - | - |
760
+ | 0.8208 | 8775 | 0.1553 | - | - |
761
+ | 0.8231 | 8800 | 0.1875 | 0.2209 | 0.0414 |
762
+ | 0.8255 | 8825 | 0.1831 | - | - |
763
+ | 0.8278 | 8850 | 0.2149 | - | - |
764
+ | 0.8301 | 8875 | 0.1948 | - | - |
765
+ | 0.8325 | 8900 | 0.1599 | - | - |
766
+ | 0.8348 | 8925 | 0.1642 | - | - |
767
+ | 0.8372 | 8950 | 0.1799 | - | - |
768
+ | 0.8395 | 8975 | 0.2243 | - | - |
769
+ | 0.8418 | 9000 | 0.1701 | 0.2159 | 0.0420 |
770
+ | 0.8442 | 9025 | 0.2055 | - | - |
771
+ | 0.8465 | 9050 | 0.1869 | - | - |
772
+ | 0.8488 | 9075 | 0.1331 | - | - |
773
+ | 0.8512 | 9100 | 0.2021 | - | - |
774
+ | 0.8535 | 9125 | 0.1842 | - | - |
775
+ | 0.8559 | 9150 | 0.1386 | - | - |
776
+ | 0.8582 | 9175 | 0.1567 | - | - |
777
+ | 0.8605 | 9200 | 0.1775 | 0.2159 | 0.0407 |
778
+ | 0.8629 | 9225 | 0.1798 | - | - |
779
+ | 0.8652 | 9250 | 0.1724 | - | - |
780
+ | 0.8676 | 9275 | 0.2179 | - | - |
781
+ | 0.8699 | 9300 | 0.1428 | - | - |
782
+ | 0.8722 | 9325 | 0.1819 | - | - |
783
+ | 0.8746 | 9350 | 0.1991 | - | - |
784
+ | 0.8769 | 9375 | 0.1618 | - | - |
785
+ | 0.8792 | 9400 | 0.1833 | 0.2173 | 0.0403 |
786
+ | 0.8816 | 9425 | 0.1909 | - | - |
787
+ | 0.8839 | 9450 | 0.1964 | - | - |
788
+ | 0.8863 | 9475 | 0.1741 | - | - |
789
+ | 0.8886 | 9500 | 0.2163 | - | - |
790
+ | 0.8909 | 9525 | 0.1815 | - | - |
791
+ | 0.8933 | 9550 | 0.1854 | - | - |
792
+ | 0.8956 | 9575 | 0.1813 | - | - |
793
+ | 0.8980 | 9600 | 0.2050 | 0.2150 | 0.0400 |
794
+ | 0.9003 | 9625 | 0.1508 | - | - |
795
+ | 0.9026 | 9650 | 0.2091 | - | - |
796
+ | 0.9050 | 9675 | 0.2477 | - | - |
797
+ | 0.9073 | 9700 | 0.1604 | - | - |
798
+ | 0.9096 | 9725 | 0.2051 | - | - |
799
+ | 0.9120 | 9750 | 0.1931 | - | - |
800
+ | 0.9143 | 9775 | 0.1727 | - | - |
801
+ | 0.9167 | 9800 | 0.1735 | 0.2145 | 0.0403 |
802
+
803
+ </details>
804
+
805
+ ### Training Time
806
+ - **Training**: 10.7 hours
807
+
808
+ ### Framework Versions
809
+ - Python: 3.12.13
810
+ - Sentence Transformers: 5.4.1
811
+ - Transformers: 5.0.0
812
+ - PyTorch: 2.10.0+cu128
813
+ - Accelerate: 1.13.0
814
+ - Datasets: 5.0.0
815
+ - Tokenizers: 0.22.2
816
+
817
+ ## Citation
818
+
819
+ ### BibTeX
820
+
821
+ #### Sentence Transformers
822
+ ```bibtex
823
+ @inproceedings{reimers-2019-sentence-bert,
824
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
825
+ author = "Reimers, Nils and Gurevych, Iryna",
826
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
827
+ month = "11",
828
+ year = "2019",
829
+ publisher = "Association for Computational Linguistics",
830
+ url = "https://arxiv.org/abs/1908.10084",
831
+ }
832
+ ```
833
+
834
+ #### CachedMultipleNegativesRankingLoss
835
+ ```bibtex
836
+ @misc{gao2021scaling,
837
+ title={Scaling Deep Contrastive Learning Batch Size under Memory Limited Setup},
838
+ author={Luyu Gao and Yunyi Zhang and Jiawei Han and Jamie Callan},
839
+ year={2021},
840
+ eprint={2101.06983},
841
+ archivePrefix={arXiv},
842
+ primaryClass={cs.LG}
843
+ }
844
+ ```
845
+
846
+ <!--
847
+ ## Glossary
848
+
849
+ *Clearly define terms in order to be accessible across audiences.*
850
+ -->
851
+
852
+ <!--
853
+ ## Model Card Authors
854
+
855
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
856
+ -->
857
+
858
+ <!--
859
+ ## Model Card Contact
860
+
861
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
862
+ -->
checkpoint-9800/adapter_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "prestoai/qwen3-embedding-0.6b-arabic-ecom",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": false,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 16,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": [
33
+ "v_proj",
34
+ "gate_proj",
35
+ "down_proj",
36
+ "o_proj",
37
+ "k_proj",
38
+ "up_proj",
39
+ "q_proj"
40
+ ],
41
+ "target_parameters": null,
42
+ "task_type": "FEATURE_EXTRACTION",
43
+ "trainable_token_indices": null,
44
+ "use_bdlora": null,
45
+ "use_dora": false,
46
+ "use_qalora": false,
47
+ "use_rslora": false
48
+ }
checkpoint-9800/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c0f8253e1377a8d7a766e1f705dfd27318c5b074bf6cff2494e973441e7f3c5
3
+ size 40419816
checkpoint-9800/chat_template.jinja ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
27
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
28
+ {%- elif message.role == "assistant" %}
29
+ {%- set content = message.content %}
30
+ {%- set reasoning_content = '' %}
31
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
32
+ {%- set reasoning_content = message.reasoning_content %}
33
+ {%- else %}
34
+ {%- if '</think>' in message.content %}
35
+ {%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
36
+ {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
37
+ {%- endif %}
38
+ {%- endif %}
39
+ {%- if loop.index0 > ns.last_query_index %}
40
+ {%- if loop.last or (not loop.last and reasoning_content) %}
41
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
42
+ {%- else %}
43
+ {{- '<|im_start|>' + message.role + '\n' + content }}
44
+ {%- endif %}
45
+ {%- else %}
46
+ {{- '<|im_start|>' + message.role + '\n' + content }}
47
+ {%- endif %}
48
+ {%- if message.tool_calls %}
49
+ {%- for tool_call in message.tool_calls %}
50
+ {%- if (loop.first and content) or (not loop.first) %}
51
+ {{- '\n' }}
52
+ {%- endif %}
53
+ {%- if tool_call.function %}
54
+ {%- set tool_call = tool_call.function %}
55
+ {%- endif %}
56
+ {{- '<tool_call>\n{"name": "' }}
57
+ {{- tool_call.name }}
58
+ {{- '", "arguments": ' }}
59
+ {%- if tool_call.arguments is string %}
60
+ {{- tool_call.arguments }}
61
+ {%- else %}
62
+ {{- tool_call.arguments | tojson }}
63
+ {%- endif %}
64
+ {{- '}\n</tool_call>' }}
65
+ {%- endfor %}
66
+ {%- endif %}
67
+ {{- '<|im_end|>\n' }}
68
+ {%- elif message.role == "tool" %}
69
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
70
+ {{- '<|im_start|>user' }}
71
+ {%- endif %}
72
+ {{- '\n<tool_response>\n' }}
73
+ {{- message.content }}
74
+ {{- '\n</tool_response>' }}
75
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
76
+ {{- '<|im_end|>\n' }}
77
+ {%- endif %}
78
+ {%- endif %}
79
+ {%- endfor %}
80
+ {%- if add_generation_prompt %}
81
+ {{- '<|im_start|>assistant\n' }}
82
+ {%- if enable_thinking is defined and enable_thinking is false %}
83
+ {{- '<think>\n\n</think>\n\n' }}
84
+ {%- endif %}
85
+ {%- endif %}
checkpoint-9800/config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "pytorch": "2.10.0+cu128",
4
+ "sentence_transformers": "5.4.1",
5
+ "transformers": "5.0.0"
6
+ },
7
+ "default_prompt_name": null,
8
+ "model_type": "SentenceTransformer",
9
+ "prompts": {
10
+ "document": "",
11
+ "query": "Instruct: Given an Arabic e-commerce search query, retrieve the product that best matches it\nQuery: "
12
+ },
13
+ "similarity_fn_name": "cosine"
14
+ }
checkpoint-9800/modules.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.base.modules.transformer.Transformer"
7
+ },
8
+ {
9
+ "idx": 1,
10
+ "name": "1",
11
+ "path": "1_Pooling",
12
+ "type": "sentence_transformers.sentence_transformer.modules.pooling.Pooling"
13
+ },
14
+ {
15
+ "idx": 2,
16
+ "name": "2",
17
+ "path": "2_Normalize",
18
+ "type": "sentence_transformers.sentence_transformer.modules.normalize.Normalize"
19
+ }
20
+ ]
checkpoint-9800/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16eb303ddbe0cc85dc5c92a8a38ec64507dfc95765b587dff7fc9385aa5473bd
3
+ size 81075515
checkpoint-9800/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76e88e8510d6e267a7fa4d2588cd76b4135e9224b46d02836927736fb1efcb22
3
+ size 14581
checkpoint-9800/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:118598cd33e57f21a3c5c0efc7f15bffeb5153448a22740b8a7a43d9540d2c58
3
+ size 1383
checkpoint-9800/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4deaa896460cc3e46f48b2c5ffe0b3f3c53df901729faf32016e2b555e30bfa4
3
+ size 1465
checkpoint-9800/sentence_bert_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "transformer_task": "feature-extraction",
3
+ "modality_config": {
4
+ "text": {
5
+ "method": "forward",
6
+ "method_output_name": "last_hidden_state"
7
+ }
8
+ },
9
+ "module_output_name": "token_embeddings"
10
+ }
checkpoint-9800/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67b23115c7cace3b6700c333da5038e66e95a9c2c71531b6953563a8c8bb1dee
3
+ size 11423967
checkpoint-9800/tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "is_local": false,
9
+ "local_files_only": false,
10
+ "model_max_length": 128,
11
+ "pad_token": "<|endoftext|>",
12
+ "split_special_tokens": false,
13
+ "tokenizer_class": "Qwen2Tokenizer",
14
+ "unk_token": null
15
+ }
checkpoint-9800/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-9800/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f64c13625404e7e8b2e3825b7c2b388aa17cbed32c8e2be6731de0c81a3f24a0
3
+ size 5457