rjnClarke commited on
Commit
7a59995
1 Parent(s): c8ecb93

Add new SentenceTransformer model.

Browse files
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 768,
3
+ "pooling_mode_cls_token": false,
4
+ "pooling_mode_mean_tokens": true,
5
+ "pooling_mode_max_tokens": false,
6
+ "pooling_mode_mean_sqrt_len_tokens": false,
7
+ "pooling_mode_weightedmean_tokens": false,
8
+ "pooling_mode_lasttoken": false,
9
+ "include_prompt": true
10
+ }
README.md ADDED
@@ -0,0 +1,829 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: thenlper/gte-base
3
+ datasets: []
4
+ language:
5
+ - en
6
+ library_name: sentence-transformers
7
+ license: apache-2.0
8
+ metrics:
9
+ - cosine_accuracy@3
10
+ - cosine_precision@1
11
+ - cosine_precision@3
12
+ - cosine_precision@5
13
+ - cosine_precision@10
14
+ - cosine_recall@1
15
+ - cosine_recall@3
16
+ - cosine_recall@5
17
+ - cosine_recall@10
18
+ - cosine_ndcg@10
19
+ - cosine_mrr@200
20
+ - cosine_map@100
21
+ - dot_accuracy@3
22
+ - dot_precision@1
23
+ - dot_precision@3
24
+ - dot_precision@5
25
+ - dot_precision@10
26
+ - dot_recall@1
27
+ - dot_recall@3
28
+ - dot_recall@5
29
+ - dot_recall@10
30
+ - dot_ndcg@10
31
+ - dot_mrr@200
32
+ - dot_map@100
33
+ pipeline_tag: sentence-similarity
34
+ tags:
35
+ - sentence-transformers
36
+ - sentence-similarity
37
+ - feature-extraction
38
+ - generated_from_trainer
39
+ - dataset_size:10359
40
+ - loss:MultipleNegativesRankingLoss
41
+ widget:
42
+ - source_sentence: Cleopatra reacts to the news of Antony's death with a mixture of
43
+ sadness and resignation, contemplating her own mortality and the fickle nature
44
+ of life.
45
+ sentences:
46
+ - "Immortal longings in me. Now no more The juice of Egypt's grape shall moist\
47
+ \ this lip. Yare, yare, good Iras; quick. Methinks I hear Antony call. I\
48
+ \ see him rouse himself To praise my noble act. I hear him mock The luck\
49
+ \ of Caesar, which the gods give men To excuse their after wrath. Husband,\
50
+ \ I come. Now to that name my courage prove my title! I am fire and air;\
51
+ \ my other elements I give to baser life. So, have you done? Come then,\
52
+ \ and take the last warmth of my lips. Farewell, kind Charmian. Iras, long\
53
+ \ farewell. [Kisses them. IRAS falls and dies] \
54
+ \ Have I the aspic in my lips? Dost fall? If thus thou and nature can so gently\
55
+ \ part, The stroke of death is as a lover's pinch, Which hurts and is desir'd.\
56
+ \ Dost thou lie still? If thou vanishest, thou tell'st the world It is\
57
+ \ not worth leave-taking. CHARMIAN. Dissolve, thick cloud, and rain, that I may\
58
+ \ say The gods themselves do weep. CLEOPATRA. This proves me base.\n \
59
+ \ If she first meet the curled Antony,\n"
60
+ - "BURGUNDY. Warlike and martial Talbot, Burgundy\n Enshrines thee in his heart,\
61
+ \ and there erects Thy noble deeds as valour's monuments. TALBOT. Thanks,\
62
+ \ gentle Duke. But where is Pucelle now? I think her old familiar is asleep.\
63
+ \ Now where's the Bastard's braves, and Charles his gleeks? What, all amort?\
64
+ \ Rouen hangs her head for grief That such a valiant company are fled. Now\
65
+ \ will we take some order in the town, Placing therein some expert officers;\
66
+ \ And then depart to Paris to the King, For there young Henry with his nobles\
67
+ \ lie. BURGUNDY. What Lord Talbot pleaseth Burgundy. TALBOT. But yet, before\
68
+ \ we go, let's not forget The noble Duke of Bedford, late deceas'd, But\
69
+ \ see his exequies fulfill'd in Rouen. A braver soldier never couched lance,\
70
+ \ A gentler heart did never sway in court; But kings and mightiest potentates\
71
+ \ must die, For that's the end of human misery. Exeunt\n"
72
+ - "Your suffering in this dearth, you may as well\n Strike at the heaven with\
73
+ \ your staves as lift them Against the Roman state; whose course will on \
74
+ \ The way it takes, cracking ten thousand curbs Of more strong link asunder\
75
+ \ than can ever Appear in your impediment. For the dearth, The gods, not\
76
+ \ the patricians, make it, and Your knees to them, not arms, must help. Alack,\
77
+ \ You are transported by calamity Thither where more attends you; and you\
78
+ \ slander The helms o' th' state, who care for you like fathers, When you\
79
+ \ curse them as enemies. FIRST CITIZEN. Care for us! True, indeed! They ne'er\
80
+ \ car'd for us yet. Suffer us to famish, and their storehouses cramm'd with\
81
+ \ grain; make edicts for usury, to support usurers; repeal daily any wholesome\
82
+ \ act established against the rich, and provide more piercing statutes daily\
83
+ \ to chain up and restrain the poor. If the wars eat us not up, they will;\
84
+ \ and there's all the love they bear us. MENENIUS. Either you must Confess\
85
+ \ yourselves wondrous malicious, Or be accus'd of folly. I shall tell you \
86
+ \ A pretty tale. It may be you have heard it; But, since it serves my purpose,\
87
+ \ I will venture To stale't a little more. FIRST CITIZEN. Well, I'll hear\
88
+ \ it, sir; yet you must not think to fob off our disgrace with a tale. But,\
89
+ \ an't please you, deliver. MENENIUS. There was a time when all the body's members\
90
+ \ Rebell'd against the belly; thus accus'd it: That only like a gulf it\
91
+ \ did remain I' th' midst o' th' body, idle and unactive, Still cupboarding\
92
+ \ the viand, never bearing Like labour with the rest; where th' other instruments\
93
+ \ Did see and hear, devise, instruct, walk, feel,\n And, mutually participate,\
94
+ \ did minister\n"
95
+ - source_sentence: How does the excerpt reflect themes of loyalty and sacrifice in
96
+ the play?
97
+ sentences:
98
+ - "me a thousand marks in links and torches, walking with thee in\n the night\
99
+ \ betwixt tavern and tavern; but the sack that thou hast drunk me would have\
100
+ \ bought me lights as good cheap at the dearest chandler's in Europe. I have\
101
+ \ maintained that salamander of yours with fire any time this two-and-thirty\
102
+ \ years. God reward me for it! Bard. 'Sblood, I would my face were in your\
103
+ \ belly! Fal. God-a-mercy! so should I be sure to be heart-burn'd.\n \
104
+ \ Enter Hostess. How now, Dame Partlet the hen? Have you enquir'd\
105
+ \ yet who pick'd\n my pocket? Host. Why, Sir John, what do you think, Sir\
106
+ \ John? Do you think I keep thieves in my house? I have search'd, I have enquired,\
107
+ \ so has my husband, man by man, boy by boy, servant by servant. The tithe\
108
+ \ of a hair was never lost in my house before. Fal. Ye lie, hostess. Bardolph\
109
+ \ was shav'd and lost many a hair, and I'll be sworn my pocket was pick'd.\
110
+ \ Go to, you are a woman, go! Host. Who, I? No; I defy thee! God's light, I was\
111
+ \ never call'd so in mine own house before! Fal. Go to, I know you well enough.\
112
+ \ Host. No, Sir John; you do not know me, Sir John. I know you, Sir John.\
113
+ \ You owe me money, Sir John, and now you pick a quarrel to beguile me of\
114
+ \ it. I bought you a dozen of shirts to your back. Fal. Dowlas, filthy dowlas!\
115
+ \ I have given them away to bakers' wives; they have made bolters of them.\
116
+ \ Host. Now, as I am a true woman, holland of eight shillings an ell. You\
117
+ \ owe money here besides, Sir John, for your diet and by-drinkings, and money\
118
+ \ lent you, four-and-twenty pound. Fal. He had his part of it; let him pay. \
119
+ \ Host. He? Alas, he is poor; he hath nothing. Fal. How? Poor? Look upon his\
120
+ \ face. What call you rich? Let them coin his nose, let them coin his cheeks.\
121
+ \ I'll not pay a denier.\n What, will you make a younker of me? Shall I not\
122
+ \ take mine ease\n"
123
+ - "EDWARD. I wonder how our princely father scap'd,\n Or whether he be scap'd\
124
+ \ away or no From Clifford's and Northumberland's pursuit. Had he been ta'en,\
125
+ \ we should have heard the news; Had he been slain, we should have heard the\
126
+ \ news; Or had he scap'd, methinks we should have heard The happy tidings\
127
+ \ of his good escape. How fares my brother? Why is he so sad? RICHARD. I cannot\
128
+ \ joy until I be resolv'd Where our right valiant father is become. I saw\
129
+ \ him in the battle range about, And watch'd him how he singled Clifford forth.\
130
+ \ Methought he bore him in the thickest troop As doth a lion in a herd of\
131
+ \ neat;\n Or as a bear, encompass'd round with dogs,\n Who having pinch'd\
132
+ \ a few and made them cry, The rest stand all aloof and bark at him. So\
133
+ \ far'd our father with his enemies; So fled his enemies my warlike father.\
134
+ \ Methinks 'tis prize enough to be his son. See how the morning opes her\
135
+ \ golden gates And takes her farewell of the glorious sun. How well resembles\
136
+ \ it the prime of youth, Trimm'd like a younker prancing to his love! EDWARD.\
137
+ \ Dazzle mine eyes, or do I see three suns? RICHARD. Three glorious suns, each\
138
+ \ one a perfect sun; Not separated with the racking clouds, But sever'd\
139
+ \ in a pale clear-shining sky. See, see! they join, embrace, and seem to kiss,\
140
+ \ As if they vow'd some league inviolable. Now are they but one lamp, one\
141
+ \ light, one sun. In this the heaven figures some event. EDWARD. 'Tis wondrous\
142
+ \ strange, the like yet never heard of. I think it cites us, brother, to the\
143
+ \ field, That we, the sons of brave Plantagenet, Each one already blazing\
144
+ \ by our meeds, Should notwithstanding join our lights together And overshine\
145
+ \ the earth, as this the world. Whate'er it bodes, henceforward will I bear\
146
+ \ Upon my target three fair shining suns. RICHARD. Nay, bear three daughters-\
147
+ \ by your leave I speak it, You love the breeder better than the male.\n"
148
+ - "Forget that rarest treasure of your cheek,\n Exposing it- but, O, the harder\
149
+ \ heart! Alack, no remedy!- to the greedy touch Of common-kissing Titan,\
150
+ \ and forget Your laboursome and dainty trims wherein You made great Juno\
151
+ \ angry. IMOGEN. Nay, be brief; I see into thy end, and am almost A man\
152
+ \ already. PISANIO. First, make yourself but like one. Fore-thinking this,\
153
+ \ I have already fit- 'Tis in my cloak-bag- doublet, hat, hose, all That\
154
+ \ answer to them. Would you, in their serving, And with what imitation you\
155
+ \ can borrow From youth of such a season, fore noble Lucius Present yourself,\
156
+ \ desire his service, tell him Wherein you're happy- which will make him know\
157
+ \ If that his head have ear in music; doubtless With joy he will embrace\
158
+ \ you; for he's honourable, And, doubling that, most holy. Your means abroad-\
159
+ \ You have me, rich; and I will never fail Beginning nor supplyment. IMOGEN.\
160
+ \ Thou art all the comfort The gods will diet me with. Prithee away! There's\
161
+ \ more to be consider'd; but we'll even All that good time will give us. This\
162
+ \ attempt I am soldier to, and will abide it with A prince's courage. Away,\
163
+ \ I prithee. PISANIO. Well, madam, we must take a short farewell, Lest, being\
164
+ \ miss'd, I be suspected of Your carriage from the court. My noble mistress,\
165
+ \ Here is a box; I had it from the Queen. What's in't is precious. If you\
166
+ \ are sick at sea Or stomach-qualm'd at land, a dram of this\n Will drive\
167
+ \ away distemper. To some shade,\n And fit you to your manhood. May the gods\
168
+ \ Direct you to the best! IMOGEN. Amen. I thank thee. Exeunt\
169
+ \ severally\n"
170
+ - source_sentence: The excerpt showcases the emotional turmoil and sense of honor
171
+ that drives Brutus to take his own life in the face of defeat.
172
+ sentences:
173
+ - "Thou know'st that we two went to school together;\n Even for that our love\
174
+ \ of old, I prithee, Hold thou my sword-hilts, whilst I run on it. VOLUMNIUS.\
175
+ \ That's not an office for a friend, my lord. \
176
+ \ Alarum still. CLITUS. Fly, fly, my lord, there is no tarrying\
177
+ \ here. BRUTUS. Farewell to you, and you, and you, Volumnius. Strato, thou\
178
+ \ hast been all this while asleep; Farewell to thee too, Strato. Countrymen,\
179
+ \ My heart doth joy that yet in all my life I found no man but he was true\
180
+ \ to me. I shall have glory by this losing day, More than Octavius and Mark\
181
+ \ Antony By this vile conquest shall attain unto. So, fare you well at once,\
182
+ \ for Brutus' tongue Hath almost ended his life's history. Night hangs upon\
183
+ \ mine eyes, my bones would rest That have but labor'd to attain this hour.\
184
+ \ Alarum. Cry within, \"Fly, fly, fly!\" CLITUS. Fly,\
185
+ \ my lord, fly. BRUTUS. Hence! I will follow. Exeunt Clitus,\
186
+ \ Dardanius, and Volumnius. I prithee, Strato, stay thou by thy lord. Thou\
187
+ \ art a fellow of a good respect; Thy life hath had some smatch of honor in\
188
+ \ it. Hold then my sword, and turn away thy face, While I do run upon it.\
189
+ \ Wilt thou, Strato? STRATO. Give me your hand first. Fare you well, my lord.\
190
+ \ BRUTUS. Farewell, good Strato. Runs on his sword. Caesar,\
191
+ \ now be still; I kill'd not thee with half so good a will. Dies.\n\
192
+ \ Alarum. Retreat. Enter Octavius, Antony, Messala,\n Lucilius,\
193
+ \ and the Army.\n OCTAVIUS. What man is that?\n"
194
+ - "Elsinore. A room in the Castle.\nEnter King, Queen, Polonius, Ophelia, Rosencrantz,\
195
+ \ Guildenstern, and Lords. King. And can you by no drift of circumstance\n \
196
+ \ Get from him why he puts on this confusion, Grating so harshly all his days\
197
+ \ of quiet With turbulent and dangerous lunacy? Ros. He does confess he feels\
198
+ \ himself distracted, But from what cause he will by no means speak. Guil.\
199
+ \ Nor do we find him forward to be sounded, But with a crafty madness keeps\
200
+ \ aloof When we would bring him on to some confession Of his true state.\
201
+ \ Queen. Did he receive you well? Ros. Most like a gentleman. Guil. But with\
202
+ \ much forcing of his disposition. Ros. Niggard of question, but of our demands\
203
+ \ Most free in his reply. Queen. Did you assay him To any pastime? Ros.\
204
+ \ Madam, it so fell out that certain players\n We o'erraught on the way.\
205
+ \ Of these we told him,\n"
206
+ - "VII.\nThe French camp near Agincourt\nEnter the CONSTABLE OF FRANCE, the LORD\
207
+ \ RAMBURES, the DUKE OF ORLEANS,\nthe DAUPHIN, with others\n CONSTABLE. Tut!\
208
+ \ I have the best armour of the world.\n Would it were day! ORLEANS. You have\
209
+ \ an excellent armour; but let my horse have his due. CONSTABLE. It is the\
210
+ \ best horse of Europe. ORLEANS. Will it never be morning? DAUPHIN. My Lord\
211
+ \ of Orleans and my Lord High Constable, you talk of horse and armour? ORLEANS.\
212
+ \ You are as well provided of both as any prince in the world. DAUPHIN. What\
213
+ \ a long night is this! I will not change my horse with any that treads but\
214
+ \ on four pasterns. Ca, ha! he bounds from the earth as if his entrails were\
215
+ \ hairs; le cheval volant, the Pegasus, chez les narines de feu! When I bestride\
216
+ \ him I soar, I am a hawk. He trots the air; the earth sings when he touches\
217
+ \ it; the basest horn of his hoof is more musical than the pipe of Hermes.\
218
+ \ ORLEANS. He's of the colour of the nutmeg. DAUPHIN. And of the heat of the\
219
+ \ ginger. It is a beast for Perseus: he is pure air and fire; and the dull\
220
+ \ elements of earth and water never appear in him, but only in patient stillness\
221
+ \ while his rider mounts him; he is indeed a horse, and all other jades you\
222
+ \ may call beasts. CONSTABLE. Indeed, my lord, it is a most absolute and excellent\
223
+ \ horse.\n DAUPHIN. It is the prince of palfreys; his neigh is like the\n"
224
+ - source_sentence: What themes are present in the excerpt from the play?
225
+ sentences:
226
+ - "Enter TRAVERS NORTHUMBERLAND. Here comes my servant Travers, whom I sent\n \
227
+ \ On Tuesday last to listen after news. LORD BARDOLPH. My lord, I over-rode\
228
+ \ him on the way; And he is furnish'd with no certainties More than he haply\
229
+ \ may retail from me. NORTHUMBERLAND. Now, Travers, what good tidings comes with\
230
+ \ you? TRAVERS. My lord, Sir John Umfrevile turn'd me back With joyful tidings;\
231
+ \ and, being better hors'd, Out-rode me. After him came spurring hard A\
232
+ \ gentleman, almost forspent with speed, That stopp'd by me to breathe his\
233
+ \ bloodied horse. He ask'd the way to Chester; and of him I did demand what\
234
+ \ news from Shrewsbury. He told me that rebellion had bad luck, And that\
235
+ \ young Harry Percy's spur was cold. With that he gave his able horse the\
236
+ \ head And, bending forward, struck his armed heels\n Against the panting\
237
+ \ sides of his poor jade\n Up to the rowel-head; and starting so, He seem'd\
238
+ \ in running to devour the way, Staying no longer question. NORTHUMBERLAND.\
239
+ \ Ha! Again: Said he young Harry Percy's spur was cold? Of Hotspur, Coldspur?\
240
+ \ that rebellion Had met ill luck? LORD BARDOLPH. My lord, I'll tell you what:\
241
+ \ If my young lord your son have not the day, Upon mine honour, for a silken\
242
+ \ point I'll give my barony. Never talk of it. NORTHUMBERLAND. Why should\
243
+ \ that gentleman that rode by Travers Give then such instances of loss? LORD\
244
+ \ BARDOLPH. Who- he? He was some hilding fellow that had stol'n The horse\
245
+ \ he rode on and, upon my life, Spoke at a venture. Look, here comes more news.\
246
+ \ \n Enter Morton NORTHUMBERLAND. Yea, this man's brow,\
247
+ \ like to a title-leaf,\n"
248
+ - "ANTONY. Yet they are not join'd. Where yond pine does stand\n I shall discover\
249
+ \ all. I'll bring thee word Straight how 'tis like to go. \
250
+ \ Exit SCARUS. Swallows have built In Cleopatra's sails their nests.\
251
+ \ The augurers Say they know not, they cannot tell; look grimly, And dare\
252
+ \ not speak their knowledge. Antony Is valiant and dejected; and by starts\
253
+ \ His fretted fortunes give him hope and fear Of what he has and has not.\
254
+ \ [Alarum afar off, as at a sea-fight]\n \
255
+ \ Re-enter ANTONY ANTONY. All is lost!\n This foul Egyptian hath\
256
+ \ betrayed me. My fleet hath yielded to the foe, and yonder They cast\
257
+ \ their caps up and carouse together Like friends long lost. Triple-turn'd\
258
+ \ whore! 'tis thou\n Hast sold me to this novice; and my heart\n Makes\
259
+ \ only wars on thee. Bid them all fly; For when I am reveng'd upon my charm,\
260
+ \ I have done all. Bid them all fly; begone. Exit SCARUS O sun, thy\
261
+ \ uprise shall I see no more! Fortune and Antony part here; even here Do\
262
+ \ we shake hands. All come to this? The hearts That spaniel'd me at heels,\
263
+ \ to whom I gave Their wishes, do discandy, melt their sweets On blossoming\
264
+ \ Caesar; and this pine is bark'd That overtopp'd them all. Betray'd I am.\
265
+ \ O this false soul of Egypt! this grave charm- Whose eye beck'd forth my\
266
+ \ wars and call'd them home, Whose bosom was my crownet, my chief end- Like\
267
+ \ a right gypsy hath at fast and loose Beguil'd me to the very heart of loss.\
268
+ \ What, Eros, Eros! Enter CLEOPATRA\n Ah, thou spell!\
269
+ \ Avaunt!\n"
270
+ - "TALBOT. Saint George and victory! Fight, soldiers, fight.\n The Regent hath\
271
+ \ with Talbot broke his word And left us to the rage of France his sword. \
272
+ \ Where is John Talbot? Pause and take thy breath; I gave thee life and rescu'd\
273
+ \ thee from death. JOHN. O, twice my father, twice am I thy son! The life\
274
+ \ thou gav'st me first was lost and done Till with thy warlike sword, despite\
275
+ \ of fate, To my determin'd time thou gav'st new date. TALBOT. When from the\
276
+ \ Dauphin's crest thy sword struck fire, It warm'd thy father's heart with\
277
+ \ proud desire Of bold-fac'd victory. Then leaden age, Quicken'd with youthful\
278
+ \ spleen and warlike rage, Beat down Alencon, Orleans, Burgundy, And from\
279
+ \ the pride of Gallia rescued thee. The ireful bastard Orleans, that drew blood\
280
+ \ From thee, my boy, and had the maidenhood Of thy first fight, I soon encountered\
281
+ \ And, interchanging blows, I quickly shed Some of his bastard blood; and\
282
+ \ in disgrace\n Bespoke him thus: 'Contaminated, base,\n"
283
+ - source_sentence: What is the significance of the tennis balls in the excerpt from
284
+ the play?
285
+ sentences:
286
+ - "My fault is past. But, O, what form of prayer\n Can serve my turn? 'Forgive\
287
+ \ me my foul murther'? That cannot be; since I am still possess'd Of those\
288
+ \ effects for which I did the murther- My crown, mine own ambition, and my\
289
+ \ queen. May one be pardon'd and retain th' offence? In the corrupted currents\
290
+ \ of this world Offence's gilded hand may shove by justice, And oft 'tis\
291
+ \ seen the wicked prize itself Buys out the law; but 'tis not so above. \
292
+ \ There is no shuffling; there the action lies In his true nature, and we ourselves\
293
+ \ compell'd, Even to the teeth and forehead of our faults, To give in evidence.\
294
+ \ What then? What rests? Try what repentance can. What can it not? Yet what\
295
+ \ can it when one cannot repent? O wretched state! O bosom black as death!\
296
+ \ O limed soul, that, struggling to be free, Art more engag'd! Help, angels!\
297
+ \ Make assay. Bow, stubborn knees; and heart with strings of steel, Be\
298
+ \ soft as sinews of the new-born babe! All may be well. \
299
+ \ He kneels.\n Enter Hamlet. Ham. Now might\
300
+ \ I do it pat, now he is praying;\n And now I'll do't. And so he goes to heaven,\
301
+ \ And so am I reveng'd. That would be scann'd. A villain kills my father;\
302
+ \ and for that, I, his sole son, do this same villain send To heaven. \
303
+ \ Why, this is hire and salary, not revenge! He took my father grossly, full\
304
+ \ of bread, With all his crimes broad blown, as flush as May; And how his\
305
+ \ audit stands, who knows save heaven?\n But in our circumstance and course\
306
+ \ of thought,\n"
307
+ - "YORK. From Ireland thus comes York to claim his right\n And pluck the crown\
308
+ \ from feeble Henry's head: Ring bells aloud, burn bonfires clear and bright,\
309
+ \ To entertain great England's lawful king. Ah, sancta majestas! who would\
310
+ \ not buy thee dear? Let them obey that knows not how to rule; This hand\
311
+ \ was made to handle nought but gold. I cannot give due action to my words\
312
+ \ Except a sword or sceptre balance it.\n A sceptre shall it have, have\
313
+ \ I a soul\n On which I'll toss the flower-de-luce of France.\n \
314
+ \ Enter BUCKINGHAM [Aside] Whom have we here? Buckingham, to disturb\
315
+ \ me?\n The King hath sent him, sure: I must dissemble. BUCKINGHAM. York,\
316
+ \ if thou meanest well I greet thee well. YORK. Humphrey of Buckingham, I accept\
317
+ \ thy greeting. Art thou a messenger, or come of pleasure? BUCKINGHAM. A messenger\
318
+ \ from Henry, our dread liege, To know the reason of these arms in peace; \
319
+ \ Or why thou, being a subject as I am, Against thy oath and true allegiance\
320
+ \ sworn, Should raise so great a power without his leave, Or dare to bring\
321
+ \ thy force so near the court. YORK. [Aside] Scarce can I speak, my choler is\
322
+ \ so great. O, I could hew up rocks and fight with flint, I am so angry\
323
+ \ at these abject terms; And now, like Ajax Telamonius, On sheep or oxen\
324
+ \ could I spend my fury. I am far better born than is the King, More like\
325
+ \ a king, more kingly in my thoughts; But I must make fair weather yet awhile,\
326
+ \ Till Henry be more weak and I more strong.- Buckingham, I prithee, pardon\
327
+ \ me That I have given no answer all this while; My mind was troubled with\
328
+ \ deep melancholy. The cause why I have brought this army hither Is to\
329
+ \ remove proud Somerset from the King, Seditious to his Grace and to the state.\
330
+ \ BUCKINGHAM. That is too much presumption on thy part; But if thy arms be\
331
+ \ to no other end, The King hath yielded unto thy demand:\n The Duke of\
332
+ \ Somerset is in the Tower.\n"
333
+ - "Says that you savour too much of your youth,\n And bids you be advis'd there's\
334
+ \ nought in France That can be with a nimble galliard won; You cannot revel\
335
+ \ into dukedoms there. He therefore sends you, meeter for your spirit, This\
336
+ \ tun of treasure; and, in lieu of this, Desires you let the dukedoms that\
337
+ \ you claim Hear no more of you. This the Dauphin speaks. KING HENRY. What\
338
+ \ treasure, uncle? EXETER. Tennis-balls, my liege. KING HENRY. We are glad the\
339
+ \ Dauphin is so pleasant with us; His present and your pains we thank you for.\
340
+ \ When we have match'd our rackets to these balls, We will in France,\
341
+ \ by God's grace, play a set Shall strike his father's crown into the hazard.\
342
+ \ Tell him he hath made a match with such a wrangler That all the courts\
343
+ \ of France will be disturb'd With chaces. And we understand him well, How\
344
+ \ he comes o'er us with our wilder days, Not measuring what use we made of\
345
+ \ them. We never valu'd this poor seat of England; And therefore, living\
346
+ \ hence, did give ourself To barbarous licence; as 'tis ever common That\
347
+ \ men are merriest when they are from home. But tell the Dauphin I will keep\
348
+ \ my state, Be like a king, and show my sail of greatness, When I do rouse\
349
+ \ me in my throne of France; For that I have laid by my majesty And plodded\
350
+ \ like a man for working-days; But I will rise there with so full a glory \
351
+ \ That I will dazzle all the eyes of France, Yea, strike the Dauphin blind\
352
+ \ to look on us. And tell the pleasant Prince this mock of his Hath turn'd\
353
+ \ his balls to gun-stones, and his soul Shall stand sore charged for the wasteful\
354
+ \ vengeance\n That shall fly with them; for many a thousand widows\n"
355
+ model-index:
356
+ - name: RAG_general/rerank/models/thenlper-gte-base-ft
357
+ results:
358
+ - task:
359
+ type: information-retrieval
360
+ name: Information Retrieval
361
+ dataset:
362
+ name: context dev
363
+ type: context-dev
364
+ metrics:
365
+ - type: cosine_accuracy@3
366
+ value: 0.5095569070373588
367
+ name: Cosine Accuracy@3
368
+ - type: cosine_precision@1
369
+ value: 0.394874022589053
370
+ name: Cosine Precision@1
371
+ - type: cosine_precision@3
372
+ value: 0.16985230234578627
373
+ name: Cosine Precision@3
374
+ - type: cosine_precision@5
375
+ value: 0.11059947871416159
376
+ name: Cosine Precision@5
377
+ - type: cosine_precision@10
378
+ value: 0.060338835794960896
379
+ name: Cosine Precision@10
380
+ - type: cosine_recall@1
381
+ value: 0.394874022589053
382
+ name: Cosine Recall@1
383
+ - type: cosine_recall@3
384
+ value: 0.5095569070373588
385
+ name: Cosine Recall@3
386
+ - type: cosine_recall@5
387
+ value: 0.552997393570808
388
+ name: Cosine Recall@5
389
+ - type: cosine_recall@10
390
+ value: 0.603388357949609
391
+ name: Cosine Recall@10
392
+ - type: cosine_ndcg@10
393
+ value: 0.4969009218325175
394
+ name: Cosine Ndcg@10
395
+ - type: cosine_mrr@200
396
+ value: 0.46919455106379765
397
+ name: Cosine Mrr@200
398
+ - type: cosine_map@100
399
+ value: 0.4689011726803316
400
+ name: Cosine Map@100
401
+ - type: dot_accuracy@3
402
+ value: 0.5095569070373588
403
+ name: Dot Accuracy@3
404
+ - type: dot_precision@1
405
+ value: 0.394874022589053
406
+ name: Dot Precision@1
407
+ - type: dot_precision@3
408
+ value: 0.16985230234578627
409
+ name: Dot Precision@3
410
+ - type: dot_precision@5
411
+ value: 0.11059947871416159
412
+ name: Dot Precision@5
413
+ - type: dot_precision@10
414
+ value: 0.060338835794960896
415
+ name: Dot Precision@10
416
+ - type: dot_recall@1
417
+ value: 0.394874022589053
418
+ name: Dot Recall@1
419
+ - type: dot_recall@3
420
+ value: 0.5095569070373588
421
+ name: Dot Recall@3
422
+ - type: dot_recall@5
423
+ value: 0.552997393570808
424
+ name: Dot Recall@5
425
+ - type: dot_recall@10
426
+ value: 0.603388357949609
427
+ name: Dot Recall@10
428
+ - type: dot_ndcg@10
429
+ value: 0.4969009218325175
430
+ name: Dot Ndcg@10
431
+ - type: dot_mrr@200
432
+ value: 0.46919455106379765
433
+ name: Dot Mrr@200
434
+ - type: dot_map@100
435
+ value: 0.4689011726803316
436
+ name: Dot Map@100
437
+ ---
438
+
439
+ # RAG_general/rerank/models/thenlper-gte-base-ft
440
+
441
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [thenlper/gte-base](https://huggingface.co/thenlper/gte-base). It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
442
+
443
+ ## Model Details
444
+
445
+ ### Model Description
446
+ - **Model Type:** Sentence Transformer
447
+ - **Base model:** [thenlper/gte-base](https://huggingface.co/thenlper/gte-base) <!-- at revision 5e95d41db6721e7cbd5006e99c7508f0083223d6 -->
448
+ - **Maximum Sequence Length:** 512 tokens
449
+ - **Output Dimensionality:** 768 tokens
450
+ - **Similarity Function:** Cosine Similarity
451
+ <!-- - **Training Dataset:** Unknown -->
452
+ - **Language:** en
453
+ - **License:** apache-2.0
454
+
455
+ ### Model Sources
456
+
457
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
458
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
459
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
460
+
461
+ ### Full Model Architecture
462
+
463
+ ```
464
+ SentenceTransformer(
465
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
466
+ (1): Pooling({'word_embedding_dimension': 768, '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})
467
+ (2): Normalize()
468
+ )
469
+ ```
470
+
471
+ ## Usage
472
+
473
+ ### Direct Usage (Sentence Transformers)
474
+
475
+ First install the Sentence Transformers library:
476
+
477
+ ```bash
478
+ pip install -U sentence-transformers
479
+ ```
480
+
481
+ Then you can load this model and run inference.
482
+ ```python
483
+ from sentence_transformers import SentenceTransformer
484
+
485
+ # Download from the 🤗 Hub
486
+ model = SentenceTransformer("rjnClarke/thenlper-gte-base-fine-tuned")
487
+ # Run inference
488
+ sentences = [
489
+ 'What is the significance of the tennis balls in the excerpt from the play?',
490
+ "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",
491
+ "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",
492
+ ]
493
+ embeddings = model.encode(sentences)
494
+ print(embeddings.shape)
495
+ # [3, 768]
496
+
497
+ # Get the similarity scores for the embeddings
498
+ similarities = model.similarity(embeddings, embeddings)
499
+ print(similarities.shape)
500
+ # [3, 3]
501
+ ```
502
+
503
+ <!--
504
+ ### Direct Usage (Transformers)
505
+
506
+ <details><summary>Click to see the direct usage in Transformers</summary>
507
+
508
+ </details>
509
+ -->
510
+
511
+ <!--
512
+ ### Downstream Usage (Sentence Transformers)
513
+
514
+ You can finetune this model on your own dataset.
515
+
516
+ <details><summary>Click to expand</summary>
517
+
518
+ </details>
519
+ -->
520
+
521
+ <!--
522
+ ### Out-of-Scope Use
523
+
524
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
525
+ -->
526
+
527
+ ## Evaluation
528
+
529
+ ### Metrics
530
+
531
+ #### Information Retrieval
532
+ * Dataset: `context-dev`
533
+ * Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
534
+
535
+ | Metric | Value |
536
+ |:--------------------|:-----------|
537
+ | cosine_accuracy@3 | 0.5096 |
538
+ | cosine_precision@1 | 0.3949 |
539
+ | cosine_precision@3 | 0.1699 |
540
+ | cosine_precision@5 | 0.1106 |
541
+ | cosine_precision@10 | 0.0603 |
542
+ | cosine_recall@1 | 0.3949 |
543
+ | cosine_recall@3 | 0.5096 |
544
+ | cosine_recall@5 | 0.553 |
545
+ | cosine_recall@10 | 0.6034 |
546
+ | cosine_ndcg@10 | 0.4969 |
547
+ | cosine_mrr@200 | 0.4692 |
548
+ | **cosine_map@100** | **0.4689** |
549
+ | dot_accuracy@3 | 0.5096 |
550
+ | dot_precision@1 | 0.3949 |
551
+ | dot_precision@3 | 0.1699 |
552
+ | dot_precision@5 | 0.1106 |
553
+ | dot_precision@10 | 0.0603 |
554
+ | dot_recall@1 | 0.3949 |
555
+ | dot_recall@3 | 0.5096 |
556
+ | dot_recall@5 | 0.553 |
557
+ | dot_recall@10 | 0.6034 |
558
+ | dot_ndcg@10 | 0.4969 |
559
+ | dot_mrr@200 | 0.4692 |
560
+ | dot_map@100 | 0.4689 |
561
+
562
+ <!--
563
+ ## Bias, Risks and Limitations
564
+
565
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
566
+ -->
567
+
568
+ <!--
569
+ ### Recommendations
570
+
571
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
572
+ -->
573
+
574
+ ## Training Details
575
+
576
+ ### Training Dataset
577
+
578
+ #### Unnamed Dataset
579
+
580
+
581
+ * Size: 10,359 training samples
582
+ * Columns: <code>anchor</code> and <code>positive</code>
583
+ * Approximate statistics based on the first 1000 samples:
584
+ | | anchor | positive |
585
+ |:--------|:-----------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
586
+ | type | string | string |
587
+ | 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: 351.19 tokens</li><li>max: 512 tokens</li></ul> |
588
+ * Samples:
589
+ | anchor | positive |
590
+ |:---------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
591
+ | <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> |
592
+ | <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> |
593
+ | <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> |
594
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
595
+ ```json
596
+ {
597
+ "scale": 20.0,
598
+ "similarity_fct": "cos_sim"
599
+ }
600
+ ```
601
+
602
+ ### Evaluation Dataset
603
+
604
+ #### Unnamed Dataset
605
+
606
+
607
+ * Size: 2,302 evaluation samples
608
+ * Columns: <code>anchor</code> and <code>positive</code>
609
+ * Approximate statistics based on the first 1000 samples:
610
+ | | anchor | positive |
611
+ |:--------|:-----------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
612
+ | type | string | string |
613
+ | 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: 354.59 tokens</li><li>max: 512 tokens</li></ul> |
614
+ * Samples:
615
+ | anchor | positive |
616
+ |:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
617
+ | <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> |
618
+ | <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> |
619
+ | <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> |
620
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
621
+ ```json
622
+ {
623
+ "scale": 20.0,
624
+ "similarity_fct": "cos_sim"
625
+ }
626
+ ```
627
+
628
+ ### Training Hyperparameters
629
+ #### Non-Default Hyperparameters
630
+
631
+ - `eval_strategy`: epoch
632
+ - `per_device_train_batch_size`: 32
633
+ - `per_device_eval_batch_size`: 32
634
+ - `learning_rate`: 3e-05
635
+ - `num_train_epochs`: 7
636
+ - `warmup_steps`: 50
637
+ - `fp16`: True
638
+ - `load_best_model_at_end`: True
639
+ - `batch_sampler`: no_duplicates
640
+
641
+ #### All Hyperparameters
642
+ <details><summary>Click to expand</summary>
643
+
644
+ - `overwrite_output_dir`: False
645
+ - `do_predict`: False
646
+ - `eval_strategy`: epoch
647
+ - `prediction_loss_only`: True
648
+ - `per_device_train_batch_size`: 32
649
+ - `per_device_eval_batch_size`: 32
650
+ - `per_gpu_train_batch_size`: None
651
+ - `per_gpu_eval_batch_size`: None
652
+ - `gradient_accumulation_steps`: 1
653
+ - `eval_accumulation_steps`: None
654
+ - `torch_empty_cache_steps`: None
655
+ - `learning_rate`: 3e-05
656
+ - `weight_decay`: 0.0
657
+ - `adam_beta1`: 0.9
658
+ - `adam_beta2`: 0.999
659
+ - `adam_epsilon`: 1e-08
660
+ - `max_grad_norm`: 1.0
661
+ - `num_train_epochs`: 7
662
+ - `max_steps`: -1
663
+ - `lr_scheduler_type`: linear
664
+ - `lr_scheduler_kwargs`: {}
665
+ - `warmup_ratio`: 0.0
666
+ - `warmup_steps`: 50
667
+ - `log_level`: passive
668
+ - `log_level_replica`: warning
669
+ - `log_on_each_node`: True
670
+ - `logging_nan_inf_filter`: True
671
+ - `save_safetensors`: True
672
+ - `save_on_each_node`: False
673
+ - `save_only_model`: False
674
+ - `restore_callback_states_from_checkpoint`: False
675
+ - `no_cuda`: False
676
+ - `use_cpu`: False
677
+ - `use_mps_device`: False
678
+ - `seed`: 42
679
+ - `data_seed`: None
680
+ - `jit_mode_eval`: False
681
+ - `use_ipex`: False
682
+ - `bf16`: False
683
+ - `fp16`: True
684
+ - `fp16_opt_level`: O1
685
+ - `half_precision_backend`: auto
686
+ - `bf16_full_eval`: False
687
+ - `fp16_full_eval`: False
688
+ - `tf32`: None
689
+ - `local_rank`: 0
690
+ - `ddp_backend`: None
691
+ - `tpu_num_cores`: None
692
+ - `tpu_metrics_debug`: False
693
+ - `debug`: []
694
+ - `dataloader_drop_last`: False
695
+ - `dataloader_num_workers`: 0
696
+ - `dataloader_prefetch_factor`: None
697
+ - `past_index`: -1
698
+ - `disable_tqdm`: False
699
+ - `remove_unused_columns`: True
700
+ - `label_names`: None
701
+ - `load_best_model_at_end`: True
702
+ - `ignore_data_skip`: False
703
+ - `fsdp`: []
704
+ - `fsdp_min_num_params`: 0
705
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
706
+ - `fsdp_transformer_layer_cls_to_wrap`: None
707
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
708
+ - `deepspeed`: None
709
+ - `label_smoothing_factor`: 0.0
710
+ - `optim`: adamw_torch
711
+ - `optim_args`: None
712
+ - `adafactor`: False
713
+ - `group_by_length`: False
714
+ - `length_column_name`: length
715
+ - `ddp_find_unused_parameters`: None
716
+ - `ddp_bucket_cap_mb`: None
717
+ - `ddp_broadcast_buffers`: False
718
+ - `dataloader_pin_memory`: True
719
+ - `dataloader_persistent_workers`: False
720
+ - `skip_memory_metrics`: True
721
+ - `use_legacy_prediction_loop`: False
722
+ - `push_to_hub`: False
723
+ - `resume_from_checkpoint`: None
724
+ - `hub_model_id`: None
725
+ - `hub_strategy`: every_save
726
+ - `hub_private_repo`: False
727
+ - `hub_always_push`: False
728
+ - `gradient_checkpointing`: False
729
+ - `gradient_checkpointing_kwargs`: None
730
+ - `include_inputs_for_metrics`: False
731
+ - `eval_do_concat_batches`: True
732
+ - `fp16_backend`: auto
733
+ - `push_to_hub_model_id`: None
734
+ - `push_to_hub_organization`: None
735
+ - `mp_parameters`:
736
+ - `auto_find_batch_size`: False
737
+ - `full_determinism`: False
738
+ - `torchdynamo`: None
739
+ - `ray_scope`: last
740
+ - `ddp_timeout`: 1800
741
+ - `torch_compile`: False
742
+ - `torch_compile_backend`: None
743
+ - `torch_compile_mode`: None
744
+ - `dispatch_batches`: None
745
+ - `split_batches`: None
746
+ - `include_tokens_per_second`: False
747
+ - `include_num_input_tokens_seen`: False
748
+ - `neftune_noise_alpha`: None
749
+ - `optim_target_modules`: None
750
+ - `batch_eval_metrics`: False
751
+ - `eval_on_start`: False
752
+ - `eval_use_gather_object`: False
753
+ - `batch_sampler`: no_duplicates
754
+ - `multi_dataset_batch_sampler`: proportional
755
+
756
+ </details>
757
+
758
+ ### Training Logs
759
+ | Epoch | Step | Training Loss | loss | context-dev_cosine_map@100 |
760
+ |:-------:|:-------:|:-------------:|:----------:|:--------------------------:|
761
+ | 1.0 | 324 | - | 1.6708 | 0.4417 |
762
+ | 1.5432 | 500 | 1.9498 | - | - |
763
+ | 2.0 | 648 | - | 1.5636 | 0.4688 |
764
+ | **3.0** | **972** | **-** | **1.5743** | **0.4689** |
765
+ | 3.0864 | 1000 | 1.1069 | - | - |
766
+ | 4.0 | 1296 | - | 1.5924 | 0.4655 |
767
+ | 4.6296 | 1500 | 0.7121 | - | - |
768
+ | 5.0 | 1620 | - | 1.6213 | 0.4621 |
769
+ | 6.0 | 1944 | - | 1.6450 | 0.4603 |
770
+ | 6.1728 | 2000 | 0.5308 | - | - |
771
+ | 7.0 | 2268 | - | 1.6664 | 0.4689 |
772
+
773
+ * The bold row denotes the saved checkpoint.
774
+
775
+ ### Framework Versions
776
+ - Python: 3.10.12
777
+ - Sentence Transformers: 3.0.1
778
+ - Transformers: 4.43.4
779
+ - PyTorch: 2.3.1+cu121
780
+ - Accelerate: 0.32.1
781
+ - Datasets: 2.19.1
782
+ - Tokenizers: 0.19.1
783
+
784
+ ## Citation
785
+
786
+ ### BibTeX
787
+
788
+ #### Sentence Transformers
789
+ ```bibtex
790
+ @inproceedings{reimers-2019-sentence-bert,
791
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
792
+ author = "Reimers, Nils and Gurevych, Iryna",
793
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
794
+ month = "11",
795
+ year = "2019",
796
+ publisher = "Association for Computational Linguistics",
797
+ url = "https://arxiv.org/abs/1908.10084",
798
+ }
799
+ ```
800
+
801
+ #### MultipleNegativesRankingLoss
802
+ ```bibtex
803
+ @misc{henderson2017efficient,
804
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
805
+ 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},
806
+ year={2017},
807
+ eprint={1705.00652},
808
+ archivePrefix={arXiv},
809
+ primaryClass={cs.CL}
810
+ }
811
+ ```
812
+
813
+ <!--
814
+ ## Glossary
815
+
816
+ *Clearly define terms in order to be accessible across audiences.*
817
+ -->
818
+
819
+ <!--
820
+ ## Model Card Authors
821
+
822
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
823
+ -->
824
+
825
+ <!--
826
+ ## Model Card Contact
827
+
828
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
829
+ -->
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "RAG_general/rerank/models/thenlper-gte-base-ft",
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.43.4",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 30522
26
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.0.1",
4
+ "transformers": "4.43.4",
5
+ "pytorch": "2.3.1+cu121"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": null
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8756e3eb59700db688aae7fb720777b6d62e3643212effa594a70af52d22fda
3
+ size 437951328
modules.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.models.Transformer"
7
+ },
8
+ {
9
+ "idx": 1,
10
+ "name": "1",
11
+ "path": "1_Pooling",
12
+ "type": "sentence_transformers.models.Pooling"
13
+ },
14
+ {
15
+ "idx": 2,
16
+ "name": "2",
17
+ "path": "2_Normalize",
18
+ "type": "sentence_transformers.models.Normalize"
19
+ }
20
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 512,
3
+ "do_lower_case": false
4
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "max_length": 128,
49
+ "model_max_length": 512,
50
+ "pad_to_multiple_of": null,
51
+ "pad_token": "[PAD]",
52
+ "pad_token_type_id": 0,
53
+ "padding_side": "right",
54
+ "sep_token": "[SEP]",
55
+ "stride": 0,
56
+ "strip_accents": null,
57
+ "tokenize_chinese_chars": true,
58
+ "tokenizer_class": "BertTokenizer",
59
+ "truncation_side": "right",
60
+ "truncation_strategy": "longest_first",
61
+ "unk_token": "[UNK]"
62
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff