d1998 commited on
Commit
9a7eca6
1 Parent(s): c9ba062

Upload folder using huggingface_hub

Browse files
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 384,
3
+ "pooling_mode_cls_token": false,
4
+ "pooling_mode_mean_tokens": true,
5
+ "pooling_mode_max_tokens": false,
6
+ "pooling_mode_mean_sqrt_len_tokens": false,
7
+ "pooling_mode_weightedmean_tokens": false,
8
+ "pooling_mode_lasttoken": false,
9
+ "include_prompt": true
10
+ }
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ library_name: sentence-transformers
4
+ tags:
5
+ - sentence-transformers
6
+ - sentence-similarity
7
+ - feature-extraction
8
+ - autotrain
9
+ base_model: sentence-transformers/all-MiniLM-L6-v2
10
+ widget:
11
+ - source_sentence: 'search_query: i love autotrain'
12
+ sentences:
13
+ - 'search_query: huggingface auto train'
14
+ - 'search_query: hugging face auto train'
15
+ - 'search_query: i love autotrain'
16
+ pipeline_tag: sentence-similarity
17
+ ---
18
+
19
+ # Model Trained Using AutoTrain
20
+
21
+ - Problem type: Sentence Transformers
22
+
23
+ ## Validation Metrics
24
+ loss: 0.7716913223266602
25
+
26
+ runtime: 0.3224
27
+
28
+ samples_per_second: 108.577
29
+
30
+ steps_per_second: 9.307
31
+
32
+ : 3.0
33
+
34
+ ## Usage
35
+
36
+ ### Direct Usage (Sentence Transformers)
37
+
38
+ First install the Sentence Transformers library:
39
+
40
+ ```bash
41
+ pip install -U sentence-transformers
42
+ ```
43
+
44
+ Then you can load this model and run inference.
45
+ ```python
46
+ from sentence_transformers import SentenceTransformer
47
+
48
+ # Download from the Hugging Face Hub
49
+ model = SentenceTransformer("sentence_transformers_model_id")
50
+ # Run inference
51
+ sentences = [
52
+ 'search_query: autotrain',
53
+ 'search_query: auto train',
54
+ 'search_query: i love autotrain',
55
+ ]
56
+ embeddings = model.encode(sentences)
57
+ print(embeddings.shape)
58
+
59
+ # Get the similarity scores for the embeddings
60
+ similarities = model.similarity(embeddings, embeddings)
61
+ print(similarities.shape)
62
+ ```
checkpoint-51/1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 384,
3
+ "pooling_mode_cls_token": false,
4
+ "pooling_mode_mean_tokens": true,
5
+ "pooling_mode_max_tokens": false,
6
+ "pooling_mode_mean_sqrt_len_tokens": false,
7
+ "pooling_mode_weightedmean_tokens": false,
8
+ "pooling_mode_lasttoken": false,
9
+ "include_prompt": true
10
+ }
checkpoint-51/README.md ADDED
@@ -0,0 +1,401 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: sentence-transformers/all-MiniLM-L6-v2
3
+ library_name: sentence-transformers
4
+ pipeline_tag: sentence-similarity
5
+ tags:
6
+ - sentence-transformers
7
+ - sentence-similarity
8
+ - feature-extraction
9
+ - generated_from_trainer
10
+ - dataset_size:136
11
+ - loss:MultipleNegativesRankingLoss
12
+ widget:
13
+ - source_sentence: BCM/PR_Hardware_Version_Read/Hardware/Hardware_Version
14
+ sentences:
15
+ - Battery_Management_System
16
+ - brake_control
17
+ - brake_control
18
+ - source_sentence: SCM/PR_Diagnostic_Trouble_Codes_Read/Diagnostic_Trouble_Codes/Stored_DTCs
19
+ sentences:
20
+ - transmission
21
+ - Seat_Control
22
+ - Seat_Control
23
+ - source_sentence: TCM/PR_Clutch_Status_Read/Clutch_Status/Clutch_Engagement_Status
24
+ sentences:
25
+ - 'Airbag '
26
+ - transmission
27
+ - Tire_Pressure
28
+ - source_sentence: BMS/PR_Hardware_Version_Read/Hardware/Hardware_Version
29
+ sentences:
30
+ - Seat_Control
31
+ - Tire_Pressure
32
+ - Battery_Management_System
33
+ - source_sentence: ACM/PR_Hardware_Version_Read/Hardware/Hardware_Version
34
+ sentences:
35
+ - Air_Suspension
36
+ - 'Airbag '
37
+ - brake_control
38
+ ---
39
+
40
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
41
+
42
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2). It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
43
+
44
+ ## Model Details
45
+
46
+ ### Model Description
47
+ - **Model Type:** Sentence Transformer
48
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision 8b3219a92973c328a8e22fadcfa821b5dc75636a -->
49
+ - **Maximum Sequence Length:** 256 tokens
50
+ - **Output Dimensionality:** 384 tokens
51
+ - **Similarity Function:** Cosine Similarity
52
+ <!-- - **Training Dataset:** Unknown -->
53
+ <!-- - **Language:** Unknown -->
54
+ <!-- - **License:** Unknown -->
55
+
56
+ ### Model Sources
57
+
58
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
59
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
60
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
61
+
62
+ ### Full Model Architecture
63
+
64
+ ```
65
+ SentenceTransformer(
66
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel
67
+ (1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
68
+ (2): Normalize()
69
+ )
70
+ ```
71
+
72
+ ## Usage
73
+
74
+ ### Direct Usage (Sentence Transformers)
75
+
76
+ First install the Sentence Transformers library:
77
+
78
+ ```bash
79
+ pip install -U sentence-transformers
80
+ ```
81
+
82
+ Then you can load this model and run inference.
83
+ ```python
84
+ from sentence_transformers import SentenceTransformer
85
+
86
+ # Download from the 🤗 Hub
87
+ model = SentenceTransformer("sentence_transformers_model_id")
88
+ # Run inference
89
+ sentences = [
90
+ 'ACM/PR_Hardware_Version_Read/Hardware/Hardware_Version',
91
+ 'Airbag ',
92
+ 'brake_control',
93
+ ]
94
+ embeddings = model.encode(sentences)
95
+ print(embeddings.shape)
96
+ # [3, 384]
97
+
98
+ # Get the similarity scores for the embeddings
99
+ similarities = model.similarity(embeddings, embeddings)
100
+ print(similarities.shape)
101
+ # [3, 3]
102
+ ```
103
+
104
+ <!--
105
+ ### Direct Usage (Transformers)
106
+
107
+ <details><summary>Click to see the direct usage in Transformers</summary>
108
+
109
+ </details>
110
+ -->
111
+
112
+ <!--
113
+ ### Downstream Usage (Sentence Transformers)
114
+
115
+ You can finetune this model on your own dataset.
116
+
117
+ <details><summary>Click to expand</summary>
118
+
119
+ </details>
120
+ -->
121
+
122
+ <!--
123
+ ### Out-of-Scope Use
124
+
125
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
126
+ -->
127
+
128
+ <!--
129
+ ## Bias, Risks and Limitations
130
+
131
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
132
+ -->
133
+
134
+ <!--
135
+ ### Recommendations
136
+
137
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
138
+ -->
139
+
140
+ ## Training Details
141
+
142
+ ### Training Dataset
143
+
144
+ #### Unnamed Dataset
145
+
146
+
147
+ * Size: 136 training samples
148
+ * Columns: <code>anchor</code> and <code>positive</code>
149
+ * Approximate statistics based on the first 136 samples:
150
+ | | anchor | positive |
151
+ |:--------|:-----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
152
+ | type | string | string |
153
+ | details | <ul><li>min: 17 tokens</li><li>mean: 23.65 tokens</li><li>max: 37 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 5.99 tokens</li><li>max: 10 tokens</li></ul> |
154
+ * Samples:
155
+ | anchor | positive |
156
+ |:---------------------------------------------------------------------------------|:--------------------------------------|
157
+ | <code>SCM/PR_Seat_Height_Read/Seat_Height/Driver_Seat_Height</code> | <code>Seat_Control</code> |
158
+ | <code>ABS/PR_Vehicle_Identification_Read/Vehicle_Identification/VIN</code> | <code>Anti-lock-Braking-System</code> |
159
+ | <code>BCM/PR_Brake_System_Diagnostics_Read/Diagnostics/Active_Diagnostics</code> | <code>brake_control</code> |
160
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
161
+ ```json
162
+ {
163
+ "scale": 20.0,
164
+ "similarity_fct": "cos_sim"
165
+ }
166
+ ```
167
+
168
+ ### Evaluation Dataset
169
+
170
+ #### Unnamed Dataset
171
+
172
+
173
+ * Size: 35 evaluation samples
174
+ * Columns: <code>anchor</code> and <code>positive</code>
175
+ * Approximate statistics based on the first 35 samples:
176
+ | | anchor | positive |
177
+ |:--------|:-----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
178
+ | type | string | string |
179
+ | details | <ul><li>min: 17 tokens</li><li>mean: 23.51 tokens</li><li>max: 37 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 5.69 tokens</li><li>max: 10 tokens</li></ul> |
180
+ * Samples:
181
+ | anchor | positive |
182
+ |:--------------------------------------------------------------------------------------------------------------------------|:--------------------------|
183
+ | <code>SCM/PR_Seat_Height_Read/Seat_Height/Passenger_Seat_Height</code> | <code>Seat_Control</code> |
184
+ | <code>ACM/PR_Seatbelt_Pretensioner_Status_Read/Seatbelt_Pretensioner_Status/Passenger_Seatbelt_Pretensioner_Status</code> | <code>Airbag </code> |
185
+ | <code>ACM/PR_Occupant_Detection_Read/Occupant_Detection/Driver_Occupant_Presence</code> | <code>Airbag </code> |
186
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
187
+ ```json
188
+ {
189
+ "scale": 20.0,
190
+ "similarity_fct": "cos_sim"
191
+ }
192
+ ```
193
+
194
+ ### Training Hyperparameters
195
+ #### Non-Default Hyperparameters
196
+
197
+ - `eval_strategy`: epoch
198
+ - `per_device_eval_batch_size`: 16
199
+ - `learning_rate`: 3e-05
200
+ - `warmup_ratio`: 0.1
201
+ - `fp16`: True
202
+ - `load_best_model_at_end`: True
203
+ - `ddp_find_unused_parameters`: False
204
+
205
+ #### All Hyperparameters
206
+ <details><summary>Click to expand</summary>
207
+
208
+ - `overwrite_output_dir`: False
209
+ - `do_predict`: False
210
+ - `eval_strategy`: epoch
211
+ - `prediction_loss_only`: True
212
+ - `per_device_train_batch_size`: 8
213
+ - `per_device_eval_batch_size`: 16
214
+ - `per_gpu_train_batch_size`: None
215
+ - `per_gpu_eval_batch_size`: None
216
+ - `gradient_accumulation_steps`: 1
217
+ - `eval_accumulation_steps`: None
218
+ - `torch_empty_cache_steps`: None
219
+ - `learning_rate`: 3e-05
220
+ - `weight_decay`: 0.0
221
+ - `adam_beta1`: 0.9
222
+ - `adam_beta2`: 0.999
223
+ - `adam_epsilon`: 1e-08
224
+ - `max_grad_norm`: 1.0
225
+ - `num_train_epochs`: 3
226
+ - `max_steps`: -1
227
+ - `lr_scheduler_type`: linear
228
+ - `lr_scheduler_kwargs`: {}
229
+ - `warmup_ratio`: 0.1
230
+ - `warmup_steps`: 0
231
+ - `log_level`: passive
232
+ - `log_level_replica`: warning
233
+ - `log_on_each_node`: True
234
+ - `logging_nan_inf_filter`: True
235
+ - `save_safetensors`: True
236
+ - `save_on_each_node`: False
237
+ - `save_only_model`: False
238
+ - `restore_callback_states_from_checkpoint`: False
239
+ - `no_cuda`: False
240
+ - `use_cpu`: False
241
+ - `use_mps_device`: False
242
+ - `seed`: 42
243
+ - `data_seed`: None
244
+ - `jit_mode_eval`: False
245
+ - `use_ipex`: False
246
+ - `bf16`: False
247
+ - `fp16`: True
248
+ - `fp16_opt_level`: O1
249
+ - `half_precision_backend`: auto
250
+ - `bf16_full_eval`: False
251
+ - `fp16_full_eval`: False
252
+ - `tf32`: None
253
+ - `local_rank`: 0
254
+ - `ddp_backend`: None
255
+ - `tpu_num_cores`: None
256
+ - `tpu_metrics_debug`: False
257
+ - `debug`: []
258
+ - `dataloader_drop_last`: False
259
+ - `dataloader_num_workers`: 0
260
+ - `dataloader_prefetch_factor`: None
261
+ - `past_index`: -1
262
+ - `disable_tqdm`: False
263
+ - `remove_unused_columns`: True
264
+ - `label_names`: None
265
+ - `load_best_model_at_end`: True
266
+ - `ignore_data_skip`: False
267
+ - `fsdp`: []
268
+ - `fsdp_min_num_params`: 0
269
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
270
+ - `fsdp_transformer_layer_cls_to_wrap`: None
271
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
272
+ - `deepspeed`: None
273
+ - `label_smoothing_factor`: 0.0
274
+ - `optim`: adamw_torch
275
+ - `optim_args`: None
276
+ - `adafactor`: False
277
+ - `group_by_length`: False
278
+ - `length_column_name`: length
279
+ - `ddp_find_unused_parameters`: False
280
+ - `ddp_bucket_cap_mb`: None
281
+ - `ddp_broadcast_buffers`: False
282
+ - `dataloader_pin_memory`: True
283
+ - `dataloader_persistent_workers`: False
284
+ - `skip_memory_metrics`: True
285
+ - `use_legacy_prediction_loop`: False
286
+ - `push_to_hub`: False
287
+ - `resume_from_checkpoint`: None
288
+ - `hub_model_id`: None
289
+ - `hub_strategy`: every_save
290
+ - `hub_private_repo`: False
291
+ - `hub_always_push`: False
292
+ - `gradient_checkpointing`: False
293
+ - `gradient_checkpointing_kwargs`: None
294
+ - `include_inputs_for_metrics`: False
295
+ - `eval_do_concat_batches`: True
296
+ - `fp16_backend`: auto
297
+ - `push_to_hub_model_id`: None
298
+ - `push_to_hub_organization`: None
299
+ - `mp_parameters`:
300
+ - `auto_find_batch_size`: False
301
+ - `full_determinism`: False
302
+ - `torchdynamo`: None
303
+ - `ray_scope`: last
304
+ - `ddp_timeout`: 1800
305
+ - `torch_compile`: False
306
+ - `torch_compile_backend`: None
307
+ - `torch_compile_mode`: None
308
+ - `dispatch_batches`: None
309
+ - `split_batches`: None
310
+ - `include_tokens_per_second`: False
311
+ - `include_num_input_tokens_seen`: False
312
+ - `neftune_noise_alpha`: None
313
+ - `optim_target_modules`: None
314
+ - `batch_eval_metrics`: False
315
+ - `eval_on_start`: False
316
+ - `use_liger_kernel`: False
317
+ - `eval_use_gather_object`: False
318
+ - `batch_sampler`: batch_sampler
319
+ - `multi_dataset_batch_sampler`: proportional
320
+
321
+ </details>
322
+
323
+ ### Training Logs
324
+ | Epoch | Step | Training Loss | loss |
325
+ |:------:|:----:|:-------------:|:------:|
326
+ | 0.1765 | 3 | 1.3714 | - |
327
+ | 0.3529 | 6 | 1.1954 | - |
328
+ | 0.5294 | 9 | 1.1055 | - |
329
+ | 0.7059 | 12 | 0.9275 | - |
330
+ | 0.8824 | 15 | 0.7038 | - |
331
+ | 1.0 | 17 | - | 0.9882 |
332
+ | 1.0588 | 18 | 0.7652 | - |
333
+ | 1.2353 | 21 | 0.4272 | - |
334
+ | 1.4118 | 24 | 0.5581 | - |
335
+ | 1.5882 | 27 | 0.4515 | - |
336
+ | 1.7647 | 30 | 0.6145 | - |
337
+ | 1.9412 | 33 | 0.6234 | - |
338
+ | 2.0 | 34 | - | 0.8181 |
339
+ | 2.1176 | 36 | 0.4453 | - |
340
+ | 2.2941 | 39 | 0.6209 | - |
341
+ | 2.4706 | 42 | 0.5695 | - |
342
+ | 2.6471 | 45 | 0.4684 | - |
343
+ | 2.8235 | 48 | 0.3162 | - |
344
+ | 3.0 | 51 | 0.3467 | 0.7717 |
345
+
346
+
347
+ ### Framework Versions
348
+ - Python: 3.10.14
349
+ - Sentence Transformers: 3.1.1
350
+ - Transformers: 4.45.0
351
+ - PyTorch: 2.3.0
352
+ - Accelerate: 0.34.1
353
+ - Datasets: 2.19.1
354
+ - Tokenizers: 0.20.0
355
+
356
+ ## Citation
357
+
358
+ ### BibTeX
359
+
360
+ #### Sentence Transformers
361
+ ```bibtex
362
+ @inproceedings{reimers-2019-sentence-bert,
363
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
364
+ author = "Reimers, Nils and Gurevych, Iryna",
365
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
366
+ month = "11",
367
+ year = "2019",
368
+ publisher = "Association for Computational Linguistics",
369
+ url = "https://arxiv.org/abs/1908.10084",
370
+ }
371
+ ```
372
+
373
+ #### MultipleNegativesRankingLoss
374
+ ```bibtex
375
+ @misc{henderson2017efficient,
376
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
377
+ 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},
378
+ year={2017},
379
+ eprint={1705.00652},
380
+ archivePrefix={arXiv},
381
+ primaryClass={cs.CL}
382
+ }
383
+ ```
384
+
385
+ <!--
386
+ ## Glossary
387
+
388
+ *Clearly define terms in order to be accessible across audiences.*
389
+ -->
390
+
391
+ <!--
392
+ ## Model Card Authors
393
+
394
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
395
+ -->
396
+
397
+ <!--
398
+ ## Model Card Contact
399
+
400
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
401
+ -->
checkpoint-51/config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/all-MiniLM-L6-v2",
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 1536,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 6,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.45.0",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 30522
26
+ }
checkpoint-51/config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.1.1",
4
+ "transformers": "4.45.0",
5
+ "pytorch": "2.3.0"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": null
10
+ }
checkpoint-51/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0d7236312b349eb699295f8794e599c47be5625b2c8e0ee66598700cabe15fa
3
+ size 90864192
checkpoint-51/modules.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Normalize",
18
+ "type": "sentence_transformers.models.Normalize"
19
+ }
20
+ ]
checkpoint-51/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:337ae18535a1fafb4cc779d2e35e0693b8053104fb5f8c91a6b06d6da0daebb8
3
+ size 180604922
checkpoint-51/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63d7304920419a793c12e9ccc259deb4f561c19c510ea8435a51dbbe4b1b2e7e
3
+ size 13990
checkpoint-51/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86a176f610d904de19cdb2feb2498656a7af00acce7ae0519c83aec4872f59d1
3
+ size 1064
checkpoint-51/sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
checkpoint-51/special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
checkpoint-51/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-51/tokenizer_config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "max_length": 128,
50
+ "model_max_length": 256,
51
+ "never_split": null,
52
+ "pad_to_multiple_of": null,
53
+ "pad_token": "[PAD]",
54
+ "pad_token_type_id": 0,
55
+ "padding_side": "right",
56
+ "sep_token": "[SEP]",
57
+ "stride": 0,
58
+ "strip_accents": null,
59
+ "tokenize_chinese_chars": true,
60
+ "tokenizer_class": "BertTokenizer",
61
+ "truncation_side": "right",
62
+ "truncation_strategy": "longest_first",
63
+ "unk_token": "[UNK]"
64
+ }
checkpoint-51/trainer_state.json ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7716913223266602,
3
+ "best_model_checkpoint": "autotrain-6k3et-c7br0/checkpoint-51",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 51,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.17647058823529413,
13
+ "grad_norm": 17.922496795654297,
14
+ "learning_rate": 1.5e-05,
15
+ "loss": 1.3714,
16
+ "step": 3
17
+ },
18
+ {
19
+ "epoch": 0.35294117647058826,
20
+ "grad_norm": 23.795621871948242,
21
+ "learning_rate": 3e-05,
22
+ "loss": 1.1954,
23
+ "step": 6
24
+ },
25
+ {
26
+ "epoch": 0.5294117647058824,
27
+ "grad_norm": 14.98381233215332,
28
+ "learning_rate": 2.8e-05,
29
+ "loss": 1.1055,
30
+ "step": 9
31
+ },
32
+ {
33
+ "epoch": 0.7058823529411765,
34
+ "grad_norm": 12.722396850585938,
35
+ "learning_rate": 2.6000000000000002e-05,
36
+ "loss": 0.9275,
37
+ "step": 12
38
+ },
39
+ {
40
+ "epoch": 0.8823529411764706,
41
+ "grad_norm": 13.562817573547363,
42
+ "learning_rate": 2.4e-05,
43
+ "loss": 0.7038,
44
+ "step": 15
45
+ },
46
+ {
47
+ "epoch": 1.0,
48
+ "eval_loss": 0.9882338643074036,
49
+ "eval_runtime": 0.3701,
50
+ "eval_samples_per_second": 94.572,
51
+ "eval_steps_per_second": 8.106,
52
+ "step": 17
53
+ },
54
+ {
55
+ "epoch": 1.0588235294117647,
56
+ "grad_norm": 10.743192672729492,
57
+ "learning_rate": 2.2e-05,
58
+ "loss": 0.7652,
59
+ "step": 18
60
+ },
61
+ {
62
+ "epoch": 1.2352941176470589,
63
+ "grad_norm": 8.609188079833984,
64
+ "learning_rate": 1.9999999999999998e-05,
65
+ "loss": 0.4272,
66
+ "step": 21
67
+ },
68
+ {
69
+ "epoch": 1.4117647058823528,
70
+ "grad_norm": 8.594082832336426,
71
+ "learning_rate": 1.8e-05,
72
+ "loss": 0.5581,
73
+ "step": 24
74
+ },
75
+ {
76
+ "epoch": 1.5882352941176472,
77
+ "grad_norm": 10.913146018981934,
78
+ "learning_rate": 1.6e-05,
79
+ "loss": 0.4515,
80
+ "step": 27
81
+ },
82
+ {
83
+ "epoch": 1.7647058823529411,
84
+ "grad_norm": 6.585514068603516,
85
+ "learning_rate": 1.4e-05,
86
+ "loss": 0.6145,
87
+ "step": 30
88
+ },
89
+ {
90
+ "epoch": 1.9411764705882353,
91
+ "grad_norm": 6.181787967681885,
92
+ "learning_rate": 1.2e-05,
93
+ "loss": 0.6234,
94
+ "step": 33
95
+ },
96
+ {
97
+ "epoch": 2.0,
98
+ "eval_loss": 0.8181360960006714,
99
+ "eval_runtime": 0.3087,
100
+ "eval_samples_per_second": 113.374,
101
+ "eval_steps_per_second": 9.718,
102
+ "step": 34
103
+ },
104
+ {
105
+ "epoch": 2.1176470588235294,
106
+ "grad_norm": 3.0840885639190674,
107
+ "learning_rate": 9.999999999999999e-06,
108
+ "loss": 0.4453,
109
+ "step": 36
110
+ },
111
+ {
112
+ "epoch": 2.2941176470588234,
113
+ "grad_norm": 4.636595726013184,
114
+ "learning_rate": 8e-06,
115
+ "loss": 0.6209,
116
+ "step": 39
117
+ },
118
+ {
119
+ "epoch": 2.4705882352941178,
120
+ "grad_norm": 9.451086044311523,
121
+ "learning_rate": 6e-06,
122
+ "loss": 0.5695,
123
+ "step": 42
124
+ },
125
+ {
126
+ "epoch": 2.6470588235294117,
127
+ "grad_norm": 7.00937557220459,
128
+ "learning_rate": 4e-06,
129
+ "loss": 0.4684,
130
+ "step": 45
131
+ },
132
+ {
133
+ "epoch": 2.8235294117647056,
134
+ "grad_norm": 4.03523063659668,
135
+ "learning_rate": 2e-06,
136
+ "loss": 0.3162,
137
+ "step": 48
138
+ },
139
+ {
140
+ "epoch": 3.0,
141
+ "grad_norm": 4.497876167297363,
142
+ "learning_rate": 0.0,
143
+ "loss": 0.3467,
144
+ "step": 51
145
+ },
146
+ {
147
+ "epoch": 3.0,
148
+ "eval_loss": 0.7716913223266602,
149
+ "eval_runtime": 0.3027,
150
+ "eval_samples_per_second": 115.64,
151
+ "eval_steps_per_second": 9.912,
152
+ "step": 51
153
+ }
154
+ ],
155
+ "logging_steps": 3,
156
+ "max_steps": 51,
157
+ "num_input_tokens_seen": 0,
158
+ "num_train_epochs": 3,
159
+ "save_steps": 500,
160
+ "stateful_callbacks": {
161
+ "EarlyStoppingCallback": {
162
+ "args": {
163
+ "early_stopping_patience": 5,
164
+ "early_stopping_threshold": 0.01
165
+ },
166
+ "attributes": {
167
+ "early_stopping_patience_counter": 0
168
+ }
169
+ },
170
+ "TrainerControl": {
171
+ "args": {
172
+ "should_epoch_stop": false,
173
+ "should_evaluate": false,
174
+ "should_log": false,
175
+ "should_save": true,
176
+ "should_training_stop": true
177
+ },
178
+ "attributes": {}
179
+ }
180
+ },
181
+ "total_flos": 0.0,
182
+ "train_batch_size": 8,
183
+ "trial_name": null,
184
+ "trial_params": null
185
+ }
checkpoint-51/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a47e715df37a9fcd647152283ff0e5c097baf917b40dfc342c2f06f3e7a1188c
3
+ size 5496
checkpoint-51/vocab.txt ADDED
The diff for this file is too large to render. See raw diff
 
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/all-MiniLM-L6-v2",
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 1536,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 6,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.45.0",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 30522
26
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.1.1",
4
+ "transformers": "4.45.0",
5
+ "pytorch": "2.3.0"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": null
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0d7236312b349eb699295f8794e599c47be5625b2c8e0ee66598700cabe15fa
3
+ size 90864192
modules.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Normalize",
18
+ "type": "sentence_transformers.models.Normalize"
19
+ }
20
+ ]
runs/Sep27_16-50-04_r-d1998-autotrain-advanced-a9ipvz9o-ae875-bnw5o/events.out.tfevents.1727455805.r-d1998-autotrain-advanced-a9ipvz9o-ae875-bnw5o.102.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0d34391608cacecb82062fce62dc970d4fa048475b27b742a2b04e0b7c78a051
3
- size 4336
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f31c48c728b2d6c0d45d95747eda990a0d6f7f1b397678e565548c5758b05bb
3
+ size 9001
runs/Sep27_16-50-04_r-d1998-autotrain-advanced-a9ipvz9o-ae875-bnw5o/events.out.tfevents.1727455833.r-d1998-autotrain-advanced-a9ipvz9o-ae875-bnw5o.102.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70405c949a370a1a4eaa3e31f9bbb24ea53740a4295634152298de1b2444eca9
3
+ size 354
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "max_length": 128,
50
+ "model_max_length": 256,
51
+ "never_split": null,
52
+ "pad_to_multiple_of": null,
53
+ "pad_token": "[PAD]",
54
+ "pad_token_type_id": 0,
55
+ "padding_side": "right",
56
+ "sep_token": "[SEP]",
57
+ "stride": 0,
58
+ "strip_accents": null,
59
+ "tokenize_chinese_chars": true,
60
+ "tokenizer_class": "BertTokenizer",
61
+ "truncation_side": "right",
62
+ "truncation_strategy": "longest_first",
63
+ "unk_token": "[UNK]"
64
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a47e715df37a9fcd647152283ff0e5c097baf917b40dfc342c2f06f3e7a1188c
3
+ size 5496
training_params.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-6k3et-c7br0/autotrain-data",
3
+ "model": "sentence-transformers/all-MiniLM-L6-v2",
4
+ "lr": 3e-05,
5
+ "epochs": 3,
6
+ "max_seq_length": 128,
7
+ "batch_size": 8,
8
+ "warmup_ratio": 0.1,
9
+ "gradient_accumulation": 1,
10
+ "optimizer": "adamw_torch",
11
+ "scheduler": "linear",
12
+ "weight_decay": 0.0,
13
+ "max_grad_norm": 1.0,
14
+ "seed": 42,
15
+ "train_split": "train",
16
+ "valid_split": "validation",
17
+ "logging_steps": -1,
18
+ "project_name": "autotrain-6k3et-c7br0",
19
+ "auto_find_batch_size": false,
20
+ "mixed_precision": "fp16",
21
+ "save_total_limit": 1,
22
+ "push_to_hub": true,
23
+ "eval_strategy": "epoch",
24
+ "username": "d1998",
25
+ "log": "tensorboard",
26
+ "early_stopping_patience": 5,
27
+ "early_stopping_threshold": 0.01,
28
+ "trainer": "pair",
29
+ "sentence1_column": "autotrain_sentence1",
30
+ "sentence2_column": "autotrain_sentence2",
31
+ "sentence3_column": "autotrain_sentence3",
32
+ "target_column": "autotrain_target"
33
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff