tvist1988 commited on
Commit
cbbdf63
1 Parent(s): dfe5639

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,7 @@ 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
+ checkpoint-1/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ checkpoint-1/unigram.json filter=lfs diff=lfs merge=lfs -text
38
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
39
+ unigram.json filter=lfs diff=lfs merge=lfs -text
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/paraphrase-multilingual-MiniLM-L12-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.0
25
+
26
+ runtime: 0.0589
27
+
28
+ samples_per_second: 16.965
29
+
30
+ steps_per_second: 16.965
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-1/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-1/README.md ADDED
@@ -0,0 +1,350 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: []
3
+ library_name: sentence-transformers
4
+ tags:
5
+ - sentence-transformers
6
+ - sentence-similarity
7
+ - feature-extraction
8
+ - dataset_size:n<1K
9
+ - loss:MultipleNegativesRankingLoss
10
+ base_model: sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
11
+ widget: []
12
+ pipeline_tag: sentence-similarity
13
+ ---
14
+
15
+ # SentenceTransformer based on sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
16
+
17
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-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.
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+ - **Model Type:** Sentence Transformer
23
+ - **Base model:** [sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2) <!-- at revision bf3bf13ab40c3157080a7ab344c831b9ad18b5eb -->
24
+ - **Maximum Sequence Length:** 128 tokens
25
+ - **Output Dimensionality:** 384 tokens
26
+ - **Similarity Function:** Cosine Similarity
27
+ <!-- - **Training Dataset:** Unknown -->
28
+ <!-- - **Language:** Unknown -->
29
+ <!-- - **License:** Unknown -->
30
+
31
+ ### Model Sources
32
+
33
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
34
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
35
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
36
+
37
+ ### Full Model Architecture
38
+
39
+ ```
40
+ SentenceTransformer(
41
+ (0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: BertModel
42
+ (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})
43
+ )
44
+ ```
45
+
46
+ ## Usage
47
+
48
+ ### Direct Usage (Sentence Transformers)
49
+
50
+ First install the Sentence Transformers library:
51
+
52
+ ```bash
53
+ pip install -U sentence-transformers
54
+ ```
55
+
56
+ Then you can load this model and run inference.
57
+ ```python
58
+ from sentence_transformers import SentenceTransformer
59
+
60
+ # Download from the 🤗 Hub
61
+ model = SentenceTransformer("sentence_transformers_model_id")
62
+ # Run inference
63
+ sentences = [
64
+ 'The weather is lovely today.',
65
+ "It's so sunny outside!",
66
+ 'He drove to the stadium.',
67
+ ]
68
+ embeddings = model.encode(sentences)
69
+ print(embeddings.shape)
70
+ # [3, 384]
71
+
72
+ # Get the similarity scores for the embeddings
73
+ similarities = model.similarity(embeddings, embeddings)
74
+ print(similarities.shape)
75
+ # [3, 3]
76
+ ```
77
+
78
+ <!--
79
+ ### Direct Usage (Transformers)
80
+
81
+ <details><summary>Click to see the direct usage in Transformers</summary>
82
+
83
+ </details>
84
+ -->
85
+
86
+ <!--
87
+ ### Downstream Usage (Sentence Transformers)
88
+
89
+ You can finetune this model on your own dataset.
90
+
91
+ <details><summary>Click to expand</summary>
92
+
93
+ </details>
94
+ -->
95
+
96
+ <!--
97
+ ### Out-of-Scope Use
98
+
99
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
100
+ -->
101
+
102
+ <!--
103
+ ## Bias, Risks and Limitations
104
+
105
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
106
+ -->
107
+
108
+ <!--
109
+ ### Recommendations
110
+
111
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
112
+ -->
113
+
114
+ ## Training Details
115
+
116
+ ### Training Dataset
117
+
118
+ #### Unnamed Dataset
119
+
120
+
121
+ * Size: 1 training samples
122
+ * Columns: <code>query</code> and <code>answer</code>
123
+ * Approximate statistics based on the first 1000 samples:
124
+ | | query | answer |
125
+ |:--------|:-------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
126
+ | type | string | string |
127
+ | details | <ul><li>min: 7 tokens</li><li>mean: 7.0 tokens</li><li>max: 7 tokens</li></ul> | <ul><li>min: 128 tokens</li><li>mean: 128.0 tokens</li><li>max: 128 tokens</li></ul> |
128
+ * Samples:
129
+ | query | answer |
130
+ |:-------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
131
+ | <code>обязанности председателя РКО?</code> | <code>Председательствует на всех собраниях РКО АН ЗР;<br>• Координирует работу должностных лиц Региона;<br>• Занимается организацией Регулярного Собрания РКО АН ЗР и собраний Исполкома РКО АН ЗР;<br>• Следит за соблюдением принципов работы Региона на собраниях РКО АН ЗР;<br>• При отсутствии Вице-председателя РКО АН ЗР исполняет его обязанности;<br>• Если Представитель местности-участника отсутствует на Регулярном Собрании 2 раза подряд, Председатель связывается с должностными лицами местности-участника и выясняет причину отсутствия;<br>• Ведет переписку от имени Региона «Западная Россия»;<br>• Оповещает за 3 суток о собрании Исполкома, посредством электронной<br>рассылки и предоставляет повестку собрания Исполкома.<br>• Становится членом Совета АНО «ПОМОЩЬ ЛЮДЯМ, ВЫЗДОРАВЛИВАЮЩИМ ПО ПРОГРАММЕ 12 ШАГОВ» (далее Совет АНО).</code> |
132
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
133
+ ```json
134
+ {
135
+ "scale": 20.0,
136
+ "similarity_fct": "cos_sim"
137
+ }
138
+ ```
139
+
140
+ ### Evaluation Dataset
141
+
142
+ #### Unnamed Dataset
143
+
144
+
145
+ * Size: 1 evaluation samples
146
+ * Columns: <code>query</code> and <code>answer</code>
147
+ * Approximate statistics based on the first 1000 samples:
148
+ | | query | answer |
149
+ |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
150
+ | type | string | string |
151
+ | details | <ul><li>min: 11 tokens</li><li>mean: 11.0 tokens</li><li>max: 11 tokens</li></ul> | <ul><li>min: 35 tokens</li><li>mean: 35.0 tokens</li><li>max: 35 tokens</li></ul> |
152
+ * Samples:
153
+ | query | answer |
154
+ |:--------------------------------------------|:------------------------------------------------------------------------------------------------------------------|
155
+ | <code>Кворум для голосования РКО АН?</code> | <code>Семь ЧРК (или их заместители) и три члена Исполкома представляют кворум для всех собраний РКО АН ЗР.</code> |
156
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
157
+ ```json
158
+ {
159
+ "scale": 20.0,
160
+ "similarity_fct": "cos_sim"
161
+ }
162
+ ```
163
+
164
+ ### Training Hyperparameters
165
+ #### Non-Default Hyperparameters
166
+
167
+ - `eval_strategy`: epoch
168
+ - `per_device_train_batch_size`: 1
169
+ - `per_device_eval_batch_size`: 2
170
+ - `learning_rate`: 3e-05
171
+ - `warmup_ratio`: 0.1
172
+ - `fp16`: True
173
+ - `load_best_model_at_end`: True
174
+ - `ddp_find_unused_parameters`: False
175
+
176
+ #### All Hyperparameters
177
+ <details><summary>Click to expand</summary>
178
+
179
+ - `overwrite_output_dir`: False
180
+ - `do_predict`: False
181
+ - `eval_strategy`: epoch
182
+ - `prediction_loss_only`: True
183
+ - `per_device_train_batch_size`: 1
184
+ - `per_device_eval_batch_size`: 2
185
+ - `per_gpu_train_batch_size`: None
186
+ - `per_gpu_eval_batch_size`: None
187
+ - `gradient_accumulation_steps`: 1
188
+ - `eval_accumulation_steps`: None
189
+ - `learning_rate`: 3e-05
190
+ - `weight_decay`: 0.0
191
+ - `adam_beta1`: 0.9
192
+ - `adam_beta2`: 0.999
193
+ - `adam_epsilon`: 1e-08
194
+ - `max_grad_norm`: 1.0
195
+ - `num_train_epochs`: 3
196
+ - `max_steps`: -1
197
+ - `lr_scheduler_type`: linear
198
+ - `lr_scheduler_kwargs`: {}
199
+ - `warmup_ratio`: 0.1
200
+ - `warmup_steps`: 0
201
+ - `log_level`: passive
202
+ - `log_level_replica`: warning
203
+ - `log_on_each_node`: True
204
+ - `logging_nan_inf_filter`: True
205
+ - `save_safetensors`: True
206
+ - `save_on_each_node`: False
207
+ - `save_only_model`: False
208
+ - `restore_callback_states_from_checkpoint`: False
209
+ - `no_cuda`: False
210
+ - `use_cpu`: False
211
+ - `use_mps_device`: False
212
+ - `seed`: 42
213
+ - `data_seed`: None
214
+ - `jit_mode_eval`: False
215
+ - `use_ipex`: False
216
+ - `bf16`: False
217
+ - `fp16`: True
218
+ - `fp16_opt_level`: O1
219
+ - `half_precision_backend`: auto
220
+ - `bf16_full_eval`: False
221
+ - `fp16_full_eval`: False
222
+ - `tf32`: None
223
+ - `local_rank`: 0
224
+ - `ddp_backend`: None
225
+ - `tpu_num_cores`: None
226
+ - `tpu_metrics_debug`: False
227
+ - `debug`: []
228
+ - `dataloader_drop_last`: False
229
+ - `dataloader_num_workers`: 0
230
+ - `dataloader_prefetch_factor`: None
231
+ - `past_index`: -1
232
+ - `disable_tqdm`: False
233
+ - `remove_unused_columns`: True
234
+ - `label_names`: None
235
+ - `load_best_model_at_end`: True
236
+ - `ignore_data_skip`: False
237
+ - `fsdp`: []
238
+ - `fsdp_min_num_params`: 0
239
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
240
+ - `fsdp_transformer_layer_cls_to_wrap`: None
241
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
242
+ - `deepspeed`: None
243
+ - `label_smoothing_factor`: 0.0
244
+ - `optim`: adamw_torch
245
+ - `optim_args`: None
246
+ - `adafactor`: False
247
+ - `group_by_length`: False
248
+ - `length_column_name`: length
249
+ - `ddp_find_unused_parameters`: False
250
+ - `ddp_bucket_cap_mb`: None
251
+ - `ddp_broadcast_buffers`: False
252
+ - `dataloader_pin_memory`: True
253
+ - `dataloader_persistent_workers`: False
254
+ - `skip_memory_metrics`: True
255
+ - `use_legacy_prediction_loop`: False
256
+ - `push_to_hub`: False
257
+ - `resume_from_checkpoint`: None
258
+ - `hub_model_id`: None
259
+ - `hub_strategy`: every_save
260
+ - `hub_private_repo`: False
261
+ - `hub_always_push`: False
262
+ - `gradient_checkpointing`: False
263
+ - `gradient_checkpointing_kwargs`: None
264
+ - `include_inputs_for_metrics`: False
265
+ - `eval_do_concat_batches`: True
266
+ - `fp16_backend`: auto
267
+ - `push_to_hub_model_id`: None
268
+ - `push_to_hub_organization`: None
269
+ - `mp_parameters`:
270
+ - `auto_find_batch_size`: False
271
+ - `full_determinism`: False
272
+ - `torchdynamo`: None
273
+ - `ray_scope`: last
274
+ - `ddp_timeout`: 1800
275
+ - `torch_compile`: False
276
+ - `torch_compile_backend`: None
277
+ - `torch_compile_mode`: None
278
+ - `dispatch_batches`: None
279
+ - `split_batches`: None
280
+ - `include_tokens_per_second`: False
281
+ - `include_num_input_tokens_seen`: False
282
+ - `neftune_noise_alpha`: None
283
+ - `optim_target_modules`: None
284
+ - `batch_eval_metrics`: False
285
+ - `batch_sampler`: batch_sampler
286
+ - `multi_dataset_batch_sampler`: proportional
287
+
288
+ </details>
289
+
290
+ ### Training Logs
291
+ | Epoch | Step | Training Loss | loss |
292
+ |:-----:|:----:|:-------------:|:----:|
293
+ | 1.0 | 1 | 0.0 | 0.0 |
294
+
295
+
296
+ ### Framework Versions
297
+ - Python: 3.10.14
298
+ - Sentence Transformers: 3.0.0
299
+ - Transformers: 4.41.0
300
+ - PyTorch: 2.3.0
301
+ - Accelerate: 0.30.1
302
+ - Datasets: 2.19.1
303
+ - Tokenizers: 0.19.1
304
+
305
+ ## Citation
306
+
307
+ ### BibTeX
308
+
309
+ #### Sentence Transformers
310
+ ```bibtex
311
+ @inproceedings{reimers-2019-sentence-bert,
312
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
313
+ author = "Reimers, Nils and Gurevych, Iryna",
314
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
315
+ month = "11",
316
+ year = "2019",
317
+ publisher = "Association for Computational Linguistics",
318
+ url = "https://arxiv.org/abs/1908.10084",
319
+ }
320
+ ```
321
+
322
+ #### MultipleNegativesRankingLoss
323
+ ```bibtex
324
+ @misc{henderson2017efficient,
325
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
326
+ 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},
327
+ year={2017},
328
+ eprint={1705.00652},
329
+ archivePrefix={arXiv},
330
+ primaryClass={cs.CL}
331
+ }
332
+ ```
333
+
334
+ <!--
335
+ ## Glossary
336
+
337
+ *Clearly define terms in order to be accessible across audiences.*
338
+ -->
339
+
340
+ <!--
341
+ ## Model Card Authors
342
+
343
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
344
+ -->
345
+
346
+ <!--
347
+ ## Model Card Contact
348
+
349
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
350
+ -->
checkpoint-1/config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/paraphrase-multilingual-MiniLM-L12-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": 12,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.41.0",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 250037
26
+ }
checkpoint-1/config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "2.0.0",
4
+ "transformers": "4.7.0",
5
+ "pytorch": "1.9.0+cu102"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": null
10
+ }
checkpoint-1/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f4f89d628f87ade0e0b57c40affb6402cd77abc8110584d8d35dc86da514ee8
3
+ size 470637416
checkpoint-1/modules.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ ]
checkpoint-1/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c5577bf1e8ccb54ad51ca909068e70d9a5a280487081e4ad6c949b4da7881d6
3
+ size 940206650
checkpoint-1/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1b5d813f9ed9f7e301d89bec6aa65491e071799673306362013f0433b168919
3
+ size 13990
checkpoint-1/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:742176a3d560e613436601a35c6e4ee7068e6f59bc76b4fb34bbdb29736e2dde
3
+ size 1064
checkpoint-1/sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 128,
3
+ "do_lower_case": false
4
+ }
checkpoint-1/special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
checkpoint-1/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cad551d5600a84242d0973327029452a1e3672ba6313c2a3c3d69c4310e12719
3
+ size 17082987
checkpoint-1/tokenizer_config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "250001": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "<s>",
47
+ "do_lower_case": true,
48
+ "eos_token": "</s>",
49
+ "mask_token": "<mask>",
50
+ "max_length": 128,
51
+ "model_max_length": 128,
52
+ "pad_to_multiple_of": null,
53
+ "pad_token": "<pad>",
54
+ "pad_token_type_id": 0,
55
+ "padding_side": "right",
56
+ "sep_token": "</s>",
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-1/trainer_state.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.0,
3
+ "best_model_checkpoint": "autotrain-i4xnn-ebv22/checkpoint-1",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "grad_norm": 0.0,
14
+ "learning_rate": 3e-05,
15
+ "loss": 0.0,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_loss": 0.0,
21
+ "eval_runtime": 0.0626,
22
+ "eval_samples_per_second": 15.967,
23
+ "eval_steps_per_second": 15.967,
24
+ "step": 1
25
+ }
26
+ ],
27
+ "logging_steps": 1,
28
+ "max_steps": 3,
29
+ "num_input_tokens_seen": 0,
30
+ "num_train_epochs": 3,
31
+ "save_steps": 500,
32
+ "stateful_callbacks": {
33
+ "EarlyStoppingCallback": {
34
+ "args": {
35
+ "early_stopping_patience": 5,
36
+ "early_stopping_threshold": 0.01
37
+ },
38
+ "attributes": {
39
+ "early_stopping_patience_counter": 0
40
+ }
41
+ },
42
+ "TrainerControl": {
43
+ "args": {
44
+ "should_epoch_stop": false,
45
+ "should_evaluate": false,
46
+ "should_log": false,
47
+ "should_save": true,
48
+ "should_training_stop": false
49
+ },
50
+ "attributes": {}
51
+ }
52
+ },
53
+ "total_flos": 0.0,
54
+ "train_batch_size": 1,
55
+ "trial_name": null,
56
+ "trial_params": null
57
+ }
checkpoint-1/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ddda3531316c52ab5286b3e91720847113c23bd392259a421a9578fd843c1ed
3
+ size 5368
checkpoint-1/unigram.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da145b5e7700ae40f16691ec32a0b1fdc1ee3298db22a31ea55f57a966c4a65d
3
+ size 14763260
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/paraphrase-multilingual-MiniLM-L12-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": 12,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.41.0",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 250037
26
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "2.0.0",
4
+ "transformers": "4.7.0",
5
+ "pytorch": "1.9.0+cu102"
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:7f4f89d628f87ade0e0b57c40affb6402cd77abc8110584d8d35dc86da514ee8
3
+ size 470637416
modules.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ ]
runs/Jun04_10-40-54_r-tvist1988-autotrain-advanced-i09ey718-c06ed-imha5/events.out.tfevents.1717497655.r-tvist1988-autotrain-advanced-i09ey718-c06ed-imha5.171.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:608db677a0b044c9fc3bca1824a57dc6ee25679edc696ce081a35000f3d419b2
3
- size 4217
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24fab0b19cf2eb730be4e1ca8e10bc4d719ed5160ec7395cb7bf13af2499c1fb
3
+ size 5984
runs/Jun04_10-40-54_r-tvist1988-autotrain-advanced-i09ey718-c06ed-imha5/events.out.tfevents.1717497668.r-tvist1988-autotrain-advanced-i09ey718-c06ed-imha5.171.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b2af9777b71dfdbb8e71e0b8102236467953b468fdd64987c51d68a2ad9ca32
3
+ size 354
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 128,
3
+ "do_lower_case": false
4
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cad551d5600a84242d0973327029452a1e3672ba6313c2a3c3d69c4310e12719
3
+ size 17082987
tokenizer_config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "250001": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "<s>",
47
+ "do_lower_case": true,
48
+ "eos_token": "</s>",
49
+ "mask_token": "<mask>",
50
+ "max_length": 128,
51
+ "model_max_length": 128,
52
+ "pad_to_multiple_of": null,
53
+ "pad_token": "<pad>",
54
+ "pad_token_type_id": 0,
55
+ "padding_side": "right",
56
+ "sep_token": "</s>",
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:4ddda3531316c52ab5286b3e91720847113c23bd392259a421a9578fd843c1ed
3
+ size 5368
training_params.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-i4xnn-ebv22/autotrain-data",
3
+ "model": "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2",
4
+ "lr": 3e-05,
5
+ "epochs": 3,
6
+ "max_seq_length": 128,
7
+ "batch_size": 1,
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-i4xnn-ebv22",
19
+ "auto_find_batch_size": false,
20
+ "mixed_precision": "fp16",
21
+ "save_total_limit": 1,
22
+ "push_to_hub": true,
23
+ "evaluation_strategy": "epoch",
24
+ "username": "tvist1988",
25
+ "log": "tensorboard",
26
+ "early_stopping_patience": 5,
27
+ "early_stopping_threshold": 0.01,
28
+ "trainer": "qa",
29
+ "sentence1_column": "autotrain_sentence1",
30
+ "sentence2_column": "autotrain_sentence2",
31
+ "sentence3_column": "autotrain_sentence3",
32
+ "target_column": "autotrain_target"
33
+ }
unigram.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da145b5e7700ae40f16691ec32a0b1fdc1ee3298db22a31ea55f57a966c4a65d
3
+ size 14763260