Netizine commited on
Commit
4676c9e
·
verified ·
1 Parent(s): 71fe7a3

Add new SentenceTransformer model

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
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 768,
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,
8
+ "pooling_mode_lasttoken": false,
9
+ "include_prompt": true
10
+ }
2_Dense/config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "in_features": 768,
3
+ "out_features": 3072,
4
+ "bias": false,
5
+ "activation_function": "torch.nn.modules.linear.Identity"
6
+ }
2_Dense/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4853ba6e4a8ae3e58d38f11d729328ffb76f8228e1f46f34e9110727bbfe330b
3
+ size 9437272
3_Dense/config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "in_features": 3072,
3
+ "out_features": 768,
4
+ "bias": false,
5
+ "activation_function": "torch.nn.modules.linear.Identity"
6
+ }
3_Dense/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:870905052af8c1e330774529f52277349f4253f2413f0c9b0c9464aac529ab4f
3
+ size 9437272
README.md ADDED
@@ -0,0 +1,537 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:42280
9
+ - loss:MultipleNegativesRankingLoss
10
+ base_model: google/embeddinggemma-300m
11
+ widget:
12
+ - source_sentence: How is demand from blown film converters trending for natural-colour
13
+ rLDPE pellets sourced from production scrap in Germany?
14
+ sentences:
15
+ - For a tender closing Friday, market participants indicated post-industrial, food-grade
16
+ HDPE bales could be workable around €1,030-1,110/t DAP Valencia for prompt-to-March
17
+ delivery, depending on lot size and delivery flexibility.
18
+ - Demand from German blown-film converters for natural rLDPE pellets sourced from
19
+ production scrap was steady to slightly firmer week on week, though buyers continued
20
+ to push back on offers above the low-to-mid €1,200s/t FCA level.
21
+ - Europe recycled high-density polyethylene (R-HDPE) blow-moulding natural pellet
22
+ demand continues to increase on the back of new packaging projects and increased
23
+ recycled content use from the packaging sector.
24
+ - source_sentence: What is the current premium for clean PI white HDPE bales over
25
+ mixed-colour PI HDPE bales on an FCA Germany basis?
26
+ sentences:
27
+ - Nevertheless, this is not yet considered representative of the bulk of material,
28
+ or seen as achievable for high density polyethylene (HDPE) dominated bales, which
29
+ continue to see a top end of €300/tonne ex-works.
30
+ - UK supply of white rHDPE blow moulding pellets is described as comfortable to
31
+ long, as recyclers are running close to normal rates while demand from blow moulders
32
+ remains subdued, keeping prompt availability open.
33
+ - Clean post-industrial white HDPE bales are currently at a €40-70/t premium to
34
+ mixed-colour PI HDPE bales on an FCA Germany basis, with the spread widest where
35
+ contamination guarantees are contractually enforced.
36
+ - source_sentence: Are you hearing more quality claims (gels, black specks, odour)
37
+ on natural transparent flexible rLDPE pellets in the current spot market?
38
+ sentences:
39
+ - ICIS assessed natural rLDPE pellets produced from post-consumer LDPE film at €1,140-1,230/tonne
40
+ delivered FD Northwest Europe in the week to 21 February, up €10/tonne week on
41
+ week on tighter prompt availability.
42
+ - How does the quality specification of rLDPE Pellet Flexible Natural Translucent
43
+ affect its pricing in the spot market?
44
+ - Spot market participants reported more frequent quality claims on natural transparent
45
+ flexible rLDPE pellets—mainly gels and sporadic black specks—leading to discounts
46
+ or load rejections in the €20-50/t range.
47
+ - source_sentence: For blown film extrusion, what MFI (190°C/2.16 kg) range is most
48
+ commonly traded for recycled LDPE pellet, flexible, natural transparent?
49
+ sentences:
50
+ - Demand is strongest for natural transparent pellet, which is for material with
51
+ an MFI of 1.0 and higher, which gives a good transparency, low gels and low contamination,
52
+ and is suitable for stretch film applications.
53
+ - For post-consumer bulky rigid HDPE bales, typical buyer specs cap moisture at
54
+ 10%, paper/labels at 5%, metals at 0.5% and non-HD plastics at 5%, with PVC expected
55
+ to be near-zero (often ≤0.2%) to avoid wash-line issues.
56
+ - For blown film applications, recycled LDPE flexible natural/transparent pellets
57
+ are most commonly traded at around 0.3-0.8 g/10min MFI (190°C/2.16kg), with some
58
+ grades offered up to about 1.0 g/10min for easier processing.
59
+ - source_sentence: Any new import inspections, permits, or customs delays affecting
60
+ inbound post-consumer black HDPE bales into Vietnam this quarter?
61
+ sentences:
62
+ - Market sources said Vietnam has maintained tighter inspection rates and documentation
63
+ checks on inbound post-consumer black HDPE bales this quarter, extending customs
64
+ clearance to roughly 10-15 working days in some cases, but without a major new
65
+ permit requirement.
66
+ - Deals and discussions for spot imports of HDPE have taken place at $960-970/tonne
67
+ CFR (cost & freight) Vietnam, compared with the $1,030-1,050/tonne CFR Vietnam
68
+ assessment range in the week ended 15 September.
69
+ - Container freight indications from Ningbo to Hamburg were heard at roughly $2,000-2,300
70
+ per 40ft this week (about $80-100/t), adding to CIF Europe ideas for imported
71
+ white rHDPE blow moulding pellets even as netbacks stayed steady.
72
+ pipeline_tag: sentence-similarity
73
+ library_name: sentence-transformers
74
+ ---
75
+
76
+ # SentenceTransformer based on google/embeddinggemma-300m
77
+
78
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [google/embeddinggemma-300m](https://huggingface.co/google/embeddinggemma-300m). It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
79
+
80
+ ## Model Details
81
+
82
+ ### Model Description
83
+ - **Model Type:** Sentence Transformer
84
+ - **Base model:** [google/embeddinggemma-300m](https://huggingface.co/google/embeddinggemma-300m) <!-- at revision 57c266a740f537b4dc058e1b0cda161fd15afa75 -->
85
+ - **Maximum Sequence Length:** 2048 tokens
86
+ - **Output Dimensionality:** 768 dimensions
87
+ - **Similarity Function:** Cosine Similarity
88
+ <!-- - **Training Dataset:** Unknown -->
89
+ <!-- - **Language:** Unknown -->
90
+ <!-- - **License:** Unknown -->
91
+
92
+ ### Model Sources
93
+
94
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
95
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
96
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
97
+
98
+ ### Full Model Architecture
99
+
100
+ ```
101
+ SentenceTransformer(
102
+ (0): Transformer({'max_seq_length': 2048, 'do_lower_case': False, 'architecture': 'Gemma3TextModel'})
103
+ (1): Pooling({'word_embedding_dimension': 768, '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})
104
+ (2): Dense({'in_features': 768, 'out_features': 3072, 'bias': False, 'activation_function': 'torch.nn.modules.linear.Identity'})
105
+ (3): Dense({'in_features': 3072, 'out_features': 768, 'bias': False, 'activation_function': 'torch.nn.modules.linear.Identity'})
106
+ (4): Normalize()
107
+ )
108
+ ```
109
+
110
+ ## Usage
111
+
112
+ ### Direct Usage (Sentence Transformers)
113
+
114
+ First install the Sentence Transformers library:
115
+
116
+ ```bash
117
+ pip install -U sentence-transformers
118
+ ```
119
+
120
+ Then you can load this model and run inference.
121
+ ```python
122
+ from sentence_transformers import SentenceTransformer
123
+
124
+ # Download from the 🤗 Hub
125
+ model = SentenceTransformer("Netizine/icis_commodity_embedding")
126
+ # Run inference
127
+ queries = [
128
+ "Any new import inspections, permits, or customs delays affecting inbound post-consumer black HDPE bales into Vietnam this quarter?",
129
+ ]
130
+ documents = [
131
+ 'Market sources said Vietnam has maintained tighter inspection rates and documentation checks on inbound post-consumer black HDPE bales this quarter, extending customs clearance to roughly 10-15 working days in some cases, but without a major new permit requirement.',
132
+ 'Deals and discussions for spot imports of HDPE have taken place at $960-970/tonne CFR (cost & freight) Vietnam, compared with the $1,030-1,050/tonne CFR Vietnam assessment range in the week ended 15 September.',
133
+ 'Container freight indications from Ningbo to Hamburg were heard at roughly $2,000-2,300 per 40ft this week (about $80-100/t), adding to CIF Europe ideas for imported white rHDPE blow moulding pellets even as netbacks stayed steady.',
134
+ ]
135
+ query_embeddings = model.encode_query(queries)
136
+ document_embeddings = model.encode_document(documents)
137
+ print(query_embeddings.shape, document_embeddings.shape)
138
+ # [1, 768] [3, 768]
139
+
140
+ # Get the similarity scores for the embeddings
141
+ similarities = model.similarity(query_embeddings, document_embeddings)
142
+ print(similarities)
143
+ # tensor([[0.9667, 0.0020, 0.0885]])
144
+ ```
145
+
146
+ <!--
147
+ ### Direct Usage (Transformers)
148
+
149
+ <details><summary>Click to see the direct usage in Transformers</summary>
150
+
151
+ </details>
152
+ -->
153
+
154
+ <!--
155
+ ### Downstream Usage (Sentence Transformers)
156
+
157
+ You can finetune this model on your own dataset.
158
+
159
+ <details><summary>Click to expand</summary>
160
+
161
+ </details>
162
+ -->
163
+
164
+ <!--
165
+ ### Out-of-Scope Use
166
+
167
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
168
+ -->
169
+
170
+ <!--
171
+ ## Bias, Risks and Limitations
172
+
173
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
174
+ -->
175
+
176
+ <!--
177
+ ### Recommendations
178
+
179
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
180
+ -->
181
+
182
+ ## Training Details
183
+
184
+ ### Training Dataset
185
+
186
+ #### Unnamed Dataset
187
+
188
+ * Size: 42,280 training samples
189
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
190
+ * Approximate statistics based on the first 1000 samples:
191
+ | | anchor | positive | negative |
192
+ |:--------|:-----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
193
+ | type | string | string | string |
194
+ | details | <ul><li>min: 18 tokens</li><li>mean: 30.35 tokens</li><li>max: 50 tokens</li></ul> | <ul><li>min: 33 tokens</li><li>mean: 57.04 tokens</li><li>max: 255 tokens</li></ul> | <ul><li>min: 10 tokens</li><li>mean: 33.34 tokens</li><li>max: 96 tokens</li></ul> |
195
+ * Samples:
196
+ | anchor | positive | negative |
197
+ |:-----------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
198
+ | <code>Can you give the latest ICIS range for rLDPE pellets, post-consumer, colourless, FCA Rotterdam/Antwerp?</code> | <code>ICIS assessed post-consumer colourless rLDPE pellets at €1,070-1,170/t FCA Rotterdam/Antwerp in the week to 21 February 2026.</code> | <code>ICIS began pricing R-HDPE natural blow-moulding pellets in May 2020.</code> |
199
+ | <code>What are traders paying this week for PCR LDPE colourless pellets (post-consumer) delivered to Lombardy, Italy (DDP)?</code> | <code>This week, post-consumer colourless PCR LDPE pellet business was heard around €1,180-1,280/t DDP Lombardy, with better-filtered, low-odour lots at the top of the range.</code> | <code>Colourless (C) polyethylene terephthalate (PET) post-consumer bottle bale prices have increased in Italy in the latest monthly auction, adding upwards pressure to both recycled PET (R-PET) C flake and food-grade pellet (FGP) prices in the country, which reflects a common theme for January being felt across the wider European market.</code> |
200
+ | <code>How did the weekly assessment for post-consumer colourless rLDPE pellets in NWE change versus last week?</code> | <code>The ICIS weekly assessment for post-consumer colourless rLDPE pellets FCA Rotterdam/Antwerp fell by €20/t week on week to €1,070-1,170/t as buyers resisted higher offers.</code> | <code>Consumption of flexible R-LDPE pellets has increased in April in NWE, although this remains counterbalanced by high stock levels.</code> |
201
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
202
+ ```json
203
+ {
204
+ "scale": 20.0,
205
+ "similarity_fct": "cos_sim",
206
+ "gather_across_devices": false
207
+ }
208
+ ```
209
+
210
+ ### Training Hyperparameters
211
+ #### Non-Default Hyperparameters
212
+
213
+ - `per_device_train_batch_size`: 16
214
+ - `learning_rate`: 2e-05
215
+ - `num_train_epochs`: 5
216
+ - `warmup_ratio`: 0.1
217
+ - `prompts`: {'anchor': 'task: search result | query: ', 'positive': 'title: none | text: ', 'negative': 'title: none | text: '}
218
+
219
+ #### All Hyperparameters
220
+ <details><summary>Click to expand</summary>
221
+
222
+ - `overwrite_output_dir`: False
223
+ - `do_predict`: False
224
+ - `eval_strategy`: no
225
+ - `prediction_loss_only`: True
226
+ - `per_device_train_batch_size`: 16
227
+ - `per_device_eval_batch_size`: 8
228
+ - `per_gpu_train_batch_size`: None
229
+ - `per_gpu_eval_batch_size`: None
230
+ - `gradient_accumulation_steps`: 1
231
+ - `eval_accumulation_steps`: None
232
+ - `torch_empty_cache_steps`: None
233
+ - `learning_rate`: 2e-05
234
+ - `weight_decay`: 0.0
235
+ - `adam_beta1`: 0.9
236
+ - `adam_beta2`: 0.999
237
+ - `adam_epsilon`: 1e-08
238
+ - `max_grad_norm`: 1.0
239
+ - `num_train_epochs`: 5
240
+ - `max_steps`: -1
241
+ - `lr_scheduler_type`: linear
242
+ - `lr_scheduler_kwargs`: {}
243
+ - `warmup_ratio`: 0.1
244
+ - `warmup_steps`: 0
245
+ - `log_level`: passive
246
+ - `log_level_replica`: warning
247
+ - `log_on_each_node`: True
248
+ - `logging_nan_inf_filter`: True
249
+ - `save_safetensors`: True
250
+ - `save_on_each_node`: False
251
+ - `save_only_model`: False
252
+ - `restore_callback_states_from_checkpoint`: False
253
+ - `no_cuda`: False
254
+ - `use_cpu`: False
255
+ - `use_mps_device`: False
256
+ - `seed`: 42
257
+ - `data_seed`: None
258
+ - `jit_mode_eval`: False
259
+ - `use_ipex`: False
260
+ - `bf16`: False
261
+ - `fp16`: False
262
+ - `fp16_opt_level`: O1
263
+ - `half_precision_backend`: auto
264
+ - `bf16_full_eval`: False
265
+ - `fp16_full_eval`: False
266
+ - `tf32`: None
267
+ - `local_rank`: 0
268
+ - `ddp_backend`: None
269
+ - `tpu_num_cores`: None
270
+ - `tpu_metrics_debug`: False
271
+ - `debug`: []
272
+ - `dataloader_drop_last`: False
273
+ - `dataloader_num_workers`: 0
274
+ - `dataloader_prefetch_factor`: None
275
+ - `past_index`: -1
276
+ - `disable_tqdm`: False
277
+ - `remove_unused_columns`: True
278
+ - `label_names`: None
279
+ - `load_best_model_at_end`: False
280
+ - `ignore_data_skip`: False
281
+ - `fsdp`: []
282
+ - `fsdp_min_num_params`: 0
283
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
284
+ - `fsdp_transformer_layer_cls_to_wrap`: None
285
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
286
+ - `parallelism_config`: None
287
+ - `deepspeed`: None
288
+ - `label_smoothing_factor`: 0.0
289
+ - `optim`: adamw_torch_fused
290
+ - `optim_args`: None
291
+ - `adafactor`: False
292
+ - `group_by_length`: False
293
+ - `length_column_name`: length
294
+ - `ddp_find_unused_parameters`: None
295
+ - `ddp_bucket_cap_mb`: None
296
+ - `ddp_broadcast_buffers`: False
297
+ - `dataloader_pin_memory`: True
298
+ - `dataloader_persistent_workers`: False
299
+ - `skip_memory_metrics`: True
300
+ - `use_legacy_prediction_loop`: False
301
+ - `push_to_hub`: False
302
+ - `resume_from_checkpoint`: None
303
+ - `hub_model_id`: None
304
+ - `hub_strategy`: every_save
305
+ - `hub_private_repo`: None
306
+ - `hub_always_push`: False
307
+ - `hub_revision`: None
308
+ - `gradient_checkpointing`: False
309
+ - `gradient_checkpointing_kwargs`: None
310
+ - `include_inputs_for_metrics`: False
311
+ - `include_for_metrics`: []
312
+ - `eval_do_concat_batches`: True
313
+ - `fp16_backend`: auto
314
+ - `push_to_hub_model_id`: None
315
+ - `push_to_hub_organization`: None
316
+ - `mp_parameters`:
317
+ - `auto_find_batch_size`: False
318
+ - `full_determinism`: False
319
+ - `torchdynamo`: None
320
+ - `ray_scope`: last
321
+ - `ddp_timeout`: 1800
322
+ - `torch_compile`: False
323
+ - `torch_compile_backend`: None
324
+ - `torch_compile_mode`: None
325
+ - `include_tokens_per_second`: False
326
+ - `include_num_input_tokens_seen`: False
327
+ - `neftune_noise_alpha`: None
328
+ - `optim_target_modules`: None
329
+ - `batch_eval_metrics`: False
330
+ - `eval_on_start`: False
331
+ - `use_liger_kernel`: False
332
+ - `liger_kernel_config`: None
333
+ - `eval_use_gather_object`: False
334
+ - `average_tokens_across_devices`: False
335
+ - `prompts`: {'anchor': 'task: search result | query: ', 'positive': 'title: none | text: ', 'negative': 'title: none | text: '}
336
+ - `batch_sampler`: batch_sampler
337
+ - `multi_dataset_batch_sampler`: proportional
338
+ - `router_mapping`: {}
339
+ - `learning_rate_mapping`: {}
340
+
341
+ </details>
342
+
343
+ ### Training Logs
344
+ <details><summary>Click to expand</summary>
345
+
346
+ | Epoch | Step | Training Loss |
347
+ |:------:|:-----:|:-------------:|
348
+ | 0.0378 | 100 | 0.0336 |
349
+ | 0.0757 | 200 | 0.0013 |
350
+ | 0.1135 | 300 | 0.0009 |
351
+ | 0.1513 | 400 | 0.0015 |
352
+ | 0.1892 | 500 | 0.0019 |
353
+ | 0.2270 | 600 | 0.0013 |
354
+ | 0.2649 | 700 | 0.0034 |
355
+ | 0.3027 | 800 | 0.0046 |
356
+ | 0.3405 | 900 | 0.0007 |
357
+ | 0.3784 | 1000 | 0.0009 |
358
+ | 0.4162 | 1100 | 0.0022 |
359
+ | 0.4540 | 1200 | 0.0107 |
360
+ | 0.4919 | 1300 | 0.0081 |
361
+ | 0.5297 | 1400 | 0.0111 |
362
+ | 0.5675 | 1500 | 0.0052 |
363
+ | 0.6054 | 1600 | 0.0013 |
364
+ | 0.6432 | 1700 | 0.0108 |
365
+ | 0.6810 | 1800 | 0.0055 |
366
+ | 0.7189 | 1900 | 0.0042 |
367
+ | 0.7567 | 2000 | 0.0056 |
368
+ | 0.7946 | 2100 | 0.0034 |
369
+ | 0.8324 | 2200 | 0.0051 |
370
+ | 0.8702 | 2300 | 0.0021 |
371
+ | 0.9081 | 2400 | 0.0022 |
372
+ | 0.9459 | 2500 | 0.0089 |
373
+ | 0.9837 | 2600 | 0.0036 |
374
+ | 1.0216 | 2700 | 0.0013 |
375
+ | 1.0594 | 2800 | 0.0019 |
376
+ | 1.0972 | 2900 | 0.0015 |
377
+ | 1.1351 | 3000 | 0.0008 |
378
+ | 1.1729 | 3100 | 0.001 |
379
+ | 1.2107 | 3200 | 0.003 |
380
+ | 1.2486 | 3300 | 0.0013 |
381
+ | 1.2864 | 3400 | 0.0017 |
382
+ | 1.3243 | 3500 | 0.0008 |
383
+ | 1.3621 | 3600 | 0.0004 |
384
+ | 1.3999 | 3700 | 0.0012 |
385
+ | 1.4378 | 3800 | 0.0022 |
386
+ | 1.4756 | 3900 | 0.0032 |
387
+ | 1.5134 | 4000 | 0.0011 |
388
+ | 1.5513 | 4100 | 0.0016 |
389
+ | 1.5891 | 4200 | 0.0014 |
390
+ | 1.6269 | 4300 | 0.0024 |
391
+ | 1.6648 | 4400 | 0.0038 |
392
+ | 1.7026 | 4500 | 0.0015 |
393
+ | 1.7404 | 4600 | 0.0008 |
394
+ | 1.7783 | 4700 | 0.001 |
395
+ | 1.8161 | 4800 | 0.0006 |
396
+ | 1.8540 | 4900 | 0.0011 |
397
+ | 1.8918 | 5000 | 0.001 |
398
+ | 1.9296 | 5100 | 0.001 |
399
+ | 1.9675 | 5200 | 0.0013 |
400
+ | 2.0053 | 5300 | 0.0011 |
401
+ | 2.0431 | 5400 | 0.0005 |
402
+ | 2.0810 | 5500 | 0.0004 |
403
+ | 2.1188 | 5600 | 0.0009 |
404
+ | 2.1566 | 5700 | 0.001 |
405
+ | 2.1945 | 5800 | 0.0005 |
406
+ | 2.2323 | 5900 | 0.0012 |
407
+ | 2.2701 | 6000 | 0.0024 |
408
+ | 2.3080 | 6100 | 0.0006 |
409
+ | 2.3458 | 6200 | 0.0002 |
410
+ | 2.3837 | 6300 | 0.0005 |
411
+ | 2.4215 | 6400 | 0.0003 |
412
+ | 2.4593 | 6500 | 0.0004 |
413
+ | 2.4972 | 6600 | 0.0003 |
414
+ | 2.5350 | 6700 | 0.0006 |
415
+ | 2.5728 | 6800 | 0.0005 |
416
+ | 2.6107 | 6900 | 0.0005 |
417
+ | 2.6485 | 7000 | 0.0004 |
418
+ | 2.6863 | 7100 | 0.0007 |
419
+ | 2.7242 | 7200 | 0.0005 |
420
+ | 2.7620 | 7300 | 0.0003 |
421
+ | 2.7998 | 7400 | 0.0005 |
422
+ | 2.8377 | 7500 | 0.0007 |
423
+ | 2.8755 | 7600 | 0.0009 |
424
+ | 2.9134 | 7700 | 0.0002 |
425
+ | 2.9512 | 7800 | 0.0001 |
426
+ | 2.9890 | 7900 | 0.0012 |
427
+ | 3.0269 | 8000 | 0.0004 |
428
+ | 3.0647 | 8100 | 0.0014 |
429
+ | 3.1025 | 8200 | 0.0003 |
430
+ | 3.1404 | 8300 | 0.0004 |
431
+ | 3.1782 | 8400 | 0.0003 |
432
+ | 3.2160 | 8500 | 0.0002 |
433
+ | 3.2539 | 8600 | 0.0003 |
434
+ | 3.2917 | 8700 | 0.0002 |
435
+ | 3.3295 | 8800 | 0.0001 |
436
+ | 3.3674 | 8900 | 0.0003 |
437
+ | 3.4052 | 9000 | 0.0002 |
438
+ | 3.4431 | 9100 | 0.0001 |
439
+ | 3.4809 | 9200 | 0.0001 |
440
+ | 3.5187 | 9300 | 0.0003 |
441
+ | 3.5566 | 9400 | 0.0006 |
442
+ | 3.5944 | 9500 | 0.0002 |
443
+ | 3.6322 | 9600 | 0.0001 |
444
+ | 3.6701 | 9700 | 0.0002 |
445
+ | 3.7079 | 9800 | 0.0007 |
446
+ | 3.7457 | 9900 | 0.0001 |
447
+ | 3.7836 | 10000 | 0.0001 |
448
+ | 3.8214 | 10100 | 0.0002 |
449
+ | 3.8593 | 10200 | 0.0003 |
450
+ | 3.8971 | 10300 | 0.0001 |
451
+ | 3.9349 | 10400 | 0.0002 |
452
+ | 3.9728 | 10500 | 0.0001 |
453
+ | 4.0106 | 10600 | 0.0002 |
454
+ | 4.0484 | 10700 | 0.0002 |
455
+ | 4.0863 | 10800 | 0.0001 |
456
+ | 4.1241 | 10900 | 0.0003 |
457
+ | 4.1619 | 11000 | 0.0001 |
458
+ | 4.1998 | 11100 | 0.0001 |
459
+ | 4.2376 | 11200 | 0.0002 |
460
+ | 4.2754 | 11300 | 0.0004 |
461
+ | 4.3133 | 11400 | 0.0003 |
462
+ | 4.3511 | 11500 | 0.0001 |
463
+ | 4.3890 | 11600 | 0.0001 |
464
+ | 4.4268 | 11700 | 0.0001 |
465
+ | 4.4646 | 11800 | 0.0001 |
466
+ | 4.5025 | 11900 | 0.0005 |
467
+ | 4.5403 | 12000 | 0.0004 |
468
+ | 4.5781 | 12100 | 0.0001 |
469
+ | 4.6160 | 12200 | 0.0002 |
470
+ | 4.6538 | 12300 | 0.0001 |
471
+ | 4.6916 | 12400 | 0.0001 |
472
+ | 4.7295 | 12500 | 0.0001 |
473
+ | 4.7673 | 12600 | 0.0001 |
474
+ | 4.8051 | 12700 | 0.0 |
475
+ | 4.8430 | 12800 | 0.0001 |
476
+ | 4.8808 | 12900 | 0.0007 |
477
+ | 4.9187 | 13000 | 0.0001 |
478
+ | 4.9565 | 13100 | 0.0008 |
479
+ | 4.9943 | 13200 | 0.0001 |
480
+
481
+ </details>
482
+
483
+ ### Framework Versions
484
+ - Python: 3.12.12
485
+ - Sentence Transformers: 5.2.3
486
+ - Transformers: 4.57.0.dev0
487
+ - PyTorch: 2.10.0+cu128
488
+ - Accelerate: 1.12.0
489
+ - Datasets: 4.5.0
490
+ - Tokenizers: 0.22.2
491
+
492
+ ## Citation
493
+
494
+ ### BibTeX
495
+
496
+ #### Sentence Transformers
497
+ ```bibtex
498
+ @inproceedings{reimers-2019-sentence-bert,
499
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
500
+ author = "Reimers, Nils and Gurevych, Iryna",
501
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
502
+ month = "11",
503
+ year = "2019",
504
+ publisher = "Association for Computational Linguistics",
505
+ url = "https://arxiv.org/abs/1908.10084",
506
+ }
507
+ ```
508
+
509
+ #### MultipleNegativesRankingLoss
510
+ ```bibtex
511
+ @misc{henderson2017efficient,
512
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
513
+ author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
514
+ year={2017},
515
+ eprint={1705.00652},
516
+ archivePrefix={arXiv},
517
+ primaryClass={cs.CL}
518
+ }
519
+ ```
520
+
521
+ <!--
522
+ ## Glossary
523
+
524
+ *Clearly define terms in order to be accessible across audiences.*
525
+ -->
526
+
527
+ <!--
528
+ ## Model Card Authors
529
+
530
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
531
+ -->
532
+
533
+ <!--
534
+ ## Model Card Contact
535
+
536
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
537
+ -->
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<image_soft_token>": 262144
3
+ }
config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_sliding_window_pattern": 6,
3
+ "architectures": [
4
+ "Gemma3TextModel"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "attn_logit_softcapping": null,
9
+ "bos_token_id": 2,
10
+ "dtype": "float32",
11
+ "eos_token_id": 1,
12
+ "final_logit_softcapping": null,
13
+ "head_dim": 256,
14
+ "hidden_activation": "gelu_pytorch_tanh",
15
+ "hidden_size": 768,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 1152,
18
+ "layer_types": [
19
+ "sliding_attention",
20
+ "sliding_attention",
21
+ "sliding_attention",
22
+ "sliding_attention",
23
+ "sliding_attention",
24
+ "full_attention",
25
+ "sliding_attention",
26
+ "sliding_attention",
27
+ "sliding_attention",
28
+ "sliding_attention",
29
+ "sliding_attention",
30
+ "full_attention",
31
+ "sliding_attention",
32
+ "sliding_attention",
33
+ "sliding_attention",
34
+ "sliding_attention",
35
+ "sliding_attention",
36
+ "full_attention",
37
+ "sliding_attention",
38
+ "sliding_attention",
39
+ "sliding_attention",
40
+ "sliding_attention",
41
+ "sliding_attention",
42
+ "full_attention"
43
+ ],
44
+ "max_position_embeddings": 2048,
45
+ "model_type": "gemma3_text",
46
+ "num_attention_heads": 3,
47
+ "num_hidden_layers": 24,
48
+ "num_key_value_heads": 1,
49
+ "pad_token_id": 0,
50
+ "query_pre_attn_scalar": 256,
51
+ "rms_norm_eps": 1e-06,
52
+ "rope_local_base_freq": 10000.0,
53
+ "rope_scaling": null,
54
+ "rope_theta": 1000000.0,
55
+ "sliding_window": 257,
56
+ "transformers_version": "4.57.0.dev0",
57
+ "use_bidirectional_attention": true,
58
+ "use_cache": true,
59
+ "vocab_size": 262144
60
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "SentenceTransformer",
3
+ "__version__": {
4
+ "sentence_transformers": "5.2.3",
5
+ "transformers": "4.57.0.dev0",
6
+ "pytorch": "2.10.0+cu128"
7
+ },
8
+ "prompts": {
9
+ "query": "task: search result | query: ",
10
+ "document": "title: none | text: ",
11
+ "BitextMining": "task: search result | query: ",
12
+ "Clustering": "task: clustering | query: ",
13
+ "Classification": "task: classification | query: ",
14
+ "InstructionRetrieval": "task: code retrieval | query: ",
15
+ "MultilabelClassification": "task: classification | query: ",
16
+ "PairClassification": "task: sentence similarity | query: ",
17
+ "Reranking": "task: search result | query: ",
18
+ "Retrieval": "task: search result | query: ",
19
+ "Retrieval-query": "task: search result | query: ",
20
+ "Retrieval-document": "title: none | text: ",
21
+ "STS": "task: sentence similarity | query: ",
22
+ "Summarization": "task: summarization | query: "
23
+ },
24
+ "default_prompt_name": null,
25
+ "similarity_fn_name": "cosine"
26
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f59edccc6dd7e3448169d4c8a8817406d392410f80d25b492fbd1cafa4e2052a
3
+ size 1211486072
modules.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.models.Transformer"
7
+ },
8
+ {
9
+ "idx": 1,
10
+ "name": "1",
11
+ "path": "1_Pooling",
12
+ "type": "sentence_transformers.models.Pooling"
13
+ },
14
+ {
15
+ "idx": 2,
16
+ "name": "2",
17
+ "path": "2_Dense",
18
+ "type": "sentence_transformers.models.Dense"
19
+ },
20
+ {
21
+ "idx": 3,
22
+ "name": "3",
23
+ "path": "3_Dense",
24
+ "type": "sentence_transformers.models.Dense"
25
+ },
26
+ {
27
+ "idx": 4,
28
+ "name": "4",
29
+ "path": "4_Normalize",
30
+ "type": "sentence_transformers.models.Normalize"
31
+ }
32
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 2048,
3
+ "do_lower_case": false
4
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boi_token": "<start_of_image>",
3
+ "bos_token": {
4
+ "content": "<bos>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ "eoi_token": "<end_of_image>",
11
+ "eos_token": {
12
+ "content": "<eos>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "image_token": "<image_soft_token>",
19
+ "pad_token": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "unk_token": {
27
+ "content": "<unk>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ }
33
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:216e2a79606fe879c9f17c529c71cd241338407fd5646b595ffd3c4b9ea1d503
3
+ size 33385262
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
3
+ size 4689074
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff