File size: 52,247 Bytes
c4bbc52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
---
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- dense
- generated_from_trainer
- dataset_size:40374
- loss:MultipleNegativesRankingLoss
widget:
- source_sentence: यथोवाच भगवान् धन्वन्तरिः ||२||
  sentences:
  - '**Ashtanga Hridayam, Uttara Sthana, chapter 22, sutra 106**


    **Sutra**:

    पटोल-निम्ब-यष्ट्य्-आह्व-वासा-जात्य्-अरिमेदसाम् । खदिरस्य वरायाश् च पृथग् एवं प्रकल्पना
    ॥ १०६ ॥


    **English Transliteration**:

    paṭola-nimba-yaṣṭy-āhva-vāsā-jāty-arimedasām | khadirasya varāyāś ca pṛthag evaṁ
    prakalpanā || 106 ||


    **English Translation**:

    Thus, a separate preparation should be made from patola, nimba, licorice, vasa,
    jati, arimedasa, khadira, and vara.'
  - '**Susrut Samhita, Sharira Sthana, chapter 9, sutra 2**


    **Sutra**:

    यथोवाच भगवान् धन्वन्तरिः ||२||


    **English Transliteration**:

    yathovāca bhagavān dhanvantariḥ ||2||


    **English Translation**:

    Thus spoke the venerable Dhanvantari.'
  - '**Susrut Samhita, Chikitsa Sthana, chapter 24, sutra 85**


    **Sutra**:

    सुखं वातं प्रसेवेत ग्रीष्मे शरदि मानवः | निवातं ह्यायुषे सेव्यमारोग्याय च सर्वदा
    ||८५||


    **English Transliteration**:

    sukhaṃ vātaṃ praseveta grīṣme śaradi mānavaḥ | nivātaṃ hyāyuṣe sevyamārogyāya
    ca sarvadā ||85||


    **English Translation**:

    A person should enjoy pleasant wind in summer and autumn. Absence of wind is always
    beneficial for longevity and health.'
- source_sentence: विशीर्यते कूर्चकस्तु दन्तकाष्ठगते विषे | जिह्वादन्तौष्ठमांसानां
    श्वयथुश्चोपजायते ||४८||
  sentences:
  - '**Susrut Samhita, Chikitsa Sthana, chapter 28, sutra 26**


    **Sutra**:

    पाप्मानं नाशयन्त्येता दद्युश्चौषधयः श्रियम् | कुर्युर्नागबलं चापि मनुष्यममरोपमम्
    ||२६||


    **English Transliteration**:

    pāpmānaṃ nāśayantyetā dadyuścauṣadhayaḥ śriyam | kuryurnāgabalaṃ cāpi manuṣyamamaropamam
    ||26||


    **English Translation**:

    These herbs destroy sin, bestow prosperity, and also create strength like that
    of serpents, making a human being comparable to the gods.'
  - '**Susrut Samhita, Kalpa Sthana, chapter 1, sutra 48**


    **Sutra**:

    विशीर्यते कूर्चकस्तु दन्तकाष्ठगते विषे | जिह्वादन्तौष्ठमांसानां श्वयथुश्चोपजायते
    ||४८||


    **English Transliteration**:

    viśīryate kūrcakastu dantakāṣṭhagate viṣe | jihvādantāuṣṭhamāṃsānāṃ śvayathuścopajāyate
    ||48||


    **English Translation**:

    When poison is present in the tooth-stick, the brush-like end disintegrates, and
    swelling arises in the tongue, teeth, lips, and gums.'
  - '**Charak-Samhita, chikitsa sthana, chapter 2, sutra 38**


    **Sutra**:

    गत्वा स्नात्वा पयः पीत्वा रसं वाऽनु शयीत ना| तथाऽस्याप्यायते भूयः शुक्रं च बलमेव
    च||३८||


    **English Transliteration**:

    gatvā snātvā payaḥ pītvā rasaṃ vā''nu śayīta nā| tathā''syāpyāyate bhūyaḥ śukraṃ
    ca balameva ca||38||


    **English Translation**:

    After intercourse, one should bathe, drink milk or juice, and then not sleep immediately.
    Thus, his semen, strength, and nourishment are increased again.'
- source_sentence: कृच्छ्रोन्मीले पुराणाज्यं द्राक्षा-कल्काम्बु-साधितम्  स-सितं योजयेत्
    स्निग्धं नस्य-धूमाञ्जनादि    
  sentences:
  - '**Ashtanga Hridayam, Uttara Sthana, chapter 9, sutra 1**


    **Sutra**:

    कृच्छ्रोन्मीले पुराणाज्यं द्राक्षा-कल्काम्बु-साधितम् । स-सितं योजयेत् स्निग्धं
    नस्य-धूमाञ्जनादि च ॥ १ ॥


    **English Transliteration**:

    kṛcchronmīle purāṇājyaṃ drākṣā-kalkāmbu-sādhitam | sa-sitaṃ yojayet snigdhaṃ nasya-dhūmāñjanādi
    ca || 1 ||


    **English Translation**:

    In difficult opening of the eyes, old ghee, processed with grape-paste-water;
    with sugar, apply it smoothly, nasal drops, fumigation, collyrium, and so on.'
  - '**Charak-Samhita, chikitsa sthana, chapter 30, sutra 339**


    **Sutra**:

    देशे देशे च यत् सात्म्यं यथा वैद्योऽपराध्यति| चिकित्सा चापि निर्दिष्टा दोषाणां
    गूढचारिणाम्||३३९||


    **English Transliteration**:

    dēśē dēśē ca yat sātmyaṁ yathā vaidyōparādhyati| cikitsā cāpi nirdiṣṭā dōṣāṇāṁ
    gūḍhacāriṇām||339||


    **English Translation**:

    The suitability for different regions, how a physician errs, and the treatment
    of hidden diseases are prescribed.'
  - '**Ashtanga Hridayam, Uttara Sthana, chapter 17, sutra 14**


    **Sutra**:

    खादन्तो जन्तवः कुर्युस् तीव्रां स कृमि-कर्णकः । श्रोत्र-कण्डूयनाज् जाते क्षते
    स्यात् पूर्व-लक्षणः ॥ १४ ॥


    **English Transliteration**:

    khādanto jantavaḥ kuryus tīvrāṃ sa kṛmi-karṇakaḥ | śrotra-kaṇḍūyanāj jāte kṣate
    syāt pūrva-lakṣaṇaḥ || 14 ||


    **English Translation**:

    Biting creatures cause intense pain; that is a worm-infested ear; from scratching
    the ear, when a wound arises, the previous symptoms manifest.'
- source_sentence: श्वासः कासः प्रतिश्यायो मुखशोषोऽतिपार्श्वरुक्| कफहीने पित्तमध्ये
    लिङ्गं वाताधिके मतम्||१०१||
  sentences:
  - '**Susrut Samhita, Uttara tantra, chapter 42, sutra 80**


    **Sutra**:

    वायुः प्रकुपितः कोष्ठे शूलं सञ्जनयेद्भृशम् | निरुच्छ्वासी भवेत्तेन वेदनापीडितो
    नरः ||८०||


    **English Transliteration**:

    vāyuḥ prakupitaḥ koṣṭhe śūlaṃ sañjanayedbhṛśam | nirucchvāsī bhavettena vedanāpīḍito
    naraḥ ||80||


    **English Translation**:

    Aggravated Vata in the abdomen intensely generates pain (shula). Due to that pain,
    the person becomes breathless and afflicted by suffering.'
  - '**Charak-Samhita, chikitsa sthana, chapter 3, sutra 101**


    **Sutra**:

    श्वासः कासः प्रतिश्यायो मुखशोषोऽतिपार्श्वरुक्| कफहीने पित्तमध्ये लिङ्गं वाताधिके
    मतम्||१०१||


    **English Transliteration**:

    śvāsaḥ kāsaḥ pratiśyāyo mukhaśoṣo''tipārśvaruk| kaphahīne pittamadhye liṅgaṃ vātādhike
    matam||101||


    **English Translation**:

    Shortness of breath, cough, coryza (common cold), dryness of the mouth, and severe
    pain in the sides are the signs of increased Vata, with diminished Kapha and moderate
    Pitta.'
  - '**Charak-Samhita, chikitsa sthana, chapter 23, sutra 86**


    **Sutra**:

    आनद्धे गुदलेपो योनौ लेपश्च मूढगर्भाणाम्| मूर्च्छार्तिषु च ललाटे प्रलेपनमाहुः प्रधानतमम्||८६||


    **English Transliteration**:

    ānaddhe gudalepo yonau lepaśca mūḍhagarbhāṇām| mūrchārtisu ca lalāṭe pralepanamāhuḥ
    pradhānatamam||86||


    **English Translation**:

    It is said that this is an excellent application for flatulence, as a vaginal
    application for obstructed labor, and as a paste on the forehead for fainting
    and pain.'
- source_sentence: वातातपाध्व-यानादि-परिहार्येष्व् अ-यन्त्रणम्  प्रयोज्यं सु-कुमाराणाम्
    ईश्वराणाम् सुखात्मनाम्  ४५ 
  sentences:
  - '**Ashtanga Hridayam, Sutra Sthana, Sutra Sthana, chapter 6, sutra 129**


    **Sutra**:

    गुर्व् आम्रं वात-जित् पक्वं स्वाद्व् अम्लं कफ-शुक्र-कृत् । वृक्षाम्लं ग्राहि रूक्षोष्णं
    वात-श्लेष्म-हरं लघु ॥ १२९ ॥


    **English Transliteration**:

    gurv āmraṃ vāta-jit pakvaṃ svādv amlaṃ kapha-śukra-kṛt । vṛkṣāmlaṃ grāhi rūkṣoṣṇaṃ
    vāta-śleṣma-haraṃ laghu ॥ 129 ॥


    **English Translation**:

    Heavy mango vata-conquering ripe sweet-sour kapha-semen-doing. Garcinia astringent
    dry-hot vata-phlegm-removing light.'
  - '**Ashtanga Hridayam, Chikitsa Sthana, chapter 13, sutra 45**


    **Sutra**:

    वातातपाध्व-यानादि-परिहार्येष्व् अ-यन्त्रणम् । प्रयोज्यं सु-कुमाराणाम् ईश्वराणाम्
    सुखात्मनाम् ॥ ४५ ॥


    **English Transliteration**:

    vātātapādhva-yānādi-parihāryeṣv a-yantraṇam | prayojyaṃ su-kumārāṇām īśvarāṇām
    sukhātmanām || 45 ||


    **English Translation**:

    Without restrictions regarding avoidance of wind, sun, travel, etc., it can be
    used by delicate, wealthy, and happy individuals.'
  - '**Ashtanga Hridayam, Sutra Sthana, chapter 22, sutra 34**


    **Sutra**:

    कच-सदन-सित-त्व-पिञ्जर-त्वं परिफुटनं शिरसः समीर-रोगान् । जयति जनयतीन्द्रिय-प्रसादं
    स्वर-हनु-मूर्द्ध-बलं च मूर्द्ध-तैलम् ॥ ३४ ॥


    **English Transliteration**:

    kaca-sadana-sita-tva-piñjara-tvaṃ parisphuṭanaṃ śirasaḥ samīra-rogān । jayati
    janayatīndriya-prasādaṃ svara-hanu-mūrddha-balaṃ ca mūrddha-tailam ॥ 34 ॥


    **English Translation**:

    Hair-falling-white-ness-yellowish-ness splitting of head wind-diseases overcomes
    generates sense-organ-pleasure voice-jaw-head-strength and head-oil.'
datasets:
- vrnP66/Inhouse_Devanagari
pipeline_tag: sentence-similarity
library_name: sentence-transformers
metrics:
- cosine_accuracy
model-index:
- name: SentenceTransformer
  results:
  - task:
      type: triplet
      name: Triplet
    dataset:
      name: Embedding Dataset Dev
      type: Embedding_Dataset_Dev
    metrics:
    - type: cosine_accuracy
      value: 0.9996037483215332
      name: Cosine Accuracy
---

# SentenceTransformer

This is a [sentence-transformers](https://www.SBERT.net) model trained on the [inhouse_devanagari](https://huggingface.co/datasets/vrnP66/Inhouse_Devanagari) dataset. It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.

## Model Details

### Model Description
- **Model Type:** Sentence Transformer
<!-- - **Base model:** [Unknown](https://huggingface.co/unknown) -->
- **Maximum Sequence Length:** 512 tokens
- **Output Dimensionality:** 1024 dimensions
- **Similarity Function:** Cosine Similarity
- **Training Dataset:**
    - [inhouse_devanagari](https://huggingface.co/datasets/vrnP66/Inhouse_Devanagari)
<!-- - **Language:** Unknown -->
<!-- - **License:** Unknown -->

### Model Sources

- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)

### Full Model Architecture

```
SentenceTransformer(
  (0): Transformer({'max_seq_length': 512, 'do_lower_case': False, 'architecture': 'XLMRobertaModel'})
  (1): Pooling({'word_embedding_dimension': 1024, '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})
)
```

## Usage

### Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

```bash
pip install -U sentence-transformers
```

Then you can load this model and run inference.
```python
from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("sentence_transformers_model_id")
# Run inference
queries = [
    "\u0935\u093e\u0924\u093e\u0924\u092a\u093e\u0927\u094d\u0935-\u092f\u093e\u0928\u093e\u0926\u093f-\u092a\u0930\u093f\u0939\u093e\u0930\u094d\u092f\u0947\u0937\u094d\u0935\u094d \u0905-\u092f\u0928\u094d\u0924\u094d\u0930\u0923\u092e\u094d \u0964 \u092a\u094d\u0930\u092f\u094b\u091c\u094d\u092f\u0902 \u0938\u0941-\u0915\u0941\u092e\u093e\u0930\u093e\u0923\u093e\u092e\u094d \u0908\u0936\u094d\u0935\u0930\u093e\u0923\u093e\u092e\u094d \u0938\u0941\u0916\u093e\u0924\u094d\u092e\u0928\u093e\u092e\u094d \u0965 \u096a\u096b \u0965",
]
documents = [
    '**Ashtanga Hridayam, Chikitsa Sthana, chapter 13, sutra 45**\n\n**Sutra**:\nवातातपाध्व-यानादि-परिहार्येष्व् अ-यन्त्रणम् । प्रयोज्यं सु-कुमाराणाम् ईश्वराणाम् सुखात्मनाम् ॥ ४५ ॥\n\n**English Transliteration**:\nvātātapādhva-yānādi-parihāryeṣv a-yantraṇam | prayojyaṃ su-kumārāṇām īśvarāṇām sukhātmanām || 45 ||\n\n**English Translation**:\nWithout restrictions regarding avoidance of wind, sun, travel, etc., it can be used by delicate, wealthy, and happy individuals.',
    '**Ashtanga Hridayam, Sutra Sthana, chapter 22, sutra 34**\n\n**Sutra**:\nकच-सदन-सित-त्व-पिञ्जर-त्वं परिफुटनं शिरसः समीर-रोगान् । जयति जनयतीन्द्रिय-प्रसादं स्वर-हनु-मूर्द्ध-बलं च मूर्द्ध-तैलम् ॥ ३४ ॥\n\n**English Transliteration**:\nkaca-sadana-sita-tva-piñjara-tvaṃ parisphuṭanaṃ śirasaḥ samīra-rogān । jayati janayatīndriya-prasādaṃ svara-hanu-mūrddha-balaṃ ca mūrddha-tailam ॥ 34 ॥\n\n**English Translation**:\nHair-falling-white-ness-yellowish-ness splitting of head wind-diseases overcomes generates sense-organ-pleasure voice-jaw-head-strength and head-oil.',
    '**Ashtanga Hridayam, Sutra Sthana, Sutra Sthana, chapter 6, sutra 129**\n\n**Sutra**:\nगुर्व् आम्रं वात-जित् पक्वं स्वाद्व् अम्लं कफ-शुक्र-कृत् । वृक्षाम्लं ग्राहि रूक्षोष्णं वात-श्लेष्म-हरं लघु ॥ १२९ ॥\n\n**English Transliteration**:\ngurv āmraṃ vāta-jit pakvaṃ svādv amlaṃ kapha-śukra-kṛt । vṛkṣāmlaṃ grāhi rūkṣoṣṇaṃ vāta-śleṣma-haraṃ laghu ॥ 129 ॥\n\n**English Translation**:\nHeavy mango vata-conquering ripe sweet-sour kapha-semen-doing. Garcinia astringent dry-hot vata-phlegm-removing light.',
]
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
print(query_embeddings.shape, document_embeddings.shape)
# [1, 1024] [3, 1024]

# Get the similarity scores for the embeddings
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
# tensor([[ 0.7478, -0.0367,  0.0590]])
```

<!--
### Direct Usage (Transformers)

<details><summary>Click to see the direct usage in Transformers</summary>

</details>
-->

<!--
### Downstream Usage (Sentence Transformers)

You can finetune this model on your own dataset.

<details><summary>Click to expand</summary>

</details>
-->

<!--
### Out-of-Scope Use

*List how the model may foreseeably be misused and address what users ought not to do with the model.*
-->

## Evaluation

### Metrics

#### Triplet

* Dataset: `Embedding_Dataset_Dev`
* Evaluated with [<code>TripletEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)

| Metric              | Value      |
|:--------------------|:-----------|
| **cosine_accuracy** | **0.9996** |

<!--
## Bias, Risks and Limitations

*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
-->

<!--
### Recommendations

*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
-->

## Training Details

### Training Dataset

#### inhouse_devanagari

* Dataset: [inhouse_devanagari](https://huggingface.co/datasets/vrnP66/Inhouse_Devanagari) at [9076844](https://huggingface.co/datasets/vrnP66/Inhouse_Devanagari/tree/9076844d6cc74a40a8d079b482f74061b2087185)
* Size: 40,374 training samples
* Columns: <code>query</code>, <code>positive_pair</code>, and <code>negative_pair</code>
* Approximate statistics based on the first 1000 samples:
  |         | query                                                                               | positive_pair                                                                        | negative_pair                                                                        |
  |:--------|:------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
  | type    | string                                                                              | string                                                                               | string                                                                               |
  | details | <ul><li>min: 11 tokens</li><li>mean: 53.25 tokens</li><li>max: 512 tokens</li></ul> | <ul><li>min: 81 tokens</li><li>mean: 191.71 tokens</li><li>max: 512 tokens</li></ul> | <ul><li>min: 80 tokens</li><li>mean: 191.47 tokens</li><li>max: 512 tokens</li></ul> |
* Samples:
  | query                                                                                                                                                                        | positive_pair                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | negative_pair                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
  |:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
  | <code><br> नैते सृती पार्थ जानन्योगी मुह्यति कश्चन। तस्मात्सर्वेषु कालेषु योगयुक्तो भवार्जुन।।8.27।।</code>                                                                  | <code>**Shloka:**<br> नैते सृती पार्थ जानन्योगी मुह्यति कश्चन। तस्मात्सर्वेषु कालेषु योगयुक्तो भवार्जुन।।8.27।।<br><br>**Transliteration:**<br> naite sṛtī pārtha jānanyogī muhyati kaścana\| tasmātsarveṣu kāleṣu yogayukto bhavārjuna\|\|8.27\|\|<br><br>**English Translation by Shri Purohit Swami:**<br>O Arjuna! The saint knowing these paths is not confused. Therefore meditate perpetually.<br><br>**English Translation Of Sri Shankaracharya's Sanskrit Commentary By Swami Gambirananda:**<br>O son of Prtha, na kascana yogi, no yogi whosoever; janan, has known; ete srti, these two courses as described-that one leads to worldly life, and the other to Liberation; muhyati, becomes deluded. Tasmat, therefore; O Arjuna, bhava, be you; yoga-yuktah, steadfast in Yoga; sarvesu kalesu, at all times. Here about the greatness of that yoga:</code> | <code>**Shloka:**<br> यज्ञार्थात्कर्मणोऽन्यत्र लोकोऽयं कर्मबन्धनः। तदर्थं कर्म कौन्तेय मुक्तसंगः समाचर।।3.9।।<br><br>**Transliteration:**<br> yajñārthātkarmaṇo'nyatra loko'yaṃ karmabandhanaḥ\| tadarthaṃ karma kaunteya muktasaṃgaḥ samācara\|\|3.9\|\|<br><br>**English Translation by Shri Purohit Swami:**<br>In this world people are fettered by action, unless it is performed as a sacrifice. Therefore, O Arjuna, let thy acts be done without attachment, as sacrifice only.<br><br>**English Translation Of Sri Shankaracharya's Sanskrit Commentary By Swami Gambirananda:**<br>Ayam, this; lokah, man, the one who is eligible for action; karma-bandhanah, becomes bound by actions- the person who has karma as his bondage (bandhana) is karma-bandhanah-; anyatra, other than; that karmanah, action; yajnarthat, meant for Got not by that meant for God. According to the Vedic text, 'Sacrifice is verily Visnu' (Tai. Sam. 1.7.4), yajnah means God; whatever is done for Him is yajnartham. Therefore, mukta-sangah, without being attached, being free fr...</code> |
  | <code>Specifically, in the *shataponaka* type, the physician should create wounds within the tracts. After these have healed, the remaining tracts should be treated.</code> | <code>**Susrut Samhita, Chikitsa Sthana, chapter 8, sutra 5**<br><br>**Sutra**:<br>विशेषतस्तु- नाड्यन्तरे व्रणान् कुर्याद्भिषक् तु शतपोनके \| ततस्तेषूपरूढेषु शेषा नाडीरुपाचरेत् \|\|५\|\|<br><br>**English Transliteration**:<br>viśeṣatastu- nāḍyantare vraṇān kuryādbhīṣak tu śataponake \| tatasteṣūparūḍheṣu śeṣā nāḍīrupācaret \|\|5\|\|<br><br>**English Translation**:<br>Specifically, in the *shataponaka* type, the physician should create wounds within the tracts. After these have healed, the remaining tracts should be treated.</code>                                                                                                                                                                                                                                                                                                                 | <code>**Susrut Samhita, Uttara tantra, chapter 39, sutra 306**<br><br>**Sutra**:<br>चूर्णितैस्त्रिफलाश्यामात्रिवृत्पिप्पलिसंयुतैः \| सक्षौद्रः शर्करायुक्तो विरेकस्तु प्रशस्यते \|\|३०६\|\|<br><br>**English Transliteration**:<br>cūrṇitaistriphalāśyāmātrivṛtpippalisaṃyutaiḥ \| sakṣaudraḥ śarkarāyukto virekastu praśasyate \|\|306\|\|<br><br>**English Translation**:<br>A purgative (vireka) is recommended when prepared with powdered Triphala, Shyama, Trivrit, and Pippali, mixed with honey and sugar.</code>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
  | <code>अथ पुण्ये ऽह्नि संपूज्य पूज्यांस् तां प्रविशेच् छुचिः । तत्र संशोधनैः शुद्धः सुखी जात-बलः पुनः ॥ ८ ॥</code>                                                            | <code>**Ashtanga Hridayam, Uttara Sthana, chapter 39, sutra 8**<br><br>**Sutra**:<br>अथ पुण्ये ऽह्नि संपूज्य पूज्यांस् तां प्रविशेच् छुचिः । तत्र संशोधनैः शुद्धः सुखी जात-बलः पुनः ॥ ८ ॥<br><br>**English Transliteration**:<br>atha puṇye 'hni saṃpūjya pūjyāṃs tāṃ praviśec chuchiḥ \| tatra saṃśodhanaiḥ śuddhaḥ sukhī jāta-balaḥ punaḥ \|\| 8 \|\|<br><br>**English Translation**:<br>Then, on an auspicious day, having worshipped the worshipful, the pure one should enter it; there, purified by cleansing therapies, he becomes happy and regains strength.</code>                                                                                                                                                                                                                                                                                             | <code>**Ashtanga Hridayam, Uttara Sthana, chapter 40, sutra 82**<br><br>**Sutra**:<br>दीर्घ-जीवितम् आरोग्यं धर्मम् अर्थं सुखं यशः । पाठावबोधानुष्ठानैर् अधिगच्छत्य् अतो ध्रुवम् ॥ ८२ ॥<br><br>**English Transliteration**:<br>dīrgha-jīvitam ārogyaṁ dharmam arthaṁ sukhaṁ yaśaḥ \| pāṭhāvabodhānuṣṭhānair adhigacchaty ato dhruvam \|\| 82 \|\|<br><br>**English Translation**:<br>Long life, health, righteousness, wealth, happiness, and fame, one attains surely through reading, understanding, and practicing this.</code>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
  ```json
  {
      "scale": 20.0,
      "similarity_fct": "cos_sim",
      "gather_across_devices": false
  }
  ```

### Evaluation Dataset

#### inhouse_devanagari

* Dataset: [inhouse_devanagari](https://huggingface.co/datasets/vrnP66/Inhouse_Devanagari) at [9076844](https://huggingface.co/datasets/vrnP66/Inhouse_Devanagari/tree/9076844d6cc74a40a8d079b482f74061b2087185)
* Size: 5,047 evaluation samples
* Columns: <code>query</code>, <code>positive_pair</code>, and <code>negative_pair</code>
* Approximate statistics based on the first 1000 samples:
  |         | query                                                                               | positive_pair                                                                        | negative_pair                                                                        |
  |:--------|:------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
  | type    | string                                                                              | string                                                                               | string                                                                               |
  | details | <ul><li>min: 10 tokens</li><li>mean: 51.78 tokens</li><li>max: 512 tokens</li></ul> | <ul><li>min: 74 tokens</li><li>mean: 190.96 tokens</li><li>max: 512 tokens</li></ul> | <ul><li>min: 81 tokens</li><li>mean: 194.94 tokens</li><li>max: 512 tokens</li></ul> |
* Samples:
  | query                                                                                                                                                                                               | positive_pair                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | negative_pair                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
  |:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
  | <code>Marma-destroyed separately not-said their flesh-etc.-depending-on. Generally with-foreign-body but agitating by action with-pain.</code>                                                      | <code>**Ashtanga Hridayam, Sutra Sthana, chapter 28, sutra 17**<br><br>**Sutra**:<br>मर्म-नष्टं पृथङ् नोक्तं तेषां मांसादि-संश्रयात् । सामान्येन स-शल्यं तु क्षोभिण्या क्रियया स-रुक् ॥ १७ ॥<br><br>**English Transliteration**:<br>marma-naṣṭaṃ pṛthaṅ noktaṃ teṣāṃ māṃsādi-saṃśrayāt । sāmānyena sa-śalyaṃ tu kṣobhiṇyā kriyayā sa-ruk ॥ 17 ॥<br><br>**English Translation**:<br>Marma-destroyed separately not-said their flesh-etc.-depending-on. Generally with-foreign-body but agitating by action with-pain.</code>                          | <code>**Ashtanga Hridayam, Chikitsa Sthana, chapter 6, sutra 34**<br><br>**Sutra**:<br>पञ्च-कोल-शठी-पथ्या-गुड-बीजाह्व-पौष्करम् । वारुणी-कल्कितं भृष्टं यमके लवणान्वितम् ॥ ३४ ॥<br><br>**English Transliteration**:<br>pañca-kola-śaṭhī-pathyā-guḍa-bījāhva-pauṣkaram । vāruṇī-kalkitaṃ bhṛṣṭaṃ yamake lavaṇānvitam ॥ 34 ॥<br><br>**English Translation**:<br>Five-kolas, shathi, pathya, jaggery, bija, and pushkara, ground with varuni, fried in clarified butter, and mixed with salt.</code>                                                                                                                                                                                                                                                                                                                                                                                                            |
  | <code>प्राचीनामलकं चैव दोषघ्नं गरहारि च\| ऐङ्गुदं तिक्तमधुरं स्निग्धोष्णं कफवातजित्\|\|१४६\|\|</code>                                                                                               | <code>**Charak-Samhita, sutra sthana, chapter 27, sutra 146**<br><br>**Sutra**:<br>प्राचीनामलकं चैव दोषघ्नं गरहारि च\| ऐङ्गुदं तिक्तमधुरं स्निग्धोष्णं कफवातजित्\|\|१४६\|\|<br><br>**English Transliteration**:<br>prācīnāmalakaṃ caiva doṣaghnaṃ garahāri ca\| aiṅgudaṃ tiktamadhuraṃ snigdhoṣṇaṃ kaphavātajit\|\|146\|\|<br><br>**English Translation**:<br>Pracinamalaka eliminates the doshas and counteracts poison. Inguda is bitter and sweet, unctuous and hot, and conquers Kapha and Vata.</code>                                          | <code>**Charak-Samhita, chikitsa sthana, chapter 15, sutra 65**<br><br>**Sutra**:<br>कट्वजीर्णविदाह्यम्लक्षाराद्यैः पित्तमुल्बणम्\| अग्निमाप्लावयद्धन्ति जलं तप्तमिवानलम्\|\|६५\|\|<br><br>**English Transliteration**:<br>kaṭvajīrṇavidāhyamlākṣārādyaiḥ pittamulbaṇam\| agnimāplāvayaddhanti jalaṃ taptamivānalam\|\|65\|\|<br><br>**English Translation**:<br>*Pitta* (bile) aggravated by pungent, indigestible, burning, sour, alkaline, and other substances, overwhelms the *agni* (digestive fire) and destroys it, just as hot water extinguishes a fire.</code>                                                                                                                                                                                                                                                                                                                                   |
  | <code>*Vāta* becomes aggravated by excessive consumption of dry food, overeating, exposure to easterly winds, dew, sexual intercourse, suppression of natural urges, exertion, and exercise.</code> | <code>**Charak-Samhita, siddhi sthana, chapter 9, sutra 74**<br><br>**Sutra**:<br>रूक्षात्यध्यशनात् पूर्ववातावश्यायमैथुनैः\| वेगसन्धारणायासव्यायामैः कुपितोऽनिलः\|\|७४\|\|<br><br>**English Transliteration**:<br>rūkṣātyadhyaśanāt pūrvavātāvaśyāyamaithunaiḥ\| vegasaṃdhāraṇāyāsavyāyāmaiḥ kupito'nilaḥ\|\|74\|\|<br><br>**English Translation**:<br>*Vāta* becomes aggravated by excessive consumption of dry food, overeating, exposure to easterly winds, dew, sexual intercourse, suppression of natural urges, exertion, and exercise.</code> | <code>**Charak-Samhita, sharira sthana, chapter 4, sutra 4**<br><br>**Sutra**:<br>मातृतः पितृत आत्मतः सात्म्यतो रसतः सत्त्वत इत्येतेभ्यो भावेभ्यः समुदितेभ्यो गर्भः सम्भवति\| तस्य ये येऽवयवा यतो यतः सम्भवतः सम्भवन्ति तान् विभज्य मातृजादीनवयवान् पृथक् पृथगुक्तमग्रे\|\|४\|\|<br><br>**English Transliteration**:<br>mātṛtaḥ pitṛta ātmatas sāmyato rasataḥ sattvata ityetebhyo bhāvebhyaḥ samuditebhyo garbhaḥ sambhavati\| tasya ye ye'vayavā yato yataḥ sambhavataḥ sambhavanti tān vibhajya mātṛjādīnavayavān pṛthak pṛthaguktamagre\|\|4\|\|<br><br>**English Translation**:<br>The embryo originates from the combined factors of the mother, the father, the self, suitability, nutrition, and the mind. The specific components of it that originate from each of these sources will be described separately in the following sections, distinguishing the maternal and other components.</code> |
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
  ```json
  {
      "scale": 20.0,
      "similarity_fct": "cos_sim",
      "gather_across_devices": false
  }
  ```

### Training Hyperparameters
#### Non-Default Hyperparameters

- `eval_strategy`: steps
- `per_device_train_batch_size`: 32
- `per_device_eval_batch_size`: 32
- `num_train_epochs`: 4
- `warmup_ratio`: 0.1
- `fp16`: True
- `batch_sampler`: no_duplicates

#### All Hyperparameters
<details><summary>Click to expand</summary>

- `overwrite_output_dir`: False
- `do_predict`: False
- `eval_strategy`: steps
- `prediction_loss_only`: True
- `per_device_train_batch_size`: 32
- `per_device_eval_batch_size`: 32
- `per_gpu_train_batch_size`: None
- `per_gpu_eval_batch_size`: None
- `gradient_accumulation_steps`: 1
- `eval_accumulation_steps`: None
- `torch_empty_cache_steps`: None
- `learning_rate`: 5e-05
- `weight_decay`: 0.0
- `adam_beta1`: 0.9
- `adam_beta2`: 0.999
- `adam_epsilon`: 1e-08
- `max_grad_norm`: 1.0
- `num_train_epochs`: 4
- `max_steps`: -1
- `lr_scheduler_type`: linear
- `lr_scheduler_kwargs`: {}
- `warmup_ratio`: 0.1
- `warmup_steps`: 0
- `log_level`: passive
- `log_level_replica`: warning
- `log_on_each_node`: True
- `logging_nan_inf_filter`: True
- `save_safetensors`: True
- `save_on_each_node`: False
- `save_only_model`: False
- `restore_callback_states_from_checkpoint`: False
- `no_cuda`: False
- `use_cpu`: False
- `use_mps_device`: False
- `seed`: 42
- `data_seed`: None
- `jit_mode_eval`: False
- `bf16`: False
- `fp16`: True
- `fp16_opt_level`: O1
- `half_precision_backend`: auto
- `bf16_full_eval`: False
- `fp16_full_eval`: False
- `tf32`: None
- `local_rank`: 0
- `ddp_backend`: None
- `tpu_num_cores`: None
- `tpu_metrics_debug`: False
- `debug`: []
- `dataloader_drop_last`: False
- `dataloader_num_workers`: 0
- `dataloader_prefetch_factor`: None
- `past_index`: -1
- `disable_tqdm`: False
- `remove_unused_columns`: True
- `label_names`: None
- `load_best_model_at_end`: False
- `ignore_data_skip`: False
- `fsdp`: []
- `fsdp_min_num_params`: 0
- `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
- `fsdp_transformer_layer_cls_to_wrap`: None
- `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
- `parallelism_config`: None
- `deepspeed`: None
- `label_smoothing_factor`: 0.0
- `optim`: adamw_torch_fused
- `optim_args`: None
- `adafactor`: False
- `group_by_length`: False
- `length_column_name`: length
- `project`: huggingface
- `trackio_space_id`: trackio
- `ddp_find_unused_parameters`: None
- `ddp_bucket_cap_mb`: None
- `ddp_broadcast_buffers`: False
- `dataloader_pin_memory`: True
- `dataloader_persistent_workers`: False
- `skip_memory_metrics`: True
- `use_legacy_prediction_loop`: False
- `push_to_hub`: False
- `resume_from_checkpoint`: None
- `hub_model_id`: None
- `hub_strategy`: every_save
- `hub_private_repo`: None
- `hub_always_push`: False
- `hub_revision`: None
- `gradient_checkpointing`: False
- `gradient_checkpointing_kwargs`: None
- `include_inputs_for_metrics`: False
- `include_for_metrics`: []
- `eval_do_concat_batches`: True
- `fp16_backend`: auto
- `push_to_hub_model_id`: None
- `push_to_hub_organization`: None
- `mp_parameters`: 
- `auto_find_batch_size`: False
- `full_determinism`: False
- `torchdynamo`: None
- `ray_scope`: last
- `ddp_timeout`: 1800
- `torch_compile`: False
- `torch_compile_backend`: None
- `torch_compile_mode`: None
- `include_tokens_per_second`: False
- `include_num_input_tokens_seen`: no
- `neftune_noise_alpha`: None
- `optim_target_modules`: None
- `batch_eval_metrics`: False
- `eval_on_start`: False
- `use_liger_kernel`: False
- `liger_kernel_config`: None
- `eval_use_gather_object`: False
- `average_tokens_across_devices`: True
- `prompts`: None
- `batch_sampler`: no_duplicates
- `multi_dataset_batch_sampler`: proportional
- `router_mapping`: {}
- `learning_rate_mapping`: {}

</details>

### Training Logs
| Epoch  | Step | Training Loss | Validation Loss | Embedding_Dataset_Dev_cosine_accuracy |
|:------:|:----:|:-------------:|:---------------:|:-------------------------------------:|
| -1     | -1   | -             | -               | 0.9907                                |
| 1.2678 | 1600 | 0.0032        | 0.0054          | 0.9998                                |
| 1.3471 | 1700 | 0.0017        | 0.0060          | 0.9994                                |
| 1.4263 | 1800 | 0.0032        | 0.0059          | 0.9994                                |
| 1.5055 | 1900 | 0.0072        | 0.0061          | 0.9996                                |
| 1.5848 | 2000 | 0.0077        | 0.0074          | 0.9994                                |
| 1.6640 | 2100 | 0.0068        | 0.0879          | 0.9952                                |
| 1.7433 | 2200 | 0.0056        | 0.0061          | 0.9996                                |
| 1.8225 | 2300 | 0.0087        | 0.0052          | 1.0                                   |
| 1.9017 | 2400 | 0.0112        | 0.0050          | 0.9998                                |
| 1.9810 | 2500 | 0.0036        | 0.0039          | 0.9994                                |
| 2.0602 | 2600 | 0.0047        | 0.0047          | 0.9994                                |
| 2.1395 | 2700 | 0.0054        | 0.0072          | 0.9998                                |
| 2.2187 | 2800 | 0.0052        | 0.0047          | 0.9998                                |
| 2.2979 | 2900 | 0.0044        | 0.0059          | 0.9996                                |
| 2.3772 | 3000 | 0.0051        | 0.0046          | 0.9996                                |
| 2.4564 | 3100 | 0.0068        | 0.0082          | 0.9996                                |
| 2.5357 | 3200 | 0.0051        | 0.0046          | 0.9996                                |
| 2.6149 | 3300 | 0.0025        | 0.0050          | 0.9998                                |
| 2.6941 | 3400 | 0.004         | 0.0052          | 0.9992                                |
| 2.7734 | 3500 | 0.0019        | 0.0048          | 0.9996                                |
| 2.8526 | 3600 | 0.0039        | 0.0042          | 1.0                                   |
| 2.9319 | 3700 | 0.0045        | 0.0049          | 0.9998                                |
| 3.0111 | 3800 | 0.002         | 0.0046          | 0.9996                                |
| 3.0903 | 3900 | 0.0028        | 0.0050          | 0.9996                                |
| 3.1696 | 4000 | 0.0033        | 0.0049          | 0.9992                                |
| 3.2488 | 4100 | 0.0052        | 0.0048          | 0.9996                                |
| 3.3281 | 4200 | 0.0026        | 0.0049          | 0.9994                                |
| 3.4073 | 4300 | 0.0043        | 0.0044          | 1.0                                   |
| 3.4865 | 4400 | 0.0038        | 0.0041          | 0.9998                                |
| 3.5658 | 4500 | 0.003         | 0.0043          | 1.0                                   |
| 3.6450 | 4600 | 0.003         | 0.0045          | 1.0                                   |
| 3.7242 | 4700 | 0.003         | 0.0045          | 0.9998                                |
| 3.8035 | 4800 | 0.0009        | 0.0041          | 0.9998                                |
| 3.8827 | 4900 | 0.0048        | 0.0042          | 0.9998                                |
| 3.9620 | 5000 | 0.0035        | 0.0042          | 0.9996                                |


### Framework Versions
- Python: 3.12.11
- Sentence Transformers: 5.1.1
- Transformers: 4.57.0
- PyTorch: 2.8.0+cu128
- Accelerate: 1.10.1
- Datasets: 4.2.0
- Tokenizers: 0.22.1

## Citation

### BibTeX

#### Sentence Transformers
```bibtex
@inproceedings{reimers-2019-sentence-bert,
    title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
    author = "Reimers, Nils and Gurevych, Iryna",
    booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
    month = "11",
    year = "2019",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/1908.10084",
}
```

#### MultipleNegativesRankingLoss
```bibtex
@misc{henderson2017efficient,
    title={Efficient Natural Language Response Suggestion for Smart Reply},
    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},
    year={2017},
    eprint={1705.00652},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}
```

<!--
## Glossary

*Clearly define terms in order to be accessible across audiences.*
-->

<!--
## Model Card Authors

*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
-->

<!--
## Model Card Contact

*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
-->