sukhrobnurali commited on
Commit
611e9ee
·
verified ·
1 Parent(s): 59af780

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,5 @@
 
 
 
 
 
 
1
+ {
2
+ "embedding_dimension": 384,
3
+ "pooling_mode": "mean",
4
+ "include_prompt": true
5
+ }
README.md ADDED
@@ -0,0 +1,403 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - uz
4
+ - en
5
+ tags:
6
+ - sentence-transformers
7
+ - sentence-similarity
8
+ - feature-extraction
9
+ - generated_from_trainer
10
+ - dataset_size:356278
11
+ - loss:MultipleNegativesRankingLoss
12
+ base_model: intfloat/multilingual-e5-small
13
+ widget:
14
+ - source_sentence: 'query: Бас, Қуръон ила азоб ваъдамдан қўрққанларни огоҳлантир.'
15
+ sentences:
16
+ - 'passage: If you are prevented from doing so, then make whatever offering you
17
+ can afford and do not shave your heads until the offering has reached the place
18
+ of sacrifice.'
19
+ - 'passage: Moses said to him, ‘You are indeed clearly perverse!’'
20
+ - 'passage: So keep on reminding through the Qurʼan whoever fears My warning.'
21
+ - source_sentence: 'query: Булардан олдин Нуҳ қавми ҳам ёлғончи қилган эди. Бас бандамизни
22
+ ёлғончига чиқаришди ва, мажнун, дейишди.'
23
+ sentences:
24
+ - 'passage: Error while moving.'
25
+ - 'passage: Before these, the people of Nooh denied and they belied Our bondman
26
+ and said, “He is a madman” and rebuffed him.'
27
+ - 'passage: On the contrary, they said the same as what the former people used to
28
+ say.'
29
+ - source_sentence: 'query: Ва Иброҳимнинг мақомини намозгоҳ тутинг.'
30
+ sentences:
31
+ - 'passage: Storage Size'
32
+ - 'passage: and every builder and diver from the demons,'
33
+ - 'passage: Adopt the place where Abraham stood as a place for prayer.'
34
+ - source_sentence: 'query: Kodlash usulini tanlash'
35
+ sentences:
36
+ - 'passage: God will bring them together; God is All-knowing and All-aware.'
37
+ - 'passage: Automatic verification'
38
+ - 'passage: Select Charset'
39
+ - source_sentence: 'query: Yangi aloqa@ info: whatsthis'
40
+ sentences:
41
+ - 'passage: Align Center (Horizontal)'
42
+ - 'passage: Create a new jots page'
43
+ - 'passage: That He may make that which the devil proposeth a temptation for those
44
+ in whose hearts is a disease, and those whose hearts are hardened - Lo! the evil-doers
45
+ are in open schism -'
46
+ datasets:
47
+ - sukhrobnurali/uzbek-embedding-pairs
48
+ pipeline_tag: sentence-similarity
49
+ library_name: sentence-transformers
50
+ ---
51
+
52
+ # SentenceTransformer based on intfloat/multilingual-e5-small
53
+
54
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [intfloat/multilingual-e5-small](https://huggingface.co/intfloat/multilingual-e5-small) on the [uzbek-embedding-pairs](https://huggingface.co/datasets/sukhrobnurali/uzbek-embedding-pairs) dataset. It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for retrieval.
55
+
56
+ ## Model Details
57
+
58
+ ### Model Description
59
+ - **Model Type:** Sentence Transformer
60
+ - **Base model:** [intfloat/multilingual-e5-small](https://huggingface.co/intfloat/multilingual-e5-small) <!-- at revision 614241f622f53c4eeff9890bdc4f31cfecc418b3 -->
61
+ - **Maximum Sequence Length:** 192 tokens
62
+ - **Output Dimensionality:** 384 dimensions
63
+ - **Similarity Function:** Cosine Similarity
64
+ - **Supported Modality:** Text
65
+ - **Training Dataset:**
66
+ - [uzbek-embedding-pairs](https://huggingface.co/datasets/sukhrobnurali/uzbek-embedding-pairs)
67
+ - **Languages:** uz, en
68
+ <!-- - **License:** Unknown -->
69
+
70
+ ### Model Sources
71
+
72
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
73
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
74
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
75
+
76
+ ### Full Model Architecture
77
+
78
+ ```
79
+ SentenceTransformer(
80
+ (0): Transformer({'transformer_task': 'feature-extraction', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'last_hidden_state'}}, 'module_output_name': 'token_embeddings', 'architecture': 'BertModel'})
81
+ (1): Pooling({'embedding_dimension': 384, 'pooling_mode': 'mean', 'include_prompt': True})
82
+ (2): Normalize({})
83
+ )
84
+ ```
85
+
86
+ ## Usage
87
+
88
+ ### Direct Usage (Sentence Transformers)
89
+
90
+ First install the Sentence Transformers library:
91
+
92
+ ```bash
93
+ pip install -U sentence-transformers
94
+ ```
95
+ Then you can load this model and run inference.
96
+ ```python
97
+ from sentence_transformers import SentenceTransformer
98
+
99
+ # Download from the 🤗 Hub
100
+ model = SentenceTransformer("sukhrobnurali/uzbek-e5-small")
101
+ # Run inference
102
+ sentences = [
103
+ 'query: Yangi aloqa@ info: whatsthis',
104
+ 'passage: Create a new jots page',
105
+ 'passage: Align Center (Horizontal)',
106
+ ]
107
+ embeddings = model.encode(sentences)
108
+ print(embeddings.shape)
109
+ # [3, 384]
110
+
111
+ # Get the similarity scores for the embeddings
112
+ similarities = model.similarity(embeddings, embeddings)
113
+ print(similarities)
114
+ # tensor([[1.0000, 0.4521, 0.3498],
115
+ # [0.4521, 1.0000, 0.2835],
116
+ # [0.3498, 0.2835, 1.0000]])
117
+ ```
118
+ <!--
119
+ ### Direct Usage (Transformers)
120
+
121
+ <details><summary>Click to see the direct usage in Transformers</summary>
122
+
123
+ </details>
124
+ -->
125
+
126
+ <!--
127
+ ### Downstream Usage (Sentence Transformers)
128
+
129
+ You can finetune this model on your own dataset.
130
+
131
+ <details><summary>Click to expand</summary>
132
+
133
+ </details>
134
+ -->
135
+
136
+ <!--
137
+ ### Out-of-Scope Use
138
+
139
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
140
+ -->
141
+
142
+ <!--
143
+ ## Bias, Risks and Limitations
144
+
145
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
146
+ -->
147
+
148
+ <!--
149
+ ### Recommendations
150
+
151
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
152
+ -->
153
+
154
+ ## Training Details
155
+
156
+ ### Training Dataset
157
+
158
+ #### uzbek-embedding-pairs
159
+
160
+ * Dataset: [uzbek-embedding-pairs](https://huggingface.co/datasets/sukhrobnurali/uzbek-embedding-pairs) at [311dc5b](https://huggingface.co/datasets/sukhrobnurali/uzbek-embedding-pairs/tree/311dc5b7001061f5e137da714010c362ab206fb2)
161
+ * Size: 356,278 training samples
162
+ * Columns: <code>anchor</code> and <code>positive</code>
163
+ * Approximate statistics based on the first 100 samples:
164
+ | | anchor | positive |
165
+ |:---------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
166
+ | type | string | string |
167
+ | modality | text | text |
168
+ | details | <ul><li>min: 9 tokens</li><li>mean: 37.42 tokens</li><li>max: 99 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 24.18 tokens</li><li>max: 91 tokens</li></ul> |
169
+ * Samples:
170
+ | anchor | positive |
171
+ |:---------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------|
172
+ | <code>query: ʼ%sʼ printerda qogʻoz tugadi.</code> | <code>passage: Printer ʼ%sʼ is out of paper.</code> |
173
+ | <code>query: Яхшилар сифати бўлган ушбу сифатларга такрор-такрор даъват бежиз эмас. Аввало, бу ишларни амалга ошириш осон эмас.</code> | <code>passage: But surely he who bears patiently and is forgiving -- surely that is true constancy.</code> |
174
+ | <code>query: Obʼektlarni guruhlash</code> | <code>passage: Intersect Paths</code> |
175
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
176
+ ```json
177
+ {
178
+ "scale": 20.0,
179
+ "similarity_fct": "cos_sim",
180
+ "gather_across_devices": false,
181
+ "directions": [
182
+ "query_to_doc"
183
+ ],
184
+ "partition_mode": "joint",
185
+ "hardness_mode": null,
186
+ "hardness_strength": 0.0
187
+ }
188
+ ```
189
+
190
+ ### Training Hyperparameters
191
+ #### Non-Default Hyperparameters
192
+
193
+ - `per_device_train_batch_size`: 192
194
+ - `learning_rate`: 2e-05
195
+ - `num_train_epochs`: 1
196
+ - `warmup_steps`: 0.1
197
+ - `bf16`: True
198
+ - `dataloader_drop_last`: True
199
+ - `batch_sampler`: no_duplicates
200
+
201
+ #### All Hyperparameters
202
+ <details><summary>Click to expand</summary>
203
+
204
+ - `do_predict`: False
205
+ - `prediction_loss_only`: True
206
+ - `per_device_train_batch_size`: 192
207
+ - `per_device_eval_batch_size`: 8
208
+ - `gradient_accumulation_steps`: 1
209
+ - `eval_accumulation_steps`: None
210
+ - `torch_empty_cache_steps`: None
211
+ - `learning_rate`: 2e-05
212
+ - `weight_decay`: 0.0
213
+ - `adam_beta1`: 0.9
214
+ - `adam_beta2`: 0.999
215
+ - `adam_epsilon`: 1e-08
216
+ - `max_grad_norm`: 1.0
217
+ - `num_train_epochs`: 1
218
+ - `max_steps`: -1
219
+ - `lr_scheduler_type`: linear
220
+ - `lr_scheduler_kwargs`: None
221
+ - `warmup_ratio`: None
222
+ - `warmup_steps`: 0.1
223
+ - `log_level`: passive
224
+ - `log_level_replica`: warning
225
+ - `log_on_each_node`: True
226
+ - `logging_nan_inf_filter`: True
227
+ - `enable_jit_checkpoint`: False
228
+ - `save_on_each_node`: False
229
+ - `save_only_model`: False
230
+ - `restore_callback_states_from_checkpoint`: False
231
+ - `use_cpu`: False
232
+ - `seed`: 42
233
+ - `data_seed`: None
234
+ - `bf16`: True
235
+ - `fp16`: False
236
+ - `bf16_full_eval`: False
237
+ - `fp16_full_eval`: False
238
+ - `tf32`: None
239
+ - `local_rank`: -1
240
+ - `ddp_backend`: None
241
+ - `debug`: []
242
+ - `dataloader_drop_last`: True
243
+ - `dataloader_num_workers`: 0
244
+ - `dataloader_prefetch_factor`: None
245
+ - `disable_tqdm`: False
246
+ - `remove_unused_columns`: True
247
+ - `label_names`: None
248
+ - `load_best_model_at_end`: False
249
+ - `ignore_data_skip`: False
250
+ - `fsdp`: []
251
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
252
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
253
+ - `parallelism_config`: None
254
+ - `deepspeed`: None
255
+ - `label_smoothing_factor`: 0.0
256
+ - `optim`: adamw_torch_fused
257
+ - `optim_args`: None
258
+ - `group_by_length`: False
259
+ - `length_column_name`: length
260
+ - `project`: huggingface
261
+ - `trackio_space_id`: trackio
262
+ - `ddp_find_unused_parameters`: None
263
+ - `ddp_bucket_cap_mb`: None
264
+ - `ddp_broadcast_buffers`: False
265
+ - `dataloader_pin_memory`: True
266
+ - `dataloader_persistent_workers`: False
267
+ - `skip_memory_metrics`: True
268
+ - `push_to_hub`: False
269
+ - `resume_from_checkpoint`: None
270
+ - `hub_model_id`: None
271
+ - `hub_strategy`: every_save
272
+ - `hub_private_repo`: None
273
+ - `hub_always_push`: False
274
+ - `hub_revision`: None
275
+ - `gradient_checkpointing`: False
276
+ - `gradient_checkpointing_kwargs`: None
277
+ - `include_for_metrics`: []
278
+ - `eval_do_concat_batches`: True
279
+ - `auto_find_batch_size`: False
280
+ - `full_determinism`: False
281
+ - `ddp_timeout`: 1800
282
+ - `torch_compile`: False
283
+ - `torch_compile_backend`: None
284
+ - `torch_compile_mode`: None
285
+ - `include_num_input_tokens_seen`: no
286
+ - `neftune_noise_alpha`: None
287
+ - `optim_target_modules`: None
288
+ - `batch_eval_metrics`: False
289
+ - `eval_on_start`: False
290
+ - `use_liger_kernel`: False
291
+ - `liger_kernel_config`: None
292
+ - `eval_use_gather_object`: False
293
+ - `average_tokens_across_devices`: True
294
+ - `use_cache`: False
295
+ - `prompts`: None
296
+ - `batch_sampler`: no_duplicates
297
+ - `multi_dataset_batch_sampler`: proportional
298
+ - `router_mapping`: {}
299
+ - `learning_rate_mapping`: {}
300
+
301
+ </details>
302
+
303
+ ### Training Logs
304
+ | Epoch | Step | Training Loss |
305
+ |:------:|:----:|:-------------:|
306
+ | 0.0270 | 50 | 2.6769 |
307
+ | 0.0539 | 100 | 0.6613 |
308
+ | 0.0809 | 150 | 0.3277 |
309
+ | 0.1078 | 200 | 0.2751 |
310
+ | 0.1348 | 250 | 0.2922 |
311
+ | 0.1617 | 300 | 0.2691 |
312
+ | 0.1887 | 350 | 0.2518 |
313
+ | 0.2156 | 400 | 0.2677 |
314
+ | 0.2426 | 450 | 0.2455 |
315
+ | 0.2695 | 500 | 0.2279 |
316
+ | 0.2965 | 550 | 0.2323 |
317
+ | 0.3235 | 600 | 0.2215 |
318
+ | 0.3504 | 650 | 0.2220 |
319
+ | 0.3774 | 700 | 0.2328 |
320
+ | 0.4043 | 750 | 0.2116 |
321
+ | 0.4313 | 800 | 0.1994 |
322
+ | 0.4582 | 850 | 0.2057 |
323
+ | 0.4852 | 900 | 0.2223 |
324
+ | 0.5121 | 950 | 0.1943 |
325
+ | 0.5391 | 1000 | 0.1877 |
326
+ | 0.5660 | 1050 | 0.1948 |
327
+ | 0.5930 | 1100 | 0.1913 |
328
+ | 0.6199 | 1150 | 0.1896 |
329
+ | 0.6469 | 1200 | 0.1937 |
330
+ | 0.6739 | 1250 | 0.1942 |
331
+ | 0.7008 | 1300 | 0.1969 |
332
+ | 0.7278 | 1350 | 0.1967 |
333
+ | 0.7547 | 1400 | 0.1917 |
334
+ | 0.7817 | 1450 | 0.1810 |
335
+ | 0.8086 | 1500 | 0.1802 |
336
+ | 0.8356 | 1550 | 0.1791 |
337
+ | 0.8625 | 1600 | 0.1811 |
338
+ | 0.8895 | 1650 | 0.1777 |
339
+ | 0.9164 | 1700 | 0.1739 |
340
+ | 0.9434 | 1750 | 0.1778 |
341
+ | 0.9704 | 1800 | 0.1896 |
342
+ | 0.9973 | 1850 | 0.1589 |
343
+
344
+
345
+ ### Training Time
346
+ - **Training**: 7.7 minutes
347
+
348
+ ### Framework Versions
349
+ - Python: 3.12.13
350
+ - Sentence Transformers: 5.5.1
351
+ - Transformers: 5.0.0
352
+ - PyTorch: 2.11.0+cu128
353
+ - Accelerate: 1.13.0
354
+ - Datasets: 4.0.0
355
+ - Tokenizers: 0.22.2
356
+
357
+ ## Citation
358
+
359
+ ### BibTeX
360
+
361
+ #### Sentence Transformers
362
+ ```bibtex
363
+ @inproceedings{reimers-2019-sentence-bert,
364
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
365
+ author = "Reimers, Nils and Gurevych, Iryna",
366
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
367
+ month = "11",
368
+ year = "2019",
369
+ publisher = "Association for Computational Linguistics",
370
+ url = "https://arxiv.org/abs/1908.10084",
371
+ }
372
+ ```
373
+
374
+ #### MultipleNegativesRankingLoss
375
+ ```bibtex
376
+ @misc{oord2019representationlearningcontrastivepredictive,
377
+ title={Representation Learning with Contrastive Predictive Coding},
378
+ author={Aaron van den Oord and Yazhe Li and Oriol Vinyals},
379
+ year={2019},
380
+ eprint={1807.03748},
381
+ archivePrefix={arXiv},
382
+ primaryClass={cs.LG},
383
+ url={https://arxiv.org/abs/1807.03748},
384
+ }
385
+ ```
386
+
387
+ <!--
388
+ ## Glossary
389
+
390
+ *Clearly define terms in order to be accessible across audiences.*
391
+ -->
392
+
393
+ <!--
394
+ ## Model Card Authors
395
+
396
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
397
+ -->
398
+
399
+ <!--
400
+ ## Model Card Contact
401
+
402
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
403
+ -->
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": 2,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 384,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 1536,
16
+ "is_decoder": false,
17
+ "layer_norm_eps": 1e-12,
18
+ "max_position_embeddings": 512,
19
+ "model_type": "bert",
20
+ "num_attention_heads": 12,
21
+ "num_hidden_layers": 12,
22
+ "pad_token_id": 1,
23
+ "position_embedding_type": "absolute",
24
+ "tie_word_embeddings": true,
25
+ "tokenizer_class": "XLMRobertaTokenizer",
26
+ "transformers_version": "5.0.0",
27
+ "type_vocab_size": 2,
28
+ "use_cache": false,
29
+ "vocab_size": 250037
30
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "pytorch": "2.11.0+cu128",
4
+ "sentence_transformers": "5.5.1",
5
+ "transformers": "5.0.0"
6
+ },
7
+ "default_prompt_name": null,
8
+ "model_type": "SentenceTransformer",
9
+ "prompts": {
10
+ "document": "",
11
+ "query": ""
12
+ },
13
+ "similarity_fn_name": "cosine"
14
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9eb0a0b77d3ca3f62c61490c66a8c168cfcaa272de814263865b33f278a5739c
3
+ size 470637392
modules.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.base.modules.transformer.Transformer"
7
+ },
8
+ {
9
+ "idx": 1,
10
+ "name": "1",
11
+ "path": "1_Pooling",
12
+ "type": "sentence_transformers.sentence_transformer.modules.pooling.Pooling"
13
+ },
14
+ {
15
+ "idx": 2,
16
+ "name": "2",
17
+ "path": "2_Normalize",
18
+ "type": "sentence_transformers.sentence_transformer.modules.normalize.Normalize"
19
+ }
20
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "transformer_task": "feature-extraction",
3
+ "modality_config": {
4
+ "text": {
5
+ "method": "forward",
6
+ "method_output_name": "last_hidden_state"
7
+ }
8
+ },
9
+ "module_output_name": "token_embeddings"
10
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ef60e1b3e8f648ae4a9e1e39d3ade177352d78dbfacf217501461c2cce9af3b
3
+ size 17083053
tokenizer_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<s>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "cls_token": "<s>",
6
+ "eos_token": "</s>",
7
+ "is_local": true,
8
+ "mask_token": "<mask>",
9
+ "max_length": 192,
10
+ "model_max_length": 192,
11
+ "pad_to_multiple_of": null,
12
+ "pad_token": "<pad>",
13
+ "pad_token_type_id": 0,
14
+ "padding_side": "right",
15
+ "sep_token": "</s>",
16
+ "sp_model_kwargs": {},
17
+ "stride": 0,
18
+ "tokenizer_class": "TokenizersBackend",
19
+ "truncation_side": "right",
20
+ "truncation_strategy": "longest_first",
21
+ "unk_token": "<unk>"
22
+ }