nmmursit commited on
Commit
e7528ab
·
verified ·
1 Parent(s): 43ff6a3

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 768,
3
+ "pooling_mode_cls_token": true,
4
+ "pooling_mode_mean_tokens": false,
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,432 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - generated_from_trainer
7
+ - dataset_size:1840212
8
+ - loss:MatryoshkaLoss
9
+ - loss:CachedMultipleNegativesRankingLoss
10
+ base_model: newmindai/TurkEmbed4STS
11
+ widget:
12
+ - source_sentence: Yoksulluk çeken devletlerin çoğu
13
+ sentences:
14
+ - (verb) yerine bir kişi veya şey (kırılan veya verimsiz olan veya kaybedilen veya
15
+ artık çalışmayan veya bekleneni vermeyen bir başkası) yerine eski jilet bıçağını
16
+ değiştirdi; Bir ay önce ayrılan sekreteri değiştirmemiz gerekiyor; Sigorta kayıp
17
+ gelirin yerini alacak; Bu antik vazo asla değiştirilemez.
18
+ - Homefacts City Report. Portland, Multnomah County, OR'da yer almaktadır. Nüfus
19
+ 603.650 olup, Portland'ı Multnomah County'nin en büyük şehri ve Oregon eyaletinin
20
+ en büyük şehri yapmaktadır. Portland'da ortalama Homefacts puanı B olan 169 devlet
21
+ okulu vardır. Portland için toplam suç oranı ılımlıdır ve şehirde ikamet eden
22
+ 204 kayıtlı seks suçlusu vardır.
23
+ - Bununla birlikte, yoksulluğun en az sayıldığı eyaletlerin çoğunda, kredi alan
24
+ uygun dosyacıların yüzdesi çok daha düşüktür. Nevada'da, sadece% 71.5'i kredilerini
25
+ talep ederken, Kaliforniya'da sadece% 71'i ABD'deki en düşük oranlar arasında
26
+ yer aldı.
27
+ - source_sentence: hangi kıtada haiti
28
+ sentences:
29
+ - Cevap Leah Orchard. Güven oy 7. Haiti Karayipler'de Kuzey Amerika kıtasının bir
30
+ alt bölgesidir. Haiti, Kuzey Amerika kıtasının bir alt bölgesi olan Karayipler'de
31
+ yer almaktadır.
32
+ - Hukuk Yüksek Lisansı. Hukuk Yüksek Lisansı (M.L. veya LL.M.; Latin Magister Legum
33
+ veya Legum Magister), lisans akademik hukuk derecesi, mesleki hukuk derecesi veya
34
+ ilgili bir konuda lisans derecesi olanlar tarafından takip edilen lisansüstü bir
35
+ akademik derecedir.
36
+ - Vasektomi yaklaşık 20 dakika sürer. Lokal anestezi kullanarak, çoğu erkek prosedür
37
+ sırasında çok az hissettiklerini söyler. 3 ay önce Stephen F. Shaban, MD tarafından
38
+ Ortalama 10 ila 15 dakika. Hastada biraz oral Valium ve lokal lidokain enjeksiyonu
39
+ ile ağrılı değildir.
40
+ - source_sentence: sigarayla yemek pişirmek için iyi olan nedir
41
+ sentences:
42
+ - Nisan ayında Punta Cana'da hava durumu için, sıcaklığın günün ortasında 28 C (83
43
+ F) ile gecenin son saatlerinde 22 C (72 F) arasında biraz daha sıcak olmasını
44
+ bekleyebilirsiniz.
45
+ - 1 Kanada pastırmanızı en az 145oF'lik bir iç sıcaklığa ulaşana kadar bir sigara
46
+ içicisinde veya fırında tüttürün. 2 Bir sigara içicisi kullanıyorsanız, 200oF'lik
47
+ bir sıcaklığa hazırlayın ve etinizi yaklaşık 8 saat boyunca tüttürün.
48
+ - Dünya Sağlık İstatistikleri 2014. Japonya, tüm WHO Üye Devletleri arasında yaşam
49
+ beklentisinin en üstündedir. Japonya'daki kadınlar, 87.0 yılda dünyanın en yüksek
50
+ yaşam beklentisine sahiptir, ardından İspanya, İsviçre ve Singapur. Erkekler arasında
51
+ yaşam beklentisi, Japonya'nın 8. sırada yer aldığı 9 ülkede 80 yıl veya daha fazladır
52
+ (80,0 yıl).
53
+ - source_sentence: bacillus subtilis'in bir kapsülü var mı?
54
+ sentences:
55
+ - 'Değişim beni bir olarak nasıl etkileyecek: Tahmini Normal Değerler (Nomogram,
56
+ AB ölçeği). Zirve akış ölçerleri için ölçek değişikliği, bireyin bir Wright ölçek
57
+ ölçer kullanıp kullanmadığına bağlı olarak farklı PEF okumalarına veya yeni AB
58
+ ölçek ölçerine neden olacaktır.Rediktif Normal Değerler, farklı yaş ve yükseklikteki
59
+ kadınlar ve erkekler için hesaplandı ve yeni AB ölçeği ile kullanılmak üzere uyarlandı
60
+ (orijinal Yazarlardan gelen anlaşma ile).'
61
+ - Paketleme malzemeleri ve ipuçları alın, ayrıca bu FedEx lokasyonunda ihtiyacınız
62
+ olan diğer tüm nakliye desteği Muskegon, Michigan'daki 5832 Grand Haven Rd.c'de
63
+ FedEx Express ve FedEx Ground hizmetleri ile zaman çizelgenizi karşılamak için
64
+ 5832 Grand Haven Rd'de FedEx Ship Center'da ihtiyacınız olan hizmetleri kullanın.
65
+ - 'Bacillus cereus genellikle bitki örtüsü büyümesinin olduğu topraklarda bulunabilir.
66
+ Ayrıca, genellikle et, süt, balık, peynir, sebze ve pirinç ürünleri gibi birçok
67
+ gıdada bulunur. Şimdi, diğer herhangi bir organizma gibi Bacillus cereus da optimum
68
+ büyüme koşullarına sahiptir:'
69
+ - source_sentence: Bir yıl tam yelken üniversitesini ne kadar ödeyeceğim
70
+ sentences:
71
+ - Full Sail Üniversitesi'nde öğrenim ve ücretler 23,117 $ mali yardım olmadan. Oda,
72
+ yönetim kurulu ve diğer ücretlerin bir araya getirilmesiyle, toplam katılım maliyeti
73
+ 23,647 $ 'dır. Maliyet ve Yardım. Pahalı öğrenim (23.117 $, eyalet içi ve eyalet
74
+ dışı öğrenciler için aynı)
75
+ - Hangi hemoglobin seviyesi anemik olarak kabul edilir - ben anemikim ve 88 g /
76
+ l hemoglobin seviyesine sahipim. Bu ne kadar ciddi? 88 mi demek istediniz? Normal
77
+ hemoglobin yaklaşık 15 (+/- az) bu yüzden 8 civarında gerçekten çok düşüktür.
78
+ Bu aneminin nedeni araştırılmış ve düzgün bir şekilde tedavi edilmiş olmalıdır.
79
+ Bu arada kan transfüzyonuna ihtiyacınız olabilir
80
+ - Pavarotti, Andrea Bocelli ile birlikte en ünlü tenor sesidir. Bir tenor şarkıcısı,
81
+ genellikle koro ve klasik müzikte kullanılan en yüksek erkek sesidir.br />Bir
82
+ koroda, kadın sesleri, en yüksekten en düşüke, soprano, mezzo-soprano ve altoya
83
+ ayrılır.
84
+ pipeline_tag: sentence-similarity
85
+ library_name: sentence-transformers
86
+ ---
87
+
88
+ # SentenceTransformer based on newmindai/TurkEmbed4STS
89
+
90
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [newmindai/TurkEmbed4STS](https://huggingface.co/newmindai/TurkEmbed4STS). 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.
91
+
92
+ ## Model Details
93
+
94
+ ### Model Description
95
+ - **Model Type:** Sentence Transformer
96
+ - **Base model:** [newmindai/TurkEmbed4STS](https://huggingface.co/newmindai/TurkEmbed4STS) <!-- at revision 813afca0488a41a2a16af7b4cd42c140367a0876 -->
97
+ - **Maximum Sequence Length:** 512 tokens
98
+ - **Output Dimensionality:** 768 dimensions
99
+ - **Similarity Function:** Cosine Similarity
100
+ <!-- - **Training Dataset:** Unknown -->
101
+ <!-- - **Language:** Unknown -->
102
+ <!-- - **License:** Unknown -->
103
+
104
+ ### Model Sources
105
+
106
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
107
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
108
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
109
+
110
+ ### Full Model Architecture
111
+
112
+ ```
113
+ SentenceTransformer(
114
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: NewModel
115
+ (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
116
+ (2): Normalize()
117
+ )
118
+ ```
119
+
120
+ ## Usage
121
+
122
+ ### Direct Usage (Sentence Transformers)
123
+
124
+ First install the Sentence Transformers library:
125
+
126
+ ```bash
127
+ pip install -U sentence-transformers
128
+ ```
129
+
130
+ Then you can load this model and run inference.
131
+ ```python
132
+ from sentence_transformers import SentenceTransformer
133
+
134
+ # Download from the 🤗 Hub
135
+ model = SentenceTransformer("sentence_transformers_model_id")
136
+ # Run inference
137
+ sentences = [
138
+ 'Bir yıl tam yelken üniversitesini ne kadar ödeyeceğim',
139
+ "Full Sail Üniversitesi'nde öğrenim ve ücretler 23,117 $ mali yardım olmadan. Oda, yönetim kurulu ve diğer ücretlerin bir araya getirilmesiyle, toplam katılım maliyeti 23,647 $ 'dır. Maliyet ve Yardım. Pahalı öğrenim (23.117 $, eyalet içi ve eyalet dışı öğrenciler için aynı)",
140
+ 'Hangi hemoglobin seviyesi anemik olarak kabul edilir - ben anemikim ve 88 g / l hemoglobin seviyesine sahipim. Bu ne kadar ciddi? 88 mi demek istediniz? Normal hemoglobin yaklaşık 15 (+/- az) bu yüzden 8 civarında gerçekten çok düşüktür. Bu aneminin nedeni araştırılmış ve düzgün bir şekilde tedavi edilmiş olmalıdır. Bu arada kan transfüzyonuna ihtiyacınız olabilir',
141
+ ]
142
+ embeddings = model.encode(sentences)
143
+ print(embeddings.shape)
144
+ # [3, 768]
145
+
146
+ # Get the similarity scores for the embeddings
147
+ similarities = model.similarity(embeddings, embeddings)
148
+ print(similarities.shape)
149
+ # [3, 3]
150
+ ```
151
+
152
+ <!--
153
+ ### Direct Usage (Transformers)
154
+
155
+ <details><summary>Click to see the direct usage in Transformers</summary>
156
+
157
+ </details>
158
+ -->
159
+
160
+ <!--
161
+ ### Downstream Usage (Sentence Transformers)
162
+
163
+ You can finetune this model on your own dataset.
164
+
165
+ <details><summary>Click to expand</summary>
166
+
167
+ </details>
168
+ -->
169
+
170
+ <!--
171
+ ### Out-of-Scope Use
172
+
173
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
174
+ -->
175
+
176
+ <!--
177
+ ## Bias, Risks and Limitations
178
+
179
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
180
+ -->
181
+
182
+ <!--
183
+ ### Recommendations
184
+
185
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
186
+ -->
187
+
188
+ ## Training Details
189
+
190
+ ### Training Dataset
191
+
192
+ #### Unnamed Dataset
193
+
194
+ * Size: 1,840,212 training samples
195
+ * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>label</code>
196
+ * Approximate statistics based on the first 1000 samples:
197
+ | | sentence_0 | sentence_1 | label |
198
+ |:--------|:----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:---------------------------------------------------------------|
199
+ | type | string | string | float |
200
+ | details | <ul><li>min: 4 tokens</li><li>mean: 10.24 tokens</li><li>max: 26 tokens</li></ul> | <ul><li>min: 16 tokens</li><li>mean: 79.54 tokens</li><li>max: 138 tokens</li></ul> | <ul><li>min: 0.0</li><li>mean: 0.49</li><li>max: 1.0</li></ul> |
201
+ * Samples:
202
+ | sentence_0 | sentence_1 | label |
203
+ |:-----------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------|
204
+ | <code>Hipotez ve teori tanımı</code> | <code>Teori ve Uygulamada Tanım Hakkında. Tanım sorunu uzun bir geçmişe sahiptir ve Platon ve Aristoteles'ten başlayarak Batı geleneğinin en seçkin düşünürlerinden bazılarının zihinlerini meşgul etmiştir. Ancak aynı zamanda modern toplumun bağlı olduğu sayısız metinleri hazırlamak veya yorumlamak zorunda olan herkesin sürekli karşılaştığı günlük bir sorundur. Teori ve Uygulamada Tanım, zorlukların özellikle akut bir biçimde ortaya çıktığı iki alana odaklanmaktadır: lexicography ve hukuk.</code> | <code>0.0</code> |
205
+ | <code>Oturma ücreti nedir</code> | <code>Devamını Oku 1 TÜM PORTRAİT SESSIONS INCLUDE... 2 Oturum Ücreti fotoğrafçının Zaman ve Yeteneklerini kapsar. 3 Unutma...** Vergiyi ekleyin! (%8.4 vergi ödemeniz gerekmektedir.) ** Portre seansınızdan önce oturma ücreti alınır.</code> | <code>1.0</code> |
206
+ | <code>Kafeine ne kadar l-theanine</code> | <code>Kafeini düşünün. Espresso ve kahvenin her ikisi de doğal olarak siyah ve yeşil çaylarda olduğu gibi kafeine sahiptir. Eğer içeceğinizde daha az kafein istiyorsanız, yarım kafein (1/2 normal kafein miktarı) veya kafeinsiz (kafeinsiz) sipariş edin. Ayrıca, içeceğinizden biraz daha fazla enerji arıyorsanız, ekstra kahve de ekleyebilirsiniz.</code> | <code>0.0</code> |
207
+ * Loss: [<code>MatryoshkaLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#matryoshkaloss) with these parameters:
208
+ ```json
209
+ {
210
+ "loss": "CachedMultipleNegativesRankingLoss",
211
+ "matryoshka_dims": [
212
+ 768,
213
+ 512,
214
+ 256,
215
+ 128,
216
+ 64
217
+ ],
218
+ "matryoshka_weights": [
219
+ 1,
220
+ 1,
221
+ 1,
222
+ 1,
223
+ 1
224
+ ],
225
+ "n_dims_per_step": -1
226
+ }
227
+ ```
228
+
229
+ ### Training Hyperparameters
230
+ #### Non-Default Hyperparameters
231
+
232
+ - `per_device_train_batch_size`: 1024
233
+ - `per_device_eval_batch_size`: 1024
234
+ - `num_train_epochs`: 1
235
+ - `fp16`: True
236
+ - `multi_dataset_batch_sampler`: round_robin
237
+
238
+ #### All Hyperparameters
239
+ <details><summary>Click to expand</summary>
240
+
241
+ - `overwrite_output_dir`: False
242
+ - `do_predict`: False
243
+ - `eval_strategy`: no
244
+ - `prediction_loss_only`: True
245
+ - `per_device_train_batch_size`: 1024
246
+ - `per_device_eval_batch_size`: 1024
247
+ - `per_gpu_train_batch_size`: None
248
+ - `per_gpu_eval_batch_size`: None
249
+ - `gradient_accumulation_steps`: 1
250
+ - `eval_accumulation_steps`: None
251
+ - `torch_empty_cache_steps`: None
252
+ - `learning_rate`: 5e-05
253
+ - `weight_decay`: 0.0
254
+ - `adam_beta1`: 0.9
255
+ - `adam_beta2`: 0.999
256
+ - `adam_epsilon`: 1e-08
257
+ - `max_grad_norm`: 1
258
+ - `num_train_epochs`: 1
259
+ - `max_steps`: -1
260
+ - `lr_scheduler_type`: linear
261
+ - `lr_scheduler_kwargs`: {}
262
+ - `warmup_ratio`: 0.0
263
+ - `warmup_steps`: 0
264
+ - `log_level`: passive
265
+ - `log_level_replica`: warning
266
+ - `log_on_each_node`: True
267
+ - `logging_nan_inf_filter`: True
268
+ - `save_safetensors`: True
269
+ - `save_on_each_node`: False
270
+ - `save_only_model`: False
271
+ - `restore_callback_states_from_checkpoint`: False
272
+ - `no_cuda`: False
273
+ - `use_cpu`: False
274
+ - `use_mps_device`: False
275
+ - `seed`: 42
276
+ - `data_seed`: None
277
+ - `jit_mode_eval`: False
278
+ - `use_ipex`: False
279
+ - `bf16`: False
280
+ - `fp16`: True
281
+ - `fp16_opt_level`: O1
282
+ - `half_precision_backend`: auto
283
+ - `bf16_full_eval`: False
284
+ - `fp16_full_eval`: False
285
+ - `tf32`: None
286
+ - `local_rank`: 0
287
+ - `ddp_backend`: None
288
+ - `tpu_num_cores`: None
289
+ - `tpu_metrics_debug`: False
290
+ - `debug`: []
291
+ - `dataloader_drop_last`: False
292
+ - `dataloader_num_workers`: 0
293
+ - `dataloader_prefetch_factor`: None
294
+ - `past_index`: -1
295
+ - `disable_tqdm`: False
296
+ - `remove_unused_columns`: True
297
+ - `label_names`: None
298
+ - `load_best_model_at_end`: False
299
+ - `ignore_data_skip`: False
300
+ - `fsdp`: []
301
+ - `fsdp_min_num_params`: 0
302
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
303
+ - `tp_size`: 0
304
+ - `fsdp_transformer_layer_cls_to_wrap`: None
305
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
306
+ - `deepspeed`: None
307
+ - `label_smoothing_factor`: 0.0
308
+ - `optim`: adamw_torch
309
+ - `optim_args`: None
310
+ - `adafactor`: False
311
+ - `group_by_length`: False
312
+ - `length_column_name`: length
313
+ - `ddp_find_unused_parameters`: None
314
+ - `ddp_bucket_cap_mb`: None
315
+ - `ddp_broadcast_buffers`: False
316
+ - `dataloader_pin_memory`: True
317
+ - `dataloader_persistent_workers`: False
318
+ - `skip_memory_metrics`: True
319
+ - `use_legacy_prediction_loop`: False
320
+ - `push_to_hub`: False
321
+ - `resume_from_checkpoint`: None
322
+ - `hub_model_id`: None
323
+ - `hub_strategy`: every_save
324
+ - `hub_private_repo`: None
325
+ - `hub_always_push`: False
326
+ - `gradient_checkpointing`: False
327
+ - `gradient_checkpointing_kwargs`: None
328
+ - `include_inputs_for_metrics`: False
329
+ - `include_for_metrics`: []
330
+ - `eval_do_concat_batches`: True
331
+ - `fp16_backend`: auto
332
+ - `push_to_hub_model_id`: None
333
+ - `push_to_hub_organization`: None
334
+ - `mp_parameters`:
335
+ - `auto_find_batch_size`: False
336
+ - `full_determinism`: False
337
+ - `torchdynamo`: None
338
+ - `ray_scope`: last
339
+ - `ddp_timeout`: 1800
340
+ - `torch_compile`: False
341
+ - `torch_compile_backend`: None
342
+ - `torch_compile_mode`: None
343
+ - `include_tokens_per_second`: False
344
+ - `include_num_input_tokens_seen`: False
345
+ - `neftune_noise_alpha`: None
346
+ - `optim_target_modules`: None
347
+ - `batch_eval_metrics`: False
348
+ - `eval_on_start`: False
349
+ - `use_liger_kernel`: False
350
+ - `eval_use_gather_object`: False
351
+ - `average_tokens_across_devices`: False
352
+ - `prompts`: None
353
+ - `batch_sampler`: batch_sampler
354
+ - `multi_dataset_batch_sampler`: round_robin
355
+
356
+ </details>
357
+
358
+ ### Training Logs
359
+ | Epoch | Step | Training Loss |
360
+ |:------:|:----:|:-------------:|
361
+ | 0.2781 | 500 | 9.66 |
362
+ | 0.5562 | 1000 | 8.0512 |
363
+ | 0.8343 | 1500 | 7.7153 |
364
+
365
+
366
+ ### Framework Versions
367
+ - Python: 3.11.12
368
+ - Sentence Transformers: 4.1.0
369
+ - Transformers: 4.51.3
370
+ - PyTorch: 2.6.0+cu124
371
+ - Accelerate: 1.6.0
372
+ - Datasets: 3.6.0
373
+ - Tokenizers: 0.21.1
374
+
375
+ ## Citation
376
+
377
+ ### BibTeX
378
+
379
+ #### Sentence Transformers
380
+ ```bibtex
381
+ @inproceedings{reimers-2019-sentence-bert,
382
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
383
+ author = "Reimers, Nils and Gurevych, Iryna",
384
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
385
+ month = "11",
386
+ year = "2019",
387
+ publisher = "Association for Computational Linguistics",
388
+ url = "https://arxiv.org/abs/1908.10084",
389
+ }
390
+ ```
391
+
392
+ #### MatryoshkaLoss
393
+ ```bibtex
394
+ @misc{kusupati2024matryoshka,
395
+ title={Matryoshka Representation Learning},
396
+ author={Aditya Kusupati and Gantavya Bhatt and Aniket Rege and Matthew Wallingford and Aditya Sinha and Vivek Ramanujan and William Howard-Snyder and Kaifeng Chen and Sham Kakade and Prateek Jain and Ali Farhadi},
397
+ year={2024},
398
+ eprint={2205.13147},
399
+ archivePrefix={arXiv},
400
+ primaryClass={cs.LG}
401
+ }
402
+ ```
403
+
404
+ #### CachedMultipleNegativesRankingLoss
405
+ ```bibtex
406
+ @misc{gao2021scaling,
407
+ title={Scaling Deep Contrastive Learning Batch Size under Memory Limited Setup},
408
+ author={Luyu Gao and Yunyi Zhang and Jiawei Han and Jamie Callan},
409
+ year={2021},
410
+ eprint={2101.06983},
411
+ archivePrefix={arXiv},
412
+ primaryClass={cs.LG}
413
+ }
414
+ ```
415
+
416
+ <!--
417
+ ## Glossary
418
+
419
+ *Clearly define terms in order to be accessible across audiences.*
420
+ -->
421
+
422
+ <!--
423
+ ## Model Card Authors
424
+
425
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
426
+ -->
427
+
428
+ <!--
429
+ ## Model Card Contact
430
+
431
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
432
+ -->
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "NewModel"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "auto_map": {
7
+ "AutoConfig": "Alibaba-NLP/new-impl--configuration.NewConfig",
8
+ "AutoModel": "Alibaba-NLP/new-impl--modeling.NewModel",
9
+ "AutoModelForMaskedLM": "Alibaba-NLP/new-impl--modeling.NewForMaskedLM",
10
+ "AutoModelForMultipleChoice": "Alibaba-NLP/new-impl--modeling.NewForMultipleChoice",
11
+ "AutoModelForQuestionAnswering": "Alibaba-NLP/new-impl--modeling.NewForQuestionAnswering",
12
+ "AutoModelForSequenceClassification": "Alibaba-NLP/new-impl--modeling.NewForSequenceClassification",
13
+ "AutoModelForTokenClassification": "Alibaba-NLP/new-impl--modeling.NewForTokenClassification"
14
+ },
15
+ "classifier_dropout": 0.0,
16
+ "hidden_act": "gelu",
17
+ "hidden_dropout_prob": 0.1,
18
+ "hidden_size": 768,
19
+ "id2label": {
20
+ "0": "LABEL_0"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "LABEL_0": 0
26
+ },
27
+ "layer_norm_eps": 1e-12,
28
+ "layer_norm_type": "layer_norm",
29
+ "logn_attention_clip1": false,
30
+ "logn_attention_scale": false,
31
+ "max_position_embeddings": 8192,
32
+ "model_type": "new",
33
+ "num_attention_heads": 12,
34
+ "num_hidden_layers": 12,
35
+ "pack_qkv": true,
36
+ "pad_token_id": 1,
37
+ "position_embedding_type": "rope",
38
+ "rope_scaling": {
39
+ "factor": 8.0,
40
+ "type": "ntk"
41
+ },
42
+ "rope_theta": 20000,
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.51.3",
45
+ "type_vocab_size": 1,
46
+ "unpad_inputs": false,
47
+ "use_memory_efficient_attention": false,
48
+ "vocab_size": 250048
49
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "4.1.0",
4
+ "transformers": "4.51.3",
5
+ "pytorch": "2.6.0+cu124"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": "cosine"
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:551d13092b21ba9df95137df8e64eb6a13246c25c6958e9a995ea2c7844bbbb2
3
+ size 1221487872
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
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 512,
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:883b037111086fd4dfebbbc9b7cee11e1517b5e0c0514879478661440f137085
3
+ size 17082987
tokenizer_config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "eos_token": "</s>",
48
+ "extra_special_tokens": {},
49
+ "mask_token": "<mask>",
50
+ "max_length": 512,
51
+ "model_max_length": 512,
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
+ "tokenizer_class": "XLMRobertaTokenizerFast",
59
+ "truncation_side": "right",
60
+ "truncation_strategy": "longest_first",
61
+ "unk_token": "<unk>"
62
+ }