CuongCao commited on
Commit
b8a68e5
·
verified ·
1 Parent(s): b1d244e

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,555 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - cross-encoder
5
+ - reranker
6
+ - generated_from_trainer
7
+ - dataset_size:5400
8
+ - loss:BinaryCrossEntropyLoss
9
+ base_model: BAAI/bge-reranker-v2-m3
10
+ pipeline_tag: text-ranking
11
+ library_name: sentence-transformers
12
+ metrics:
13
+ - map
14
+ - mrr@10
15
+ - ndcg@10
16
+ model-index:
17
+ - name: CrossEncoder based on BAAI/bge-reranker-v2-m3
18
+ results:
19
+ - task:
20
+ type: cross-encoder-reranking
21
+ name: Cross Encoder Reranking
22
+ dataset:
23
+ name: train evaluator
24
+ type: train-evaluator
25
+ metrics:
26
+ - type: map
27
+ value: 0.9935
28
+ name: Map
29
+ - type: mrr@10
30
+ value: 0.9935
31
+ name: Mrr@10
32
+ - type: ndcg@10
33
+ value: 0.9952
34
+ name: Ndcg@10
35
+ - task:
36
+ type: cross-encoder-reranking
37
+ name: Cross Encoder Reranking
38
+ dataset:
39
+ name: test evaluator
40
+ type: test_evaluator
41
+ metrics:
42
+ - type: map
43
+ value: 0.8883
44
+ name: Map
45
+ - type: mrr@10
46
+ value: 0.8883
47
+ name: Mrr@10
48
+ - type: ndcg@10
49
+ value: 0.9166
50
+ name: Ndcg@10
51
+ ---
52
+
53
+ # CrossEncoder based on BAAI/bge-reranker-v2-m3
54
+
55
+ This is a [Cross Encoder](https://www.sbert.net/docs/cross_encoder/usage/usage.html) model finetuned from [BAAI/bge-reranker-v2-m3](https://huggingface.co/BAAI/bge-reranker-v2-m3) using the [sentence-transformers](https://www.SBERT.net) library. It computes scores for pairs of texts, which can be used for text reranking and semantic search.
56
+
57
+ ## Model Details
58
+
59
+ ### Model Description
60
+ - **Model Type:** Cross Encoder
61
+ - **Base model:** [BAAI/bge-reranker-v2-m3](https://huggingface.co/BAAI/bge-reranker-v2-m3) <!-- at revision 953dc6f6f85a1b2dbfca4c34a2796e7dde08d41e -->
62
+ - **Maximum Sequence Length:** 8192 tokens
63
+ - **Number of Output Labels:** 1 label
64
+ - **Supported Modality:** Text
65
+ <!-- - **Training Dataset:** Unknown -->
66
+ <!-- - **Language:** Unknown -->
67
+ <!-- - **License:** Unknown -->
68
+
69
+ ### Model Sources
70
+
71
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
72
+ - **Documentation:** [Cross Encoder Documentation](https://www.sbert.net/docs/cross_encoder/usage/usage.html)
73
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
74
+ - **Hugging Face:** [Cross Encoders on Hugging Face](https://huggingface.co/models?library=sentence-transformers&other=cross-encoder)
75
+
76
+ ### Full Model Architecture
77
+
78
+ ```
79
+ CrossEncoder(
80
+ (0): Transformer({'transformer_task': 'sequence-classification', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'logits'}}, 'module_output_name': 'scores', 'architecture': 'XLMRobertaForSequenceClassification'})
81
+ )
82
+ ```
83
+
84
+ ## Usage
85
+
86
+ ### Direct Usage (Sentence Transformers)
87
+
88
+ First install the Sentence Transformers library:
89
+
90
+ ```bash
91
+ pip install -U sentence-transformers
92
+ ```
93
+
94
+ Then you can load this model and run inference.
95
+ ```python
96
+ from sentence_transformers import CrossEncoder
97
+
98
+ # Download from the 🤗 Hub
99
+ model = CrossEncoder("cross_encoder_model_id")
100
+ # Get scores for pairs of inputs
101
+ pairs = [
102
+ ['Hi, is there a way to show an image once the personalization toggle is on?', "Hi there, This is Hazel from Tepo Support team. I hope your day is going great! Yes, you can ultilize our conditional settings to show an image based on the toggle's selection, as demonstrated on our demo product [here](https://tepo.app/products/conditional-logic) <3 For step-by-step instructions on how to set up conditional settings on your end, please check out our [guide](https://support.tepo.app/en/article/set-up-conditional-logic-1sp9tac/). If you prefer watching than reading, feel free to take a look at our tutorial video [here](https://www.youtube.com/watch?v=7voAaJ2lzkc)"],
103
+ ['Hi, is there a way to show an image once the personalization toggle is on?', "Hello there, I apologize for getting back to you a bit later, as we've been away during non-working hours. I hope your weekend went great! For your information, we have a feature to change the product image based on the option's selection. I have enabled this feature for your store, so feel free to follow our step-by-step instructions [here](https://support.tepo.app/en/article/change-product-images-based-on-selected-options-1831rew/) to set up this feature for your store. Please let me know if you encounter any difficulties. I am more than happy to help!"],
104
+ ['Hi, is there a way to show an image once the personalization toggle is on?', "Hello, Thank you for contacting Tepo Support team! I hope you're having a wonderful day! To enlarge the size of the image swatches, you can refer to our guide [here](https://support.tepo.app/en/article/customize-style-for-app-options-using-css-26kmin/) for step-by-step instructions. This will allow you to make the necessary adjustments on your end. Feel free to give it a try, and if you encounter any difficulties or if coding isn't your forte, please don't hesitate to share the product URL with me. I'll be more than happy to assist further!"],
105
+ ['Hi, is there a way to show an image once the personalization toggle is on?', 'Good day~ This is Robin from Tepo Support team! I hope your day has been amazing so far! To make sure I’m on the same page, when you say getting the older version of the option set, are you referring to undoing some changes after you’ve already hit save? If I’ve misunderstood anything, please don’t hesitate to correct me. I want to make sure I assist you as best as I can!'],
106
+ ['Hi, is there a way to show an image once the personalization toggle is on?', "> Hello there, > This is Hazel from Tepo Support team. I hope your day is going great! > Thanks for sharing your concern with us. Regarding the packing slip, we do have a step-by-step instruction [here](https://support.tepo.app/en/article/how-to-show-options-in-shopify-packing-slip-1dyay7y/) that you can follow more easily on your end. Feel free to give it a try on your end to show Tepo options in your packing slip In Shopify, a courier slip is also known as a packing slip. I've seen that Hazel has sent you the instruction to add the code into the packing slip template to show the TEPO options already. May I ask if you give it a try on your end yet?"],
107
+ ]
108
+ scores = model.predict(pairs)
109
+ print(scores)
110
+ # [9.4035e-01 1.8822e-03 2.3369e-05 2.3369e-05 2.2474e-05]
111
+
112
+ # Or rank different texts based on similarity to a single text
113
+ ranks = model.rank(
114
+ 'Hi, is there a way to show an image once the personalization toggle is on?',
115
+ [
116
+ "Hi there, This is Hazel from Tepo Support team. I hope your day is going great! Yes, you can ultilize our conditional settings to show an image based on the toggle's selection, as demonstrated on our demo product [here](https://tepo.app/products/conditional-logic) <3 For step-by-step instructions on how to set up conditional settings on your end, please check out our [guide](https://support.tepo.app/en/article/set-up-conditional-logic-1sp9tac/). If you prefer watching than reading, feel free to take a look at our tutorial video [here](https://www.youtube.com/watch?v=7voAaJ2lzkc)",
117
+ "Hello there, I apologize for getting back to you a bit later, as we've been away during non-working hours. I hope your weekend went great! For your information, we have a feature to change the product image based on the option's selection. I have enabled this feature for your store, so feel free to follow our step-by-step instructions [here](https://support.tepo.app/en/article/change-product-images-based-on-selected-options-1831rew/) to set up this feature for your store. Please let me know if you encounter any difficulties. I am more than happy to help!",
118
+ "Hello, Thank you for contacting Tepo Support team! I hope you're having a wonderful day! To enlarge the size of the image swatches, you can refer to our guide [here](https://support.tepo.app/en/article/customize-style-for-app-options-using-css-26kmin/) for step-by-step instructions. This will allow you to make the necessary adjustments on your end. Feel free to give it a try, and if you encounter any difficulties or if coding isn't your forte, please don't hesitate to share the product URL with me. I'll be more than happy to assist further!",
119
+ 'Good day~ This is Robin from Tepo Support team! I hope your day has been amazing so far! To make sure I’m on the same page, when you say getting the older version of the option set, are you referring to undoing some changes after you’ve already hit save? If I’ve misunderstood anything, please don’t hesitate to correct me. I want to make sure I assist you as best as I can!',
120
+ "> Hello there, > This is Hazel from Tepo Support team. I hope your day is going great! > Thanks for sharing your concern with us. Regarding the packing slip, we do have a step-by-step instruction [here](https://support.tepo.app/en/article/how-to-show-options-in-shopify-packing-slip-1dyay7y/) that you can follow more easily on your end. Feel free to give it a try on your end to show Tepo options in your packing slip In Shopify, a courier slip is also known as a packing slip. I've seen that Hazel has sent you the instruction to add the code into the packing slip template to show the TEPO options already. May I ask if you give it a try on your end yet?",
121
+ ]
122
+ )
123
+ # [{'corpus_id': ..., 'score': ...}, {'corpus_id': ..., 'score': ...}, ...]
124
+ ```
125
+
126
+ <!--
127
+ ### Direct Usage (Transformers)
128
+
129
+ <details><summary>Click to see the direct usage in Transformers</summary>
130
+
131
+ </details>
132
+ -->
133
+
134
+ <!--
135
+ ### Downstream Usage (Sentence Transformers)
136
+
137
+ You can finetune this model on your own dataset.
138
+
139
+ <details><summary>Click to expand</summary>
140
+
141
+ </details>
142
+ -->
143
+
144
+ <!--
145
+ ### Out-of-Scope Use
146
+
147
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
148
+ -->
149
+
150
+ ## Evaluation
151
+
152
+ ### Metrics
153
+
154
+ #### Cross Encoder Reranking
155
+
156
+ * Datasets: `train-evaluator` and `test_evaluator`
157
+ * Evaluated with [<code>CrossEncoderRerankingEvaluator</code>](https://sbert.net/docs/package_reference/cross_encoder/evaluation.html#sentence_transformers.cross_encoder.evaluation.CrossEncoderRerankingEvaluator) with these parameters:
158
+ ```json
159
+ {
160
+ "at_k": 10,
161
+ "always_rerank_positives": false
162
+ }
163
+ ```
164
+
165
+ | Metric | train-evaluator | test_evaluator |
166
+ |:------------|:---------------------|:---------------------|
167
+ | map | 0.9935 (-0.0065) | 0.8883 (-0.1117) |
168
+ | mrr@10 | 0.9935 (-0.0065) | 0.8883 (-0.1117) |
169
+ | **ndcg@10** | **0.9952 (-0.0048)** | **0.9166 (-0.0834)** |
170
+
171
+ <!--
172
+ ## Bias, Risks and Limitations
173
+
174
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
175
+ -->
176
+
177
+ <!--
178
+ ### Recommendations
179
+
180
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
181
+ -->
182
+
183
+ ## Training Details
184
+
185
+ ### Training Dataset
186
+
187
+ #### Unnamed Dataset
188
+
189
+ * Size: 5,400 training samples
190
+ * Columns: <code>sentence1</code>, <code>sentence2</code>, and <code>label</code>
191
+ * Approximate statistics based on the first 1000 samples:
192
+ | | sentence1 | sentence2 | label |
193
+ |:--------|:-----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:---------------------------------------------------------------|
194
+ | type | string | string | float |
195
+ | details | <ul><li>min: 9 tokens</li><li>mean: 55.62 tokens</li><li>max: 487 tokens</li></ul> | <ul><li>min: 36 tokens</li><li>mean: 169.9 tokens</li><li>max: 968 tokens</li></ul> | <ul><li>min: 0.0</li><li>mean: 0.17</li><li>max: 1.0</li></ul> |
196
+ * Samples:
197
+ | sentence1 | sentence2 | label |
198
+ |:----------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------|
199
+ | <code>Hi, is there a way to show an image once the personalization toggle is on?</code> | <code>Hi there, This is Hazel from Tepo Support team. I hope your day is going great! Yes, you can ultilize our conditional settings to show an image based on the toggle's selection, as demonstrated on our demo product [here](https://tepo.app/products/conditional-logic) <3 For step-by-step instructions on how to set up conditional settings on your end, please check out our [guide](https://support.tepo.app/en/article/set-up-conditional-logic-1sp9tac/). If you prefer watching than reading, feel free to take a look at our tutorial video [here](https://www.youtube.com/watch?v=7voAaJ2lzkc)</code> | <code>1.0</code> |
200
+ | <code>Hi, is there a way to show an image once the personalization toggle is on?</code> | <code>Hello there, I apologize for getting back to you a bit later, as we've been away during non-working hours. I hope your weekend went great! For your information, we have a feature to change the product image based on the option's selection. I have enabled this feature for your store, so feel free to follow our step-by-step instructions [here](https://support.tepo.app/en/article/change-product-images-based-on-selected-options-1831rew/) to set up this feature for your store. Please let me know if you encounter any difficulties. I am more than happy to help!</code> | <code>0.0</code> |
201
+ | <code>Hi, is there a way to show an image once the personalization toggle is on?</code> | <code>Hello, Thank you for contacting Tepo Support team! I hope you're having a wonderful day! To enlarge the size of the image swatches, you can refer to our guide [here](https://support.tepo.app/en/article/customize-style-for-app-options-using-css-26kmin/) for step-by-step instructions. This will allow you to make the necessary adjustments on your end. Feel free to give it a try, and if you encounter any difficulties or if coding isn't your forte, please don't hesitate to share the product URL with me. I'll be more than happy to assist further!</code> | <code>0.0</code> |
202
+ * Loss: [<code>BinaryCrossEntropyLoss</code>](https://sbert.net/docs/package_reference/cross_encoder/losses.html#binarycrossentropyloss) with these parameters:
203
+ ```json
204
+ {
205
+ "activation_fn": "torch.nn.modules.linear.Identity",
206
+ "pos_weight": 5
207
+ }
208
+ ```
209
+
210
+ ### Training Hyperparameters
211
+ #### Non-Default Hyperparameters
212
+
213
+ - `eval_strategy`: steps
214
+ - `per_device_train_batch_size`: 1
215
+ - `gradient_accumulation_steps`: 32
216
+ - `learning_rate`: 2e-05
217
+ - `weight_decay`: 0.2
218
+ - `max_grad_norm`: 0.5
219
+ - `num_train_epochs`: 5
220
+ - `warmup_steps`: 0.25
221
+ - `seed`: 67
222
+ - `fp16`: True
223
+ - `load_best_model_at_end`: True
224
+
225
+ #### All Hyperparameters
226
+ <details><summary>Click to expand</summary>
227
+
228
+ - `do_predict`: False
229
+ - `eval_strategy`: steps
230
+ - `prediction_loss_only`: True
231
+ - `per_device_train_batch_size`: 1
232
+ - `per_device_eval_batch_size`: 8
233
+ - `gradient_accumulation_steps`: 32
234
+ - `eval_accumulation_steps`: None
235
+ - `torch_empty_cache_steps`: None
236
+ - `learning_rate`: 2e-05
237
+ - `weight_decay`: 0.2
238
+ - `adam_beta1`: 0.9
239
+ - `adam_beta2`: 0.999
240
+ - `adam_epsilon`: 1e-08
241
+ - `max_grad_norm`: 0.5
242
+ - `num_train_epochs`: 5
243
+ - `max_steps`: -1
244
+ - `lr_scheduler_type`: linear
245
+ - `lr_scheduler_kwargs`: None
246
+ - `warmup_ratio`: None
247
+ - `warmup_steps`: 0.25
248
+ - `log_level`: passive
249
+ - `log_level_replica`: warning
250
+ - `log_on_each_node`: True
251
+ - `logging_nan_inf_filter`: True
252
+ - `enable_jit_checkpoint`: False
253
+ - `save_on_each_node`: False
254
+ - `save_only_model`: False
255
+ - `restore_callback_states_from_checkpoint`: False
256
+ - `use_cpu`: False
257
+ - `seed`: 67
258
+ - `data_seed`: None
259
+ - `bf16`: False
260
+ - `fp16`: True
261
+ - `bf16_full_eval`: False
262
+ - `fp16_full_eval`: False
263
+ - `tf32`: None
264
+ - `local_rank`: -1
265
+ - `ddp_backend`: None
266
+ - `debug`: []
267
+ - `dataloader_drop_last`: False
268
+ - `dataloader_num_workers`: 0
269
+ - `dataloader_prefetch_factor`: None
270
+ - `disable_tqdm`: True
271
+ - `remove_unused_columns`: True
272
+ - `label_names`: None
273
+ - `load_best_model_at_end`: True
274
+ - `ignore_data_skip`: False
275
+ - `fsdp`: []
276
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
277
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
278
+ - `parallelism_config`: None
279
+ - `deepspeed`: None
280
+ - `label_smoothing_factor`: 0.0
281
+ - `optim`: adamw_torch_fused
282
+ - `optim_args`: None
283
+ - `group_by_length`: False
284
+ - `length_column_name`: length
285
+ - `project`: huggingface
286
+ - `trackio_space_id`: trackio
287
+ - `ddp_find_unused_parameters`: None
288
+ - `ddp_bucket_cap_mb`: None
289
+ - `ddp_broadcast_buffers`: False
290
+ - `dataloader_pin_memory`: True
291
+ - `dataloader_persistent_workers`: False
292
+ - `skip_memory_metrics`: True
293
+ - `push_to_hub`: False
294
+ - `resume_from_checkpoint`: None
295
+ - `hub_model_id`: None
296
+ - `hub_strategy`: every_save
297
+ - `hub_private_repo`: None
298
+ - `hub_always_push`: False
299
+ - `hub_revision`: None
300
+ - `gradient_checkpointing`: False
301
+ - `gradient_checkpointing_kwargs`: None
302
+ - `include_for_metrics`: []
303
+ - `eval_do_concat_batches`: True
304
+ - `auto_find_batch_size`: False
305
+ - `full_determinism`: False
306
+ - `ddp_timeout`: 1800
307
+ - `torch_compile`: False
308
+ - `torch_compile_backend`: None
309
+ - `torch_compile_mode`: None
310
+ - `include_num_input_tokens_seen`: no
311
+ - `neftune_noise_alpha`: None
312
+ - `optim_target_modules`: None
313
+ - `batch_eval_metrics`: False
314
+ - `eval_on_start`: False
315
+ - `use_liger_kernel`: False
316
+ - `liger_kernel_config`: None
317
+ - `eval_use_gather_object`: False
318
+ - `average_tokens_across_devices`: True
319
+ - `use_cache`: False
320
+ - `prompts`: None
321
+ - `batch_sampler`: batch_sampler
322
+ - `multi_dataset_batch_sampler`: proportional
323
+ - `router_mapping`: {}
324
+ - `learning_rate_mapping`: {}
325
+
326
+ </details>
327
+
328
+ ### Training Logs
329
+ <details><summary>Click to expand</summary>
330
+
331
+ | Epoch | Step | Training Loss | train-evaluator_ndcg@10 | test_evaluator_ndcg@10 |
332
+ |:----------:|:-------:|:-------------:|:-----------------------:|:----------------------:|
333
+ | -1 | -1 | - | 0.8634 (-0.1366) | 0.8746 (-0.1254) |
334
+ | 0.0059 | 1 | 1.4427 | - | - |
335
+ | 0.0296 | 5 | 1.0900 | - | - |
336
+ | 0.0593 | 10 | 1.8380 | - | - |
337
+ | 0.0889 | 15 | 1.1262 | - | - |
338
+ | 0.1185 | 20 | 0.9075 | - | - |
339
+ | 0.1481 | 25 | 0.8731 | - | - |
340
+ | 0.1778 | 30 | 0.7740 | - | - |
341
+ | 0.2074 | 35 | 1.1410 | - | - |
342
+ | 0.2370 | 40 | 0.7601 | - | - |
343
+ | 0.2667 | 45 | 0.7899 | - | - |
344
+ | 0.2963 | 50 | 0.6283 | 0.8800 (-0.1200) | 0.8871 (-0.1129) |
345
+ | 0.3259 | 55 | 0.7696 | - | - |
346
+ | 0.3556 | 60 | 0.9953 | - | - |
347
+ | 0.3852 | 65 | 0.7479 | - | - |
348
+ | 0.4148 | 70 | 0.6350 | - | - |
349
+ | 0.4444 | 75 | 0.8330 | - | - |
350
+ | 0.4741 | 80 | 0.6033 | - | - |
351
+ | 0.5037 | 85 | 0.8338 | - | - |
352
+ | 0.5333 | 90 | 0.9694 | - | - |
353
+ | 0.5630 | 95 | 0.9039 | - | - |
354
+ | 0.5926 | 100 | 0.8650 | 0.9112 (-0.0888) | 0.8927 (-0.1073) |
355
+ | 0.6222 | 105 | 0.6094 | - | - |
356
+ | 0.6519 | 110 | 0.6067 | - | - |
357
+ | 0.6815 | 115 | 0.5759 | - | - |
358
+ | 0.7111 | 120 | 0.8194 | - | - |
359
+ | 0.7407 | 125 | 0.7709 | - | - |
360
+ | 0.7704 | 130 | 0.7898 | - | - |
361
+ | 0.8 | 135 | 0.8466 | - | - |
362
+ | 0.8296 | 140 | 0.9746 | - | - |
363
+ | 0.8593 | 145 | 0.8148 | - | - |
364
+ | 0.8889 | 150 | 0.5513 | 0.9312 (-0.0688) | 0.9096 (-0.0904) |
365
+ | 0.9185 | 155 | 0.5055 | - | - |
366
+ | 0.9481 | 160 | 0.5476 | - | - |
367
+ | 0.9778 | 165 | 0.7248 | - | - |
368
+ | 1.0059 | 170 | 0.6541 | - | - |
369
+ | 1.0356 | 175 | 0.5039 | - | - |
370
+ | 1.0652 | 180 | 0.4411 | - | - |
371
+ | 1.0948 | 185 | 0.6942 | - | - |
372
+ | 1.1244 | 190 | 0.5658 | - | - |
373
+ | 1.1541 | 195 | 0.6088 | - | - |
374
+ | 1.1837 | 200 | 0.4049 | 0.9347 (-0.0653) | 0.9030 (-0.0970) |
375
+ | 1.2133 | 205 | 0.6112 | - | - |
376
+ | 1.2430 | 210 | 0.2897 | - | - |
377
+ | 1.2726 | 215 | 0.4576 | - | - |
378
+ | 1.3022 | 220 | 0.7817 | - | - |
379
+ | 1.3319 | 225 | 0.7286 | - | - |
380
+ | 1.3615 | 230 | 0.5475 | - | - |
381
+ | 1.3911 | 235 | 0.4749 | - | - |
382
+ | 1.4207 | 240 | 0.5976 | - | - |
383
+ | 1.4504 | 245 | 0.4889 | - | - |
384
+ | 1.48 | 250 | 0.8006 | 0.9478 (-0.0522) | 0.8905 (-0.1095) |
385
+ | 1.5096 | 255 | 0.5885 | - | - |
386
+ | 1.5393 | 260 | 0.5553 | - | - |
387
+ | 1.5689 | 265 | 0.6979 | - | - |
388
+ | 1.5985 | 270 | 0.4054 | - | - |
389
+ | 1.6281 | 275 | 0.4447 | - | - |
390
+ | 1.6578 | 280 | 0.6768 | - | - |
391
+ | 1.6874 | 285 | 0.6879 | - | - |
392
+ | 1.7170 | 290 | 0.4486 | - | - |
393
+ | 1.7467 | 295 | 0.8144 | - | - |
394
+ | 1.7763 | 300 | 0.6580 | 0.9526 (-0.0474) | 0.9174 (-0.0826) |
395
+ | 1.8059 | 305 | 0.5297 | - | - |
396
+ | 1.8356 | 310 | 0.5700 | - | - |
397
+ | 1.8652 | 315 | 0.3300 | - | - |
398
+ | 1.8948 | 320 | 0.8602 | - | - |
399
+ | 1.9244 | 325 | 0.6331 | - | - |
400
+ | 1.9541 | 330 | 0.6205 | - | - |
401
+ | 1.9837 | 335 | 0.5258 | - | - |
402
+ | 2.0119 | 340 | 0.6980 | - | - |
403
+ | 2.0415 | 345 | 0.2407 | - | - |
404
+ | 2.0711 | 350 | 0.3267 | 0.9633 (-0.0367) | 0.9107 (-0.0893) |
405
+ | 2.1007 | 355 | 0.2947 | - | - |
406
+ | 2.1304 | 360 | 0.1790 | - | - |
407
+ | 2.16 | 365 | 0.3841 | - | - |
408
+ | 2.1896 | 370 | 0.3123 | - | - |
409
+ | 2.2193 | 375 | 0.4142 | - | - |
410
+ | 2.2489 | 380 | 0.6400 | - | - |
411
+ | 2.2785 | 385 | 0.2441 | - | - |
412
+ | 2.3081 | 390 | 0.2816 | - | - |
413
+ | 2.3378 | 395 | 0.4786 | - | - |
414
+ | 2.3674 | 400 | 0.5176 | 0.9684 (-0.0316) | 0.9196 (-0.0804) |
415
+ | 2.3970 | 405 | 0.3519 | - | - |
416
+ | 2.4267 | 410 | 0.3983 | - | - |
417
+ | 2.4563 | 415 | 0.5621 | - | - |
418
+ | 2.4859 | 420 | 0.3907 | - | - |
419
+ | 2.5156 | 425 | 0.4945 | - | - |
420
+ | 2.5452 | 430 | 0.3195 | - | - |
421
+ | 2.5748 | 435 | 0.5087 | - | - |
422
+ | 2.6044 | 440 | 0.5812 | - | - |
423
+ | 2.6341 | 445 | 0.3276 | - | - |
424
+ | 2.6637 | 450 | 0.3166 | 0.9796 (-0.0204) | 0.9174 (-0.0826) |
425
+ | 2.6933 | 455 | 0.4656 | - | - |
426
+ | 2.7230 | 460 | 0.4002 | - | - |
427
+ | 2.7526 | 465 | 0.3733 | - | - |
428
+ | 2.7822 | 470 | 0.3798 | - | - |
429
+ | 2.8119 | 475 | 0.3161 | - | - |
430
+ | 2.8415 | 480 | 0.4545 | - | - |
431
+ | 2.8711 | 485 | 0.4441 | - | - |
432
+ | 2.9007 | 490 | 0.2575 | - | - |
433
+ | 2.9304 | 495 | 0.2315 | - | - |
434
+ | 2.96 | 500 | 0.4730 | 0.9826 (-0.0174) | 0.9200 (-0.0800) |
435
+ | 2.9896 | 505 | 0.4888 | - | - |
436
+ | 3.0178 | 510 | 0.2182 | - | - |
437
+ | 3.0474 | 515 | 0.1584 | - | - |
438
+ | 3.0770 | 520 | 0.1502 | - | - |
439
+ | 3.1067 | 525 | 0.1653 | - | - |
440
+ | 3.1363 | 530 | 0.1713 | - | - |
441
+ | 3.1659 | 535 | 0.2844 | - | - |
442
+ | 3.1956 | 540 | 0.1836 | - | - |
443
+ | 3.2252 | 545 | 0.0927 | - | - |
444
+ | 3.2548 | 550 | 0.3476 | 0.9832 (-0.0168) | 0.9213 (-0.0787) |
445
+ | 3.2844 | 555 | 0.3332 | - | - |
446
+ | 3.3141 | 560 | 0.3291 | - | - |
447
+ | 3.3437 | 565 | 0.2665 | - | - |
448
+ | 3.3733 | 570 | 0.1910 | - | - |
449
+ | 3.4030 | 575 | 0.5073 | - | - |
450
+ | 3.4326 | 580 | 0.2244 | - | - |
451
+ | 3.4622 | 585 | 0.1066 | - | - |
452
+ | 3.4919 | 590 | 0.2117 | - | - |
453
+ | 3.5215 | 595 | 0.1337 | - | - |
454
+ | 3.5511 | 600 | 0.1933 | 0.9886 (-0.0114) | 0.9118 (-0.0882) |
455
+ | 3.5807 | 605 | 0.0638 | - | - |
456
+ | 3.6104 | 610 | 0.1539 | - | - |
457
+ | 3.64 | 615 | 0.1943 | - | - |
458
+ | 3.6696 | 620 | 0.2148 | - | - |
459
+ | 3.6993 | 625 | 0.2873 | - | - |
460
+ | 3.7289 | 630 | 0.6843 | - | - |
461
+ | 3.7585 | 635 | 0.2633 | - | - |
462
+ | 3.7881 | 640 | 0.5072 | - | - |
463
+ | 3.8178 | 645 | 0.2672 | - | - |
464
+ | 3.8474 | 650 | 0.1996 | 0.9912 (-0.0088) | 0.9210 (-0.0790) |
465
+ | 3.8770 | 655 | 0.1643 | - | - |
466
+ | 3.9067 | 660 | 0.1246 | - | - |
467
+ | 3.9363 | 665 | 0.5416 | - | - |
468
+ | 3.9659 | 670 | 0.3488 | - | - |
469
+ | 3.9956 | 675 | 0.1317 | - | - |
470
+ | 4.0237 | 680 | 0.2893 | - | - |
471
+ | 4.0533 | 685 | 0.0652 | - | - |
472
+ | 4.0830 | 690 | 0.1084 | - | - |
473
+ | 4.1126 | 695 | 0.0768 | - | - |
474
+ | **4.1422** | **700** | **0.0968** | **0.9946 (-0.0054)** | **0.9223 (-0.0777)** |
475
+ | 4.1719 | 705 | 0.2517 | - | - |
476
+ | 4.2015 | 710 | 0.1219 | - | - |
477
+ | 4.2311 | 715 | 0.1915 | - | - |
478
+ | 4.2607 | 720 | 0.0576 | - | - |
479
+ | 4.2904 | 725 | 0.2852 | - | - |
480
+ | 4.32 | 730 | 0.1978 | - | - |
481
+ | 4.3496 | 735 | 0.1791 | - | - |
482
+ | 4.3793 | 740 | 0.1776 | - | - |
483
+ | 4.4089 | 745 | 0.0889 | - | - |
484
+ | 4.4385 | 750 | 0.1076 | 0.9958 (-0.0042) | 0.9186 (-0.0814) |
485
+ | 4.4681 | 755 | 0.0545 | - | - |
486
+ | 4.4978 | 760 | 0.0901 | - | - |
487
+ | 4.5274 | 765 | 0.1187 | - | - |
488
+ | 4.5570 | 770 | 0.1037 | - | - |
489
+ | 4.5867 | 775 | 0.0583 | - | - |
490
+ | 4.6163 | 780 | 0.1538 | - | - |
491
+ | 4.6459 | 785 | 0.1026 | - | - |
492
+ | 4.6756 | 790 | 0.0472 | - | - |
493
+ | 4.7052 | 795 | 0.0937 | - | - |
494
+ | 4.7348 | 800 | 0.1225 | 0.9952 (-0.0048) | 0.9166 (-0.0834) |
495
+ | 4.7644 | 805 | 0.2453 | - | - |
496
+ | 4.7941 | 810 | 0.0514 | - | - |
497
+ | 4.8237 | 815 | 0.1391 | - | - |
498
+ | 4.8533 | 820 | 0.0984 | - | - |
499
+ | 4.8830 | 825 | 0.2722 | - | - |
500
+ | 4.9126 | 830 | 0.1562 | - | - |
501
+ | 4.9422 | 835 | 0.0289 | - | - |
502
+ | 4.9719 | 840 | 0.0779 | - | - |
503
+ | 5.0 | 845 | 0.1853 | - | - |
504
+
505
+ * The bold row denotes the saved checkpoint.
506
+ </details>
507
+
508
+ ### Training Time
509
+ - **Training**: 1.5 hours
510
+ - **Evaluation**: 23.9 minutes
511
+ - **Total**: 1.9 hours
512
+
513
+ ### Framework Versions
514
+ - Python: 3.12.13
515
+ - Sentence Transformers: 5.4.0
516
+ - Transformers: 5.0.0
517
+ - PyTorch: 2.10.0+cu128
518
+ - Accelerate: 1.13.0
519
+ - Datasets: 4.0.0
520
+ - Tokenizers: 0.22.2
521
+
522
+ ## Citation
523
+
524
+ ### BibTeX
525
+
526
+ #### Sentence Transformers
527
+ ```bibtex
528
+ @inproceedings{reimers-2019-sentence-bert,
529
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
530
+ author = "Reimers, Nils and Gurevych, Iryna",
531
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
532
+ month = "11",
533
+ year = "2019",
534
+ publisher = "Association for Computational Linguistics",
535
+ url = "https://arxiv.org/abs/1908.10084",
536
+ }
537
+ ```
538
+
539
+ <!--
540
+ ## Glossary
541
+
542
+ *Clearly define terms in order to be accessible across audiences.*
543
+ -->
544
+
545
+ <!--
546
+ ## Model Card Authors
547
+
548
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
549
+ -->
550
+
551
+ <!--
552
+ ## Model Card Contact
553
+
554
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
555
+ -->
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "XLMRobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": 2,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 1024,
14
+ "id2label": {
15
+ "0": "LABEL_0"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 4096,
19
+ "is_decoder": false,
20
+ "label2id": {
21
+ "LABEL_0": 0
22
+ },
23
+ "layer_norm_eps": 1e-05,
24
+ "max_position_embeddings": 8194,
25
+ "model_type": "xlm-roberta",
26
+ "num_attention_heads": 16,
27
+ "num_hidden_layers": 24,
28
+ "output_past": true,
29
+ "pad_token_id": 1,
30
+ "position_embedding_type": "absolute",
31
+ "tie_word_embeddings": true,
32
+ "transformers_version": "5.0.0",
33
+ "type_vocab_size": 1,
34
+ "use_cache": false,
35
+ "vocab_size": 250002
36
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "pytorch": "2.10.0+cu128",
4
+ "sentence_transformers": "5.4.0",
5
+ "transformers": "5.0.0"
6
+ },
7
+ "activation_fn": "torch.nn.modules.activation.Sigmoid",
8
+ "default_prompt_name": null,
9
+ "model_type": "CrossEncoder",
10
+ "prompts": {}
11
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0ec88e222682b0a4075f694070fdbb53be9f8c9cd91247125ccb851b9c42e50
3
+ size 2271071804
modules.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.base.modules.transformer.Transformer"
7
+ }
8
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "transformer_task": "sequence-classification",
3
+ "modality_config": {
4
+ "text": {
5
+ "method": "forward",
6
+ "method_output_name": "logits"
7
+ }
8
+ },
9
+ "module_output_name": "scores"
10
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:925c5f322a1f4ed5f8518497d5ed2cad884bb6dd97fcdcbe312d6e99ad2eaa0a
3
+ size 16781739
tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<s>",
5
+ "clean_up_tokenization_spaces": true,
6
+ "cls_token": "<s>",
7
+ "eos_token": "</s>",
8
+ "is_local": false,
9
+ "mask_token": "<mask>",
10
+ "model_max_length": 8192,
11
+ "pad_token": "<pad>",
12
+ "sep_token": "</s>",
13
+ "sp_model_kwargs": {},
14
+ "tokenizer_class": "XLMRobertaTokenizer",
15
+ "unk_token": "<unk>"
16
+ }