File size: 64,529 Bytes
0430f0f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
---
base_model: sentence-transformers/all-MiniLM-L6-v2
datasets: []
language:
- en
library_name: sentence-transformers
license: apache-2.0
metrics:
- cosine_accuracy@3
- cosine_precision@1
- cosine_precision@3
- cosine_precision@5
- cosine_precision@10
- cosine_recall@1
- cosine_recall@3
- cosine_recall@5
- cosine_recall@10
- cosine_ndcg@10
- cosine_mrr@200
- cosine_map@100
- dot_accuracy@3
- dot_precision@1
- dot_precision@3
- dot_precision@5
- dot_precision@10
- dot_recall@1
- dot_recall@3
- dot_recall@5
- dot_recall@10
- dot_ndcg@10
- dot_mrr@200
- dot_map@100
pipeline_tag: sentence-similarity
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:10359
- loss:MultipleNegativesRankingLoss
widget:
- source_sentence: Cleopatra reacts to the news of Antony's death with a mixture of
    sadness and resignation, contemplating her own mortality and the fickle nature
    of life.
  sentences:
  - "Immortal longings in me. Now no more    The juice of Egypt's grape shall moist\
    \ this lip.    Yare, yare, good Iras; quick. Methinks I hear    Antony call. I\
    \ see him rouse himself    To praise my noble act. I hear him mock    The luck\
    \ of Caesar, which the gods give men    To excuse their after wrath. Husband,\
    \ I come.    Now to that name my courage prove my title!    I am fire and air;\
    \ my other elements    I give to baser life. So, have you done?    Come then,\
    \ and take the last warmth of my lips.    Farewell, kind Charmian. Iras, long\
    \ farewell.                              [Kisses them. IRAS falls and dies]  \
    \  Have I the aspic in my lips? Dost fall?    If thus thou and nature can so gently\
    \ part,    The stroke of death is as a lover's pinch,    Which hurts and is desir'd.\
    \ Dost thou lie still?    If thou vanishest, thou tell'st the world      It is\
    \ not worth leave-taking.  CHARMIAN. Dissolve, thick cloud, and rain, that I may\
    \ say    The gods themselves do weep.  CLEOPATRA. This proves me base.\n     \
    \ If she first meet the curled Antony,\n"
  - "BURGUNDY. Warlike and martial Talbot, Burgundy\n    Enshrines thee in his heart,\
    \ and there erects      Thy noble deeds as valour's monuments.  TALBOT. Thanks,\
    \ gentle Duke. But where is Pucelle now?    I think her old familiar is asleep.\
    \    Now where's the Bastard's braves, and Charles his gleeks?    What, all amort?\
    \ Rouen hangs her head for grief    That such a valiant company are fled.    Now\
    \ will we take some order in the town,    Placing therein some expert officers;\
    \    And then depart to Paris to the King,    For there young Henry with his nobles\
    \ lie.  BURGUNDY. What Lord Talbot pleaseth Burgundy.  TALBOT. But yet, before\
    \ we go, let's not forget    The noble Duke of Bedford, late deceas'd,    But\
    \ see his exequies fulfill'd in Rouen.    A braver soldier never couched lance,\
    \    A gentler heart did never sway in court;    But kings and mightiest potentates\
    \ must die,    For that's the end of human misery.                   Exeunt\n"
  - "Your suffering in this dearth, you may as well\n    Strike at the heaven with\
    \ your staves as lift them    Against the Roman state; whose course will on  \
    \  The way it takes, cracking ten thousand curbs    Of more strong link asunder\
    \ than can ever    Appear in your impediment. For the dearth,    The gods, not\
    \ the patricians, make it, and    Your knees to them, not arms, must help. Alack,\
    \    You are transported by calamity    Thither where more attends you; and you\
    \ slander    The helms o' th' state, who care for you like fathers,    When you\
    \ curse them as enemies.  FIRST CITIZEN. Care for us! True, indeed! They ne'er\
    \ car'd for us    yet. Suffer us to famish, and their storehouses cramm'd with\
    \    grain; make edicts for usury, to support usurers; repeal daily    any wholesome\
    \ act established against the rich, and provide more    piercing statutes daily\
    \ to chain up and restrain the poor. If the    wars eat us not up, they will;\
    \ and there's all the love they bear    us.    MENENIUS. Either you must    Confess\
    \ yourselves wondrous malicious,    Or be accus'd of folly. I shall tell you \
    \   A pretty tale. It may be you have heard it;    But, since it serves my purpose,\
    \ I will venture    To stale't a little more.  FIRST CITIZEN. Well, I'll hear\
    \ it, sir; yet you must not think to    fob off our disgrace with a tale. But,\
    \ an't please you, deliver.  MENENIUS. There was a time when all the body's members\
    \    Rebell'd against the belly; thus accus'd it:    That only like a gulf it\
    \ did remain    I' th' midst o' th' body, idle and unactive,    Still cupboarding\
    \ the viand, never bearing    Like labour with the rest; where th' other instruments\
    \    Did see and hear, devise, instruct, walk, feel,\n      And, mutually participate,\
    \ did minister\n"
- source_sentence: How does the excerpt reflect themes of loyalty and sacrifice in
    the play?
  sentences:
  - "me a thousand marks in links and torches, walking with thee in\n    the night\
    \ betwixt tavern and tavern; but the sack that thou hast    drunk me would have\
    \ bought me lights as good cheap at the dearest    chandler's in Europe. I have\
    \ maintained that salamander of yours      with fire any time this two-and-thirty\
    \ years. God reward me for    it!  Bard. 'Sblood, I would my face were in your\
    \ belly!  Fal. God-a-mercy! so should I be sure to be heart-burn'd.\n        \
    \                  Enter Hostess.    How now, Dame Partlet the hen? Have you enquir'd\
    \ yet who pick'd\n    my pocket?  Host. Why, Sir John, what do you think, Sir\
    \ John? Do you think I    keep thieves in my house? I have search'd, I have enquired,\
    \ so    has my husband, man by man, boy by boy, servant by servant. The    tithe\
    \ of a hair was never lost in my house before.  Fal. Ye lie, hostess. Bardolph\
    \ was shav'd and lost many a hair, and    I'll be sworn my pocket was pick'd.\
    \ Go to, you are a woman, go!  Host. Who, I? No; I defy thee! God's light, I was\
    \ never call'd so    in mine own house before!  Fal. Go to, I know you well enough.\
    \  Host. No, Sir John; you do not know me, Sir John. I know you, Sir    John.\
    \ You owe me money, Sir John, and now you pick a quarrel to      beguile me of\
    \ it. I bought you a dozen of shirts to your back.  Fal. Dowlas, filthy dowlas!\
    \ I have given them away to bakers'    wives; they have made bolters of them.\
    \  Host. Now, as I am a true woman, holland of eight shillings an ell.    You\
    \ owe money here besides, Sir John, for your diet and    by-drinkings, and money\
    \ lent you, four-and-twenty pound.  Fal. He had his part of it; let him pay. \
    \ Host. He? Alas, he is poor; he hath nothing.  Fal. How? Poor? Look upon his\
    \ face. What call you rich? Let them    coin his nose, let them coin his cheeks.\
    \ I'll not pay a denier.\n      What, will you make a younker of me? Shall I not\
    \ take mine ease\n"
  - "EDWARD. I wonder how our princely father scap'd,\n    Or whether he be scap'd\
    \ away or no    From Clifford's and Northumberland's pursuit.    Had he been ta'en,\
    \ we should have heard the news;    Had he been slain, we should have heard the\
    \ news;    Or had he scap'd, methinks we should have heard    The happy tidings\
    \ of his good escape.    How fares my brother? Why is he so sad?  RICHARD. I cannot\
    \ joy until I be resolv'd    Where our right valiant father is become.    I saw\
    \ him in the battle range about,    And watch'd him how he singled Clifford forth.\
    \    Methought he bore him in the thickest troop    As doth a lion in a herd of\
    \ neat;\n      Or as a bear, encompass'd round with dogs,\n    Who having pinch'd\
    \ a few and made them cry,    The rest stand all aloof and bark at him.      So\
    \ far'd our father with his enemies;    So fled his enemies my warlike father.\
    \    Methinks 'tis prize enough to be his son.    See how the morning opes her\
    \ golden gates    And takes her farewell of the glorious sun.    How well resembles\
    \ it the prime of youth,    Trimm'd like a younker prancing to his love!  EDWARD.\
    \ Dazzle mine eyes, or do I see three suns?  RICHARD. Three glorious suns, each\
    \ one a perfect sun;    Not separated with the racking clouds,    But sever'd\
    \ in a pale clear-shining sky.    See, see! they join, embrace, and seem to kiss,\
    \    As if they vow'd some league inviolable.    Now are they but one lamp, one\
    \ light, one sun.    In this the heaven figures some event.  EDWARD. 'Tis wondrous\
    \ strange, the like yet never heard of.    I think it cites us, brother, to the\
    \ field,    That we, the sons of brave Plantagenet,    Each one already blazing\
    \ by our meeds,    Should notwithstanding join our lights together      And overshine\
    \ the earth, as this the world.    Whate'er it bodes, henceforward will I bear\
    \    Upon my target three fair shining suns.  RICHARD. Nay, bear three daughters-\
    \ by your leave I speak it,    You love the breeder better than the male.\n"
  - "Forget that rarest treasure of your cheek,\n    Exposing it- but, O, the harder\
    \ heart!    Alack, no remedy!- to the greedy touch    Of common-kissing Titan,\
    \ and forget    Your laboursome and dainty trims wherein    You made great Juno\
    \ angry.  IMOGEN. Nay, be brief;    I see into thy end, and am almost    A man\
    \ already.  PISANIO. First, make yourself but like one.    Fore-thinking this,\
    \ I have already fit-    'Tis in my cloak-bag- doublet, hat, hose, all    That\
    \ answer to them. Would you, in their serving,    And with what imitation you\
    \ can borrow    From youth of such a season, fore noble Lucius    Present yourself,\
    \ desire his service, tell him    Wherein you're happy- which will make him know\
    \    If that his head have ear in music; doubtless    With joy he will embrace\
    \ you; for he's honourable,      And, doubling that, most holy. Your means abroad-\
    \    You have me, rich; and I will never fail    Beginning nor supplyment.  IMOGEN.\
    \ Thou art all the comfort    The gods will diet me with. Prithee away!    There's\
    \ more to be consider'd; but we'll even    All that good time will give us. This\
    \ attempt    I am soldier to, and will abide it with    A prince's courage. Away,\
    \ I prithee.  PISANIO. Well, madam, we must take a short farewell,    Lest, being\
    \ miss'd, I be suspected of    Your carriage from the court. My noble mistress,\
    \    Here is a box; I had it from the Queen.    What's in't is precious. If you\
    \ are sick at sea    Or stomach-qualm'd at land, a dram of this\n      Will drive\
    \ away distemper. To some shade,\n    And fit you to your manhood. May the gods\
    \    Direct you to the best!  IMOGEN. Amen. I thank thee.                   Exeunt\
    \ severally\n"
- source_sentence: The excerpt showcases the emotional turmoil and sense of honor
    that drives Brutus to take his own life in the face of defeat.
  sentences:
  - "Thou know'st that we two went to school together;\n    Even for that our love\
    \ of old, I prithee,    Hold thou my sword-hilts, whilst I run on it.  VOLUMNIUS.\
    \ That's not an office for a friend, my lord.                                \
    \                   Alarum still.  CLITUS. Fly, fly, my lord, there is no tarrying\
    \ here.  BRUTUS. Farewell to you, and you, and you, Volumnius.    Strato, thou\
    \ hast been all this while asleep;      Farewell to thee too, Strato. Countrymen,\
    \    My heart doth joy that yet in all my life    I found no man but he was true\
    \ to me.    I shall have glory by this losing day,    More than Octavius and Mark\
    \ Antony    By this vile conquest shall attain unto.    So, fare you well at once,\
    \ for Brutus' tongue    Hath almost ended his life's history.    Night hangs upon\
    \ mine eyes, my bones would rest    That have but labor'd to attain this hour.\
    \                            Alarum. Cry within, \"Fly, fly, fly!\"  CLITUS. Fly,\
    \ my lord, fly.  BRUTUS. Hence! I will follow.                        Exeunt Clitus,\
    \ Dardanius, and Volumnius.    I prithee, Strato, stay thou by thy lord.    Thou\
    \ art a fellow of a good respect;    Thy life hath had some smatch of honor in\
    \ it.    Hold then my sword, and turn away thy face,    While I do run upon it.\
    \ Wilt thou, Strato?  STRATO. Give me your hand first. Fare you well, my lord.\
    \    BRUTUS. Farewell, good Strato.              Runs on his sword.    Caesar,\
    \ now be still;    I kill'd not thee with half so good a will.            Dies.\n\
    \     Alarum. Retreat. Enter Octavius, Antony, Messala,\n                 Lucilius,\
    \ and the Army.\n    OCTAVIUS. What man is that?\n"
  - "Elsinore. A room in the Castle.\nEnter King, Queen, Polonius, Ophelia, Rosencrantz,\
    \ Guildenstern, and Lords.  King. And can you by no drift of circumstance\n  \
    \  Get from him why he puts on this confusion,    Grating so harshly all his days\
    \ of quiet    With turbulent and dangerous lunacy?  Ros. He does confess he feels\
    \ himself distracted,    But from what cause he will by no means speak.  Guil.\
    \ Nor do we find him forward to be sounded,    But with a crafty madness keeps\
    \ aloof    When we would bring him on to some confession    Of his true state.\
    \  Queen. Did he receive you well?  Ros. Most like a gentleman.  Guil. But with\
    \ much forcing of his disposition.  Ros. Niggard of question, but of our demands\
    \    Most free in his reply.  Queen. Did you assay him      To any pastime?  Ros.\
    \ Madam, it so fell out that certain players\n      We o'erraught on the way.\
    \ Of these we told him,\n"
  - "VII.\nThe French camp near Agincourt\nEnter the CONSTABLE OF FRANCE, the LORD\
    \ RAMBURES, the DUKE OF ORLEANS,\nthe DAUPHIN, with others\n  CONSTABLE. Tut!\
    \ I have the best armour of the world.\n    Would it were day!  ORLEANS. You have\
    \ an excellent armour; but let my horse have his    due.  CONSTABLE. It is the\
    \ best horse of Europe.  ORLEANS. Will it never be morning?  DAUPHIN. My Lord\
    \ of Orleans and my Lord High Constable, you talk of    horse and armour?  ORLEANS.\
    \ You are as well provided of both as any prince in the    world.  DAUPHIN. What\
    \ a long night is this! I will not change my horse with    any that treads but\
    \ on four pasterns. Ca, ha! he bounds from the    earth as if his entrails were\
    \ hairs; le cheval volant, the    Pegasus, chez les narines de feu! When I bestride\
    \ him I soar, I    am a hawk. He trots the air; the earth sings when he touches\
    \ it;    the basest horn of his hoof is more musical than the pipe of      Hermes.\
    \  ORLEANS. He's of the colour of the nutmeg.  DAUPHIN. And of the heat of the\
    \ ginger. It is a beast for Perseus:    he is pure air and fire; and the dull\
    \ elements of earth and water    never appear in him, but only in patient stillness\
    \ while his    rider mounts him; he is indeed a horse, and all other jades you\
    \    may call beasts.  CONSTABLE. Indeed, my lord, it is a most absolute and excellent\
    \    horse.\n    DAUPHIN. It is the prince of palfreys; his neigh is like the\n"
- source_sentence: What themes are present in the excerpt from the play?
  sentences:
  - "Enter TRAVERS  NORTHUMBERLAND. Here comes my servant Travers, whom I sent\n \
    \   On Tuesday last to listen after news.  LORD BARDOLPH. My lord, I over-rode\
    \ him on the way;    And he is furnish'd with no certainties    More than he haply\
    \ may retail from me.  NORTHUMBERLAND. Now, Travers, what good tidings comes with\
    \ you?  TRAVERS. My lord, Sir John Umfrevile turn'd me back    With joyful tidings;\
    \ and, being better hors'd,    Out-rode me. After him came spurring hard    A\
    \ gentleman, almost forspent with speed,    That stopp'd by me to breathe his\
    \ bloodied horse.    He ask'd the way to Chester; and of him    I did demand what\
    \ news from Shrewsbury.    He told me that rebellion had bad luck,    And that\
    \ young Harry Percy's spur was cold.      With that he gave his able horse the\
    \ head    And, bending forward, struck his armed heels\n      Against the panting\
    \ sides of his poor jade\n    Up to the rowel-head; and starting so,    He seem'd\
    \ in running to devour the way,    Staying no longer question.  NORTHUMBERLAND.\
    \ Ha! Again:    Said he young Harry Percy's spur was cold?    Of Hotspur, Coldspur?\
    \ that rebellion    Had met ill luck?  LORD BARDOLPH. My lord, I'll tell you what:\
    \    If my young lord your son have not the day,    Upon mine honour, for a silken\
    \ point    I'll give my barony. Never talk of it.  NORTHUMBERLAND. Why should\
    \ that gentleman that rode by Travers    Give then such instances of loss?  LORD\
    \ BARDOLPH. Who- he?    He was some hilding fellow that had stol'n    The horse\
    \ he rode on and, upon my life,    Spoke at a venture. Look, here comes more news.\
    \  \n                        Enter Morton  NORTHUMBERLAND. Yea, this man's brow,\
    \ like to a title-leaf,\n"
  - "ANTONY. Yet they are not join'd. Where yond pine does stand\n    I shall discover\
    \ all. I'll bring thee word    Straight how 'tis like to go.                 \
    \          Exit  SCARUS. Swallows have built    In Cleopatra's sails their nests.\
    \ The augurers    Say they know not, they cannot tell; look grimly,    And dare\
    \ not speak their knowledge. Antony    Is valiant and dejected; and by starts\
    \    His fretted fortunes give him hope and fear    Of what he has and has not.\
    \                            [Alarum afar off, as at a sea-fight]\n          \
    \            Re-enter ANTONY  ANTONY. All is lost!\n    This foul Egyptian hath\
    \ betrayed me.    My fleet hath yielded to the foe, and yonder      They cast\
    \ their caps up and carouse together    Like friends long lost. Triple-turn'd\
    \ whore! 'tis thou\n      Hast sold me to this novice; and my heart\n    Makes\
    \ only wars on thee. Bid them all fly;    For when I am reveng'd upon my charm,\
    \    I have done all. Bid them all fly; begone.       Exit SCARUS    O sun, thy\
    \ uprise shall I see no more!    Fortune and Antony part here; even here    Do\
    \ we shake hands. All come to this? The hearts    That spaniel'd me at heels,\
    \ to whom I gave    Their wishes, do discandy, melt their sweets    On blossoming\
    \ Caesar; and this pine is bark'd    That overtopp'd them all. Betray'd I am.\
    \    O this false soul of Egypt! this grave charm-    Whose eye beck'd forth my\
    \ wars and call'd them home,    Whose bosom was my crownet, my chief end-    Like\
    \ a right gypsy hath at fast and loose    Beguil'd me to the very heart of loss.\
    \    What, Eros, Eros!                        Enter CLEOPATRA\n    Ah, thou spell!\
    \ Avaunt!\n"
  - "TALBOT. Saint George and victory! Fight, soldiers, fight.\n    The Regent hath\
    \ with Talbot broke his word    And left us to the rage of France his sword. \
    \   Where is John Talbot? Pause and take thy breath;    I gave thee life and rescu'd\
    \ thee from death.  JOHN. O, twice my father, twice am I thy son!    The life\
    \ thou gav'st me first was lost and done    Till with thy warlike sword, despite\
    \ of fate,    To my determin'd time thou gav'st new date.  TALBOT. When from the\
    \ Dauphin's crest thy sword struck    fire,    It warm'd thy father's heart with\
    \ proud desire    Of bold-fac'd victory. Then leaden age,    Quicken'd with youthful\
    \ spleen and warlike rage,    Beat down Alencon, Orleans, Burgundy,      And from\
    \ the pride of Gallia rescued thee.    The ireful bastard Orleans, that drew blood\
    \    From thee, my boy, and had the maidenhood    Of thy first fight, I soon encountered\
    \    And, interchanging blows, I quickly shed    Some of his bastard blood; and\
    \ in disgrace\n      Bespoke him thus: 'Contaminated, base,\n"
- source_sentence: What is the significance of the tennis balls in the excerpt from
    the play?
  sentences:
  - "My fault is past. But, O, what form of prayer\n    Can serve my turn? 'Forgive\
    \ me my foul murther'?    That cannot be; since I am still possess'd    Of those\
    \ effects for which I did the murther-    My crown, mine own ambition, and my\
    \ queen.    May one be pardon'd and retain th' offence?    In the corrupted currents\
    \ of this world    Offence's gilded hand may shove by justice,    And oft 'tis\
    \ seen the wicked prize itself    Buys out the law; but 'tis not so above.   \
    \ There is no shuffling; there the action lies    In his true nature, and we ourselves\
    \ compell'd,    Even to the teeth and forehead of our faults,    To give in evidence.\
    \ What then? What rests?    Try what repentance can. What can it not?    Yet what\
    \ can it when one cannot repent?    O wretched state! O bosom black as death!\
    \    O limed soul, that, struggling to be free,    Art more engag'd! Help, angels!\
    \ Make assay.      Bow, stubborn knees; and heart with strings of steel,    Be\
    \ soft as sinews of the new-born babe!    All may be well.                   \
    \               He kneels.\n                         Enter Hamlet.  Ham. Now might\
    \ I do it pat, now he is praying;\n    And now I'll do't. And so he goes to heaven,\
    \    And so am I reveng'd. That would be scann'd.    A villain kills my father;\
    \ and for that,    I, his sole son, do this same villain send    To heaven.  \
    \  Why, this is hire and salary, not revenge!    He took my father grossly, full\
    \ of bread,    With all his crimes broad blown, as flush as May;    And how his\
    \ audit stands, who knows save heaven?\n      But in our circumstance and course\
    \ of thought,\n"
  - "YORK. From Ireland thus comes York to claim his right\n    And pluck the crown\
    \ from feeble Henry's head:    Ring bells aloud, burn bonfires clear and bright,\
    \    To entertain great England's lawful king.    Ah, sancta majestas! who would\
    \ not buy thee dear?    Let them obey that knows not how to rule;    This hand\
    \ was made to handle nought but gold.    I cannot give due action to my words\
    \    Except a sword or sceptre balance it.\n      A sceptre shall it have, have\
    \ I a soul\n    On which I'll toss the flower-de-luce of France.\n           \
    \              Enter BUCKINGHAM    [Aside] Whom have we here? Buckingham, to disturb\
    \ me?\n    The King hath sent him, sure: I must dissemble.  BUCKINGHAM. York,\
    \ if thou meanest well I greet thee well.    YORK. Humphrey of Buckingham, I accept\
    \ thy greeting.    Art thou a messenger, or come of pleasure?  BUCKINGHAM. A messenger\
    \ from Henry, our dread liege,    To know the reason of these arms in peace; \
    \   Or why thou, being a subject as I am,    Against thy oath and true allegiance\
    \ sworn,    Should raise so great a power without his leave,    Or dare to bring\
    \ thy force so near the court.  YORK. [Aside] Scarce can I speak, my choler is\
    \ so great.    O, I could hew up rocks and fight with flint,    I am so angry\
    \ at these abject terms;    And now, like Ajax Telamonius,    On sheep or oxen\
    \ could I spend my fury.    I am far better born than is the King,    More like\
    \ a king, more kingly in my thoughts;    But I must make fair weather yet awhile,\
    \    Till Henry be more weak and I more strong.-    Buckingham, I prithee, pardon\
    \ me    That I have given no answer all this while;    My mind was troubled with\
    \ deep melancholy.      The cause why I have brought this army hither    Is to\
    \ remove proud Somerset from the King,    Seditious to his Grace and to the state.\
    \  BUCKINGHAM. That is too much presumption on thy part;    But if thy arms be\
    \ to no other end,    The King hath yielded unto thy demand:\n      The Duke of\
    \ Somerset is in the Tower.\n"
  - "Says that you savour too much of your youth,\n    And bids you be advis'd there's\
    \ nought in France    That can be with a nimble galliard won;    You cannot revel\
    \ into dukedoms there.    He therefore sends you, meeter for your spirit,    This\
    \ tun of treasure; and, in lieu of this,    Desires you let the dukedoms that\
    \ you claim    Hear no more of you. This the Dauphin speaks.  KING HENRY. What\
    \ treasure, uncle?  EXETER. Tennis-balls, my liege.  KING HENRY. We are glad the\
    \ Dauphin is so pleasant with us;    His present and your pains we thank you for.\
    \    When we have match'd our rackets to these balls,      We will in France,\
    \ by God's grace, play a set    Shall strike his father's crown into the hazard.\
    \    Tell him he hath made a match with such a wrangler    That all the courts\
    \ of France will be disturb'd    With chaces. And we understand him well,    How\
    \ he comes o'er us with our wilder days,    Not measuring what use we made of\
    \ them.    We never valu'd this poor seat of England;    And therefore, living\
    \ hence, did give ourself    To barbarous licence; as 'tis ever common    That\
    \ men are merriest when they are from home.    But tell the Dauphin I will keep\
    \ my state,    Be like a king, and show my sail of greatness,    When I do rouse\
    \ me in my throne of France;    For that I have laid by my majesty    And plodded\
    \ like a man for working-days;    But I will rise there with so full a glory \
    \   That I will dazzle all the eyes of France,    Yea, strike the Dauphin blind\
    \ to look on us.    And tell the pleasant Prince this mock of his      Hath turn'd\
    \ his balls to gun-stones, and his soul    Shall stand sore charged for the wasteful\
    \ vengeance\n      That shall fly with them; for many a thousand widows\n"
model-index:
- name: RAG_general/rerank/models/sentence-transformers-all-MiniLM-L6-v2-ft
  results:
  - task:
      type: information-retrieval
      name: Information Retrieval
    dataset:
      name: mini dev
      type: mini-dev
    metrics:
    - type: cosine_accuracy@3
      value: 0.4582971329278888
      name: Cosine Accuracy@3
    - type: cosine_precision@1
      value: 0.342745438748914
      name: Cosine Precision@1
    - type: cosine_precision@3
      value: 0.15276571097596292
      name: Cosine Precision@3
    - type: cosine_precision@5
      value: 0.10139009556907037
      name: Cosine Precision@5
    - type: cosine_precision@10
      value: 0.056298870547350124
      name: Cosine Precision@10
    - type: cosine_recall@1
      value: 0.342745438748914
      name: Cosine Recall@1
    - type: cosine_recall@3
      value: 0.4582971329278888
      name: Cosine Recall@3
    - type: cosine_recall@5
      value: 0.5069504778453519
      name: Cosine Recall@5
    - type: cosine_recall@10
      value: 0.5629887054735013
      name: Cosine Recall@10
    - type: cosine_ndcg@10
      value: 0.4482222879991295
      name: Cosine Ndcg@10
    - type: cosine_mrr@200
      value: 0.41834905952135354
      name: Cosine Mrr@200
    - type: cosine_map@100
      value: 0.4180307788743427
      name: Cosine Map@100
    - type: dot_accuracy@3
      value: 0.4582971329278888
      name: Dot Accuracy@3
    - type: dot_precision@1
      value: 0.342745438748914
      name: Dot Precision@1
    - type: dot_precision@3
      value: 0.15276571097596292
      name: Dot Precision@3
    - type: dot_precision@5
      value: 0.10139009556907037
      name: Dot Precision@5
    - type: dot_precision@10
      value: 0.056298870547350124
      name: Dot Precision@10
    - type: dot_recall@1
      value: 0.342745438748914
      name: Dot Recall@1
    - type: dot_recall@3
      value: 0.4582971329278888
      name: Dot Recall@3
    - type: dot_recall@5
      value: 0.5069504778453519
      name: Dot Recall@5
    - type: dot_recall@10
      value: 0.5629887054735013
      name: Dot Recall@10
    - type: dot_ndcg@10
      value: 0.4482222879991295
      name: Dot Ndcg@10
    - type: dot_mrr@200
      value: 0.41834905952135354
      name: Dot Mrr@200
    - type: dot_map@100
      value: 0.4180307788743427
      name: Dot Map@100
---

# RAG_general/rerank/models/sentence-transformers-all-MiniLM-L6-v2-ft

This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2). It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.

## Model Details

### Model Description
- **Model Type:** Sentence Transformer
- **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision 8b3219a92973c328a8e22fadcfa821b5dc75636a -->
- **Maximum Sequence Length:** 256 tokens
- **Output Dimensionality:** 384 tokens
- **Similarity Function:** Cosine Similarity
<!-- - **Training Dataset:** Unknown -->
- **Language:** en
- **License:** apache-2.0

### 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': 256, 'do_lower_case': False}) with Transformer model: BertModel 
  (1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
  (2): Normalize()
)
```

## 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("rjnClarke/sentence-transformers-all-MiniLM-L6-v2-fine-tuned")
# Run inference
sentences = [
    'What is the significance of the tennis balls in the excerpt from the play?',
    "Says that you savour too much of your youth,\n    And bids you be advis'd there's nought in France    That can be with a nimble galliard won;    You cannot revel into dukedoms there.    He therefore sends you, meeter for your spirit,    This tun of treasure; and, in lieu of this,    Desires you let the dukedoms that you claim    Hear no more of you. This the Dauphin speaks.  KING HENRY. What treasure, uncle?  EXETER. Tennis-balls, my liege.  KING HENRY. We are glad the Dauphin is so pleasant with us;    His present and your pains we thank you for.    When we have match'd our rackets to these balls,      We will in France, by God's grace, play a set    Shall strike his father's crown into the hazard.    Tell him he hath made a match with such a wrangler    That all the courts of France will be disturb'd    With chaces. And we understand him well,    How he comes o'er us with our wilder days,    Not measuring what use we made of them.    We never valu'd this poor seat of England;    And therefore, living hence, did give ourself    To barbarous licence; as 'tis ever common    That men are merriest when they are from home.    But tell the Dauphin I will keep my state,    Be like a king, and show my sail of greatness,    When I do rouse me in my throne of France;    For that I have laid by my majesty    And plodded like a man for working-days;    But I will rise there with so full a glory    That I will dazzle all the eyes of France,    Yea, strike the Dauphin blind to look on us.    And tell the pleasant Prince this mock of his      Hath turn'd his balls to gun-stones, and his soul    Shall stand sore charged for the wasteful vengeance\n      That shall fly with them; for many a thousand widows\n",
    "YORK. From Ireland thus comes York to claim his right\n    And pluck the crown from feeble Henry's head:    Ring bells aloud, burn bonfires clear and bright,    To entertain great England's lawful king.    Ah, sancta majestas! who would not buy thee dear?    Let them obey that knows not how to rule;    This hand was made to handle nought but gold.    I cannot give due action to my words    Except a sword or sceptre balance it.\n      A sceptre shall it have, have I a soul\n    On which I'll toss the flower-de-luce of France.\n                         Enter BUCKINGHAM    [Aside] Whom have we here? Buckingham, to disturb me?\n    The King hath sent him, sure: I must dissemble.  BUCKINGHAM. York, if thou meanest well I greet thee well.    YORK. Humphrey of Buckingham, I accept thy greeting.    Art thou a messenger, or come of pleasure?  BUCKINGHAM. A messenger from Henry, our dread liege,    To know the reason of these arms in peace;    Or why thou, being a subject as I am,    Against thy oath and true allegiance sworn,    Should raise so great a power without his leave,    Or dare to bring thy force so near the court.  YORK. [Aside] Scarce can I speak, my choler is so great.    O, I could hew up rocks and fight with flint,    I am so angry at these abject terms;    And now, like Ajax Telamonius,    On sheep or oxen could I spend my fury.    I am far better born than is the King,    More like a king, more kingly in my thoughts;    But I must make fair weather yet awhile,    Till Henry be more weak and I more strong.-    Buckingham, I prithee, pardon me    That I have given no answer all this while;    My mind was troubled with deep melancholy.      The cause why I have brought this army hither    Is to remove proud Somerset from the King,    Seditious to his Grace and to the state.  BUCKINGHAM. That is too much presumption on thy part;    But if thy arms be to no other end,    The King hath yielded unto thy demand:\n      The Duke of Somerset is in the Tower.\n",
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 384]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
```

<!--
### 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

#### Information Retrieval
* Dataset: `mini-dev`
* Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)

| Metric              | Value     |
|:--------------------|:----------|
| cosine_accuracy@3   | 0.4583    |
| cosine_precision@1  | 0.3427    |
| cosine_precision@3  | 0.1528    |
| cosine_precision@5  | 0.1014    |
| cosine_precision@10 | 0.0563    |
| cosine_recall@1     | 0.3427    |
| cosine_recall@3     | 0.4583    |
| cosine_recall@5     | 0.507     |
| cosine_recall@10    | 0.563     |
| cosine_ndcg@10      | 0.4482    |
| cosine_mrr@200      | 0.4183    |
| **cosine_map@100**  | **0.418** |
| dot_accuracy@3      | 0.4583    |
| dot_precision@1     | 0.3427    |
| dot_precision@3     | 0.1528    |
| dot_precision@5     | 0.1014    |
| dot_precision@10    | 0.0563    |
| dot_recall@1        | 0.3427    |
| dot_recall@3        | 0.4583    |
| dot_recall@5        | 0.507     |
| dot_recall@10       | 0.563     |
| dot_ndcg@10         | 0.4482    |
| dot_mrr@200         | 0.4183    |
| dot_map@100         | 0.418     |

<!--
## 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

#### Unnamed Dataset


* Size: 10,359 training samples
* Columns: <code>anchor</code> and <code>positive</code>
* Approximate statistics based on the first 1000 samples:
  |         | anchor                                                                             | positive                                                                             |
  |:--------|:-----------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
  | type    | string                                                                             | string                                                                               |
  | details | <ul><li>min: 10 tokens</li><li>mean: 22.32 tokens</li><li>max: 56 tokens</li></ul> | <ul><li>min: 35 tokens</li><li>mean: 238.33 tokens</li><li>max: 256 tokens</li></ul> |
* Samples:
  | anchor                                                                                                                                                         | positive                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
  |:---------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
  | <code>Who is the general being described in the excerpt?</code>                                                                                                | <code>PHILO. Nay, but this dotage of our general's<br>    O'erflows the measure. Those his goodly eyes,    That o'er the files and musters of the war    Have glow'd like plated Mars, now bend, now turn,    The office and devotion of their view    Upon a tawny front. His captain's heart,    Which in the scuffles of great fights hath burst<br>      The buckles on his breast, reneges all temper,<br>    And is become the bellows and the fan    To cool a gipsy's lust.<br>     Flourish. Enter ANTONY, CLEOPATRA, her LADIES, the train,<br>                    with eunuchs fanning her<br>    Look where they come!<br>    Take but good note, and you shall see in him    The triple pillar of the world transform'd      Into a strumpet's fool. Behold and see.  CLEOPATRA. If it be love indeed, tell me how much.  ANTONY. There's beggary in the love that can be reckon'd.  CLEOPATRA. I'll set a bourn how far to be belov'd.  ANTONY. Then must thou needs find out new heaven, new earth.<br>                       Enter a MESSENGER  MESSENGER. News, my good lord, from Rome.<br>  ANTONY. Grates me the sum.  CLEOPATRA. Nay, hear them, Antony.    Fulvia perchance is angry; or who knows    If the scarce-bearded Caesar have not sent    His pow'rful mandate to you: 'Do this or this;    Take in that kingdom and enfranchise that;    Perform't, or else we damn thee.'  ANTONY. How, my love?  CLEOPATRA. Perchance? Nay, and most like,    You must not stay here longer; your dismission    Is come from Caesar; therefore hear it, Antony.      Where's Fulvia's process? Caesar's I would say? Both?    Call in the messengers. As I am Egypt's Queen,    Thou blushest, Antony, and that blood of thine    Is Caesar's homager. Else so thy cheek pays shame<br>      When shrill-tongu'd Fulvia scolds. The messengers!<br></code> |
  | <code>What is the main conflict highlighted in the excerpt?</code>                                                                                             | <code>PHILO. Nay, but this dotage of our general's<br>    O'erflows the measure. Those his goodly eyes,    That o'er the files and musters of the war    Have glow'd like plated Mars, now bend, now turn,    The office and devotion of their view    Upon a tawny front. His captain's heart,    Which in the scuffles of great fights hath burst<br>      The buckles on his breast, reneges all temper,<br>    And is become the bellows and the fan    To cool a gipsy's lust.<br>     Flourish. Enter ANTONY, CLEOPATRA, her LADIES, the train,<br>                    with eunuchs fanning her<br>    Look where they come!<br>    Take but good note, and you shall see in him    The triple pillar of the world transform'd      Into a strumpet's fool. Behold and see.  CLEOPATRA. If it be love indeed, tell me how much.  ANTONY. There's beggary in the love that can be reckon'd.  CLEOPATRA. I'll set a bourn how far to be belov'd.  ANTONY. Then must thou needs find out new heaven, new earth.<br>                       Enter a MESSENGER  MESSENGER. News, my good lord, from Rome.<br>  ANTONY. Grates me the sum.  CLEOPATRA. Nay, hear them, Antony.    Fulvia perchance is angry; or who knows    If the scarce-bearded Caesar have not sent    His pow'rful mandate to you: 'Do this or this;    Take in that kingdom and enfranchise that;    Perform't, or else we damn thee.'  ANTONY. How, my love?  CLEOPATRA. Perchance? Nay, and most like,    You must not stay here longer; your dismission    Is come from Caesar; therefore hear it, Antony.      Where's Fulvia's process? Caesar's I would say? Both?    Call in the messengers. As I am Egypt's Queen,    Thou blushest, Antony, and that blood of thine    Is Caesar's homager. Else so thy cheek pays shame<br>      When shrill-tongu'd Fulvia scolds. The messengers!<br></code> |
  | <code>The excerpt showcases the tension between Antony's loyalty to Cleopatra and his obligations to Caesar, as well as Cleopatra's influence over him.</code> | <code>PHILO. Nay, but this dotage of our general's<br>    O'erflows the measure. Those his goodly eyes,    That o'er the files and musters of the war    Have glow'd like plated Mars, now bend, now turn,    The office and devotion of their view    Upon a tawny front. His captain's heart,    Which in the scuffles of great fights hath burst<br>      The buckles on his breast, reneges all temper,<br>    And is become the bellows and the fan    To cool a gipsy's lust.<br>     Flourish. Enter ANTONY, CLEOPATRA, her LADIES, the train,<br>                    with eunuchs fanning her<br>    Look where they come!<br>    Take but good note, and you shall see in him    The triple pillar of the world transform'd      Into a strumpet's fool. Behold and see.  CLEOPATRA. If it be love indeed, tell me how much.  ANTONY. There's beggary in the love that can be reckon'd.  CLEOPATRA. I'll set a bourn how far to be belov'd.  ANTONY. Then must thou needs find out new heaven, new earth.<br>                       Enter a MESSENGER  MESSENGER. News, my good lord, from Rome.<br>  ANTONY. Grates me the sum.  CLEOPATRA. Nay, hear them, Antony.    Fulvia perchance is angry; or who knows    If the scarce-bearded Caesar have not sent    His pow'rful mandate to you: 'Do this or this;    Take in that kingdom and enfranchise that;    Perform't, or else we damn thee.'  ANTONY. How, my love?  CLEOPATRA. Perchance? Nay, and most like,    You must not stay here longer; your dismission    Is come from Caesar; therefore hear it, Antony.      Where's Fulvia's process? Caesar's I would say? Both?    Call in the messengers. As I am Egypt's Queen,    Thou blushest, Antony, and that blood of thine    Is Caesar's homager. Else so thy cheek pays shame<br>      When shrill-tongu'd Fulvia scolds. The messengers!<br></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"
  }
  ```

### Evaluation Dataset

#### Unnamed Dataset


* Size: 2,302 evaluation samples
* Columns: <code>anchor</code> and <code>positive</code>
* Approximate statistics based on the first 1000 samples:
  |         | anchor                                                                             | positive                                                                             |
  |:--------|:-----------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
  | type    | string                                                                             | string                                                                               |
  | details | <ul><li>min: 10 tokens</li><li>mean: 21.73 tokens</li><li>max: 61 tokens</li></ul> | <ul><li>min: 16 tokens</li><li>mean: 239.59 tokens</li><li>max: 256 tokens</li></ul> |
* Samples:
  | anchor                                                                                                                                                                          | positive                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
  |:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
  | <code>The excerpt highlights the tension between Antony's loyalty to Cleopatra and his standing in Rome, showcasing the intricate balance of power and love in the play.</code> | <code>When shrill-tongu'd Fulvia scolds. The messengers!<br>  ANTONY. Let Rome in Tiber melt, and the wide arch    Of the rang'd empire fall! Here is my space.    Kingdoms are clay; our dungy earth alike    Feeds beast as man. The nobleness of life    Is to do thus [emhracing], when such a mutual pair    And such a twain can do't, in which I bind,    On pain of punishment, the world to weet    We stand up peerless.  CLEOPATRA. Excellent falsehood!    Why did he marry Fulvia, and not love her?    I'll seem the fool I am not. Antony    Will be himself.  ANTONY. But stirr'd by Cleopatra.    Now for the love of Love and her soft hours,    Let's not confound the time with conference harsh;      There's not a minute of our lives should stretch    Without some pleasure now. What sport to-night?  CLEOPATRA. Hear the ambassadors.  ANTONY. Fie, wrangling queen!    Whom everything becomes- to chide, to laugh,    To weep; whose every passion fully strives    To make itself in thee fair and admir'd.    No messenger but thine, and all alone    To-night we'll wander through the streets and note    The qualities of people. Come, my queen;    Last night you did desire it. Speak not to us.                     Exeunt ANTONY and CLEOPATRA, with the train  DEMETRIUS. Is Caesar with Antonius priz'd so slight?  PHILO. Sir, sometimes when he is not Antony,    He comes too short of that great property    Which still should go with Antony.  DEMETRIUS. I am full sorry    That he approves the common liar, who    Thus speaks of him at Rome; but I will hope<br>      Of better deeds to-morrow. Rest you happy!            Exeunt<br></code> |
  | <code>What is the significance of the soothsayer in the context of the play?</code>                                                                                             | <code>CHARMIAN. Lord Alexas, sweet Alexas, most anything Alexas, almost<br>    most absolute Alexas, where's the soothsayer that you prais'd so    to th' Queen? O that I knew this husband, which you say must    charge his horns with garlands!  ALEXAS. Soothsayer!  SOOTHSAYER. Your will?  CHARMIAN. Is this the man? Is't you, sir, that know things?  SOOTHSAYER. In nature's infinite book of secrecy    A little I can read.  ALEXAS. Show him your hand.<br>                       Enter ENOBARBUS  ENOBARBUS. Bring in the banquet quickly; wine enough<br>    Cleopatra's health to drink.  CHARMIAN. Good, sir, give me good fortune.  SOOTHSAYER. I make not, but foresee.    CHARMIAN. Pray, then, foresee me one.  SOOTHSAYER. You shall be yet far fairer than you are.  CHARMIAN. He means in flesh.  IRAS. No, you shall paint when you are old.  CHARMIAN. Wrinkles forbid!  ALEXAS. Vex not his prescience; be attentive.  CHARMIAN. Hush!<br>    SOOTHSAYER. You shall be more beloving than beloved.<br></code>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
  | <code>What is the setting of the scene in which the excerpt takes place?</code>                                                                                                 | <code>sweet Isis, I beseech thee! And let her die too, and give him a<br>    worse! And let worse follow worse, till the worst of all follow    him laughing to his grave, fiftyfold a cuckold! Good Isis, hear    me this prayer, though thou deny me a matter of more weight; good    Isis, I beseech thee!  IRAS. Amen. Dear goddess, hear that prayer of the people! For, as    it is a heartbreaking to see a handsome man loose-wiv'd, so it is    a deadly sorrow to behold a foul knave uncuckolded. Therefore,    dear Isis, keep decorum, and fortune him accordingly!  CHARMIAN. Amen.  ALEXAS. Lo now, if it lay in their hands to make me a cuckold, they    would make themselves whores but they'ld do't!<br>                          Enter CLEOPATRA  ENOBARBUS. Hush! Here comes Antony.<br>  CHARMIAN. Not he; the Queen.  CLEOPATRA. Saw you my lord?    ENOBARBUS. No, lady.  CLEOPATRA. Was he not here?  CHARMIAN. No, madam.  CLEOPATRA. He was dispos'd to mirth; but on the sudden    A Roman thought hath struck him. Enobarbus!  ENOBARBUS. Madam?  CLEOPATRA. Seek him, and bring him hither. Where's Alexas?  ALEXAS. Here, at your service. My lord approaches.<br>          Enter ANTONY, with a MESSENGER and attendants  CLEOPATRA. We will not look upon him. Go with us.<br>                       Exeunt CLEOPATRA, ENOBARBUS, and the rest  MESSENGER. Fulvia thy wife first came into the field.  ANTONY. Against my brother Lucius?  MESSENGER. Ay.<br>      But soon that war had end, and the time's state<br></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"
  }
  ```

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

- `eval_strategy`: epoch
- `per_device_train_batch_size`: 32
- `per_device_eval_batch_size`: 32
- `num_train_epochs`: 7
- `warmup_steps`: 50
- `fp16`: True
- `load_best_model_at_end`: True
- `batch_sampler`: no_duplicates

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

- `overwrite_output_dir`: False
- `do_predict`: False
- `eval_strategy`: epoch
- `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`: 7
- `max_steps`: -1
- `lr_scheduler_type`: linear
- `lr_scheduler_kwargs`: {}
- `warmup_ratio`: 0.0
- `warmup_steps`: 50
- `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
- `use_ipex`: 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`: True
- `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}
- `deepspeed`: None
- `label_smoothing_factor`: 0.0
- `optim`: adamw_torch
- `optim_args`: None
- `adafactor`: False
- `group_by_length`: False
- `length_column_name`: length
- `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`: False
- `hub_always_push`: False
- `gradient_checkpointing`: False
- `gradient_checkpointing_kwargs`: None
- `include_inputs_for_metrics`: False
- `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
- `dispatch_batches`: None
- `split_batches`: None
- `include_tokens_per_second`: False
- `include_num_input_tokens_seen`: False
- `neftune_noise_alpha`: None
- `optim_target_modules`: None
- `batch_eval_metrics`: False
- `eval_on_start`: False
- `eval_use_gather_object`: False
- `batch_sampler`: no_duplicates
- `multi_dataset_batch_sampler`: proportional

</details>

### Training Logs
| Epoch   | Step     | Training Loss | loss      | mini-dev_cosine_map@100 |
|:-------:|:--------:|:-------------:|:---------:|:-----------------------:|
| 1.0     | 324      | -             | 1.9598    | 0.3728                  |
| 1.5432  | 500      | 2.1523        | -         | -                       |
| 2.0     | 648      | -             | 1.8067    | 0.4023                  |
| 3.0     | 972      | -             | 1.7600    | 0.4144                  |
| 3.0864  | 1000     | 1.4271        | -         | -                       |
| **4.0** | **1296** | **-**         | **1.746** | **0.418**               |
| 4.6296  | 1500     | 0.9807        | -         | -                       |
| 5.0     | 1620     | -             | 1.7604    | 0.4146                  |
| 6.0     | 1944     | -             | 1.7558    | 0.4153                  |
| 6.1728  | 2000     | 0.7846        | -         | -                       |
| 7.0     | 2268     | -             | 1.7571    | 0.4180                  |

* The bold row denotes the saved checkpoint.

### Framework Versions
- Python: 3.10.12
- Sentence Transformers: 3.0.1
- Transformers: 4.43.4
- PyTorch: 2.3.1+cu121
- Accelerate: 0.32.1
- Datasets: 2.19.1
- Tokenizers: 0.19.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.*
-->