Add new SentenceTransformer model.
Browse files- .gitattributes +1 -0
- 1_Pooling/config.json +10 -0
- README.md +814 -0
- config.json +28 -0
- config_sentence_transformers.json +10 -0
- model.safetensors +3 -0
- modules.json +20 -0
- sentence_bert_config.json +4 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +3 -0
- tokenizer_config.json +55 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
1_Pooling/config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"word_embedding_dimension": 1024,
|
3 |
+
"pooling_mode_cls_token": true,
|
4 |
+
"pooling_mode_mean_tokens": false,
|
5 |
+
"pooling_mode_max_tokens": false,
|
6 |
+
"pooling_mode_mean_sqrt_len_tokens": false,
|
7 |
+
"pooling_mode_weightedmean_tokens": false,
|
8 |
+
"pooling_mode_lasttoken": false,
|
9 |
+
"include_prompt": true
|
10 |
+
}
|
README.md
ADDED
@@ -0,0 +1,814 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: BAAI/bge-m3
|
3 |
+
datasets: []
|
4 |
+
language: []
|
5 |
+
library_name: sentence-transformers
|
6 |
+
metrics:
|
7 |
+
- cosine_accuracy@1
|
8 |
+
- cosine_accuracy@3
|
9 |
+
- cosine_accuracy@5
|
10 |
+
- cosine_accuracy@10
|
11 |
+
- cosine_precision@1
|
12 |
+
- cosine_precision@3
|
13 |
+
- cosine_precision@5
|
14 |
+
- cosine_precision@10
|
15 |
+
- cosine_recall@1
|
16 |
+
- cosine_recall@3
|
17 |
+
- cosine_recall@5
|
18 |
+
- cosine_recall@10
|
19 |
+
- cosine_ndcg@10
|
20 |
+
- cosine_mrr@10
|
21 |
+
- cosine_map@100
|
22 |
+
- dot_accuracy@1
|
23 |
+
- dot_accuracy@3
|
24 |
+
- dot_accuracy@5
|
25 |
+
- dot_accuracy@10
|
26 |
+
- dot_precision@1
|
27 |
+
- dot_precision@3
|
28 |
+
- dot_precision@5
|
29 |
+
- dot_precision@10
|
30 |
+
- dot_recall@1
|
31 |
+
- dot_recall@3
|
32 |
+
- dot_recall@5
|
33 |
+
- dot_recall@10
|
34 |
+
- dot_ndcg@10
|
35 |
+
- dot_mrr@10
|
36 |
+
- dot_map@100
|
37 |
+
pipeline_tag: sentence-similarity
|
38 |
+
tags:
|
39 |
+
- sentence-transformers
|
40 |
+
- sentence-similarity
|
41 |
+
- feature-extraction
|
42 |
+
- generated_from_trainer
|
43 |
+
- dataset_size:10352
|
44 |
+
- loss:MultipleNegativesRankingLoss
|
45 |
+
widget:
|
46 |
+
- source_sentence: Othello requests for Desdemona to be brought to the Sagittary to
|
47 |
+
speak on his behalf in front of the Duke.
|
48 |
+
sentences:
|
49 |
+
- "Or with some dram conjured to this effect,\n He wrought upon her. DUKE. \
|
50 |
+
\ To vouch this is no proof, Without more certain and more\
|
51 |
+
\ overt test Than these thin habits and poor likelihoods Of modern seeming\
|
52 |
+
\ do prefer against him. FIRST SENATOR. But, Othello, speak. Did you by indirect\
|
53 |
+
\ and forced courses Subdue and poison this young maid's affections? Or\
|
54 |
+
\ came it by request, and such fair question As soul to soul affordeth? OTHELLO.\
|
55 |
+
\ I do beseech you, Send for the lady to the Sagittary,\
|
56 |
+
\ And let her speak of me before her father. If you do find me foul in her\
|
57 |
+
\ report, The trust, the office I do hold of you, Not only take away,\
|
58 |
+
\ but let your sentence Even fall upon my life. DUKE. \
|
59 |
+
\ Fetch Desdemona hither. OTHELLO. Ancient, conduct them; you best know the place.\
|
60 |
+
\ Exeunt Iago and Attendants. And\
|
61 |
+
\ till she come, as truly as to heaven I do confess the vices of my blood,\
|
62 |
+
\ So justly to your grave ears I'll present How I did thrive in this fair\
|
63 |
+
\ lady's love And she in mine. DUKE. Say it, Othello. OTHELLO. Her father\
|
64 |
+
\ loved me, oft invited me, Still question'd me the story of my life From\
|
65 |
+
\ year to year, the battles, sieges, fortunes, That I have pass'd. I ran\
|
66 |
+
\ it through, even from my boyish days To the very moment that he bade me tell\
|
67 |
+
\ it: Wherein I spake of most disastrous chances,\n Of moving accidents\
|
68 |
+
\ by flood and field,\n"
|
69 |
+
- "Enter Lodovico, Desdemona, and Attendants. LODOVICO. God save the worthy general!\n\
|
70 |
+
\ OTHELLO. With all my heart, sir. LODOVICO.\
|
71 |
+
\ The Duke and Senators of Venice greet you. \
|
72 |
+
\ Gives him a letter. OTHELLO. I kiss the instrument of their\
|
73 |
+
\ pleasures. Opens the letter, and reads.\
|
74 |
+
\ DESDEMONA. And what's the news, good cousin Lodovico? IAGO. I am very glad\
|
75 |
+
\ to see you, signior; Welcome to Cyprus. LODOVICO. I thank you. How does\
|
76 |
+
\ Lieutenant Cassio? IAGO. Lives, sir. DESDEMONA. Cousin, there's fall'n between\
|
77 |
+
\ him and my lord An unkind breech; but you shall make all well. OTHELLO.\
|
78 |
+
\ Are you sure of that? DESDEMONA. My lord? OTHELLO. [Reads.] \"This fail you\
|
79 |
+
\ not to do, as you will-\" LODOVICO. He did not call; he's busy in the paper.\
|
80 |
+
\ Is there division 'twixt my lord and Cassio? DESDEMONA. A most unhappy one.\
|
81 |
+
\ I would do much To atone them, for the love I bear to Cassio. OTHELLO. Fire\
|
82 |
+
\ and brimstone! DESDEMONA. My lord? OTHELLO. Are you wise? DESDEMONA. What,\
|
83 |
+
\ is he angry? LODOVICO. May be the letter moved him; \
|
84 |
+
\ For, as I think, they do command him home, Deputing Cassio in his government.\
|
85 |
+
\ DESDEMONA. By my troth, I am glad on't. OTHELLO. \
|
86 |
+
\ Indeed! DESDEMONA. My lord?\n \
|
87 |
+
\ OTHELLO. I am glad to see you mad.\n"
|
88 |
+
- "HORTENSIO. Would all the world but he had quite forsworn!\n For me, that I\
|
89 |
+
\ may surely keep mine oath, I will be married to a wealtlly widow Ere three\
|
90 |
+
\ days pass, which hath as long lov'd me As I have lov'd this proud disdainful\
|
91 |
+
\ haggard. And so farewell, Signior Lucentio. Kindness in women, not their\
|
92 |
+
\ beauteous looks, Shall win my love; and so I take my leave, In resolution\
|
93 |
+
\ as I swore before. Exit TRANIO. Mistress Bianca, bless\
|
94 |
+
\ you with such grace As 'longeth to a lover's blessed case! Nay, I have\
|
95 |
+
\ ta'en you napping, gentle love, And have forsworn you with Hortensio. BIANCA.\
|
96 |
+
\ Tranio, you jest; but have you both forsworn me? TRANIO. Mistress, we have.\
|
97 |
+
\ LUCENTIO. Then we are rid of Licio. TRANIO. I' faith, he'll have a lusty widow\
|
98 |
+
\ now, That shall be woo'd and wedded in a day. BIANCA. God give him joy!\
|
99 |
+
\ TRANIO. Ay, and he'll tame her. BIANCA. He says so, Tranio. TRANIO. Faith,\
|
100 |
+
\ he is gone unto the taming-school. BIANCA. The taming-school! What, is there\
|
101 |
+
\ such a place? TRANIO. Ay, mistress; and Petruchio is the master, That teacheth\
|
102 |
+
\ tricks eleven and twenty long, To tame a shrew and charm her chattering tongue.\n\
|
103 |
+
\ Enter BIONDELLO BIONDELLO. O master, master, have watch'd\
|
104 |
+
\ so long\n That I am dog-weary; but at last I spied An ancient angel coming\
|
105 |
+
\ down the hill Will serve the turn. TRANIO. What is he, Biondello? BIONDELLO.\
|
106 |
+
\ Master, a mercatante or a pedant,\n I know not what; but formal in apparel,\n\
|
107 |
+
\ In gait and countenance surely like a father. LUCENTIO. And what of him,\
|
108 |
+
\ Tranio? TRANIO. If he be credulous and trust my tale, I'll make him glad\
|
109 |
+
\ to seem Vincentio, And give assurance to Baptista Minola As if he were\
|
110 |
+
\ the right Vincentio. Take in your love, and then let me alone. \
|
111 |
+
\ Exeunt LUCENTIO and BIANCA\n \
|
112 |
+
\ Enter a PEDANT PEDANT. God save you, sir!\n"
|
113 |
+
- source_sentence: In "King Lear," characters are embroiled in a war, with shifting
|
114 |
+
loyalties and power struggles, leading to complex relationships and betrayals.
|
115 |
+
sentences:
|
116 |
+
- "III.\nA churchyard.\nEnter Claudio, Don Pedro, and three or four with tapers,\n\
|
117 |
+
[followed by Musicians].\n Claud. Is this the monument of Leonato?\n Lord. It\
|
118 |
+
\ is, my lord.\n Claud. [reads from a scroll]\n Epitaph.\
|
119 |
+
\ Done to death by slanderous tongues\n Was the Hero that here\
|
120 |
+
\ lies. Death, in guerdon of her wrongs, Gives her fame which\
|
121 |
+
\ never dies. So the life that died with shame Lives in death with\
|
122 |
+
\ glorious fame.\n Hang thou there upon the tomb,\n \
|
123 |
+
\ [Hangs up the scroll.] Praising her when I am dumb. \
|
124 |
+
\ Now, music, sound, and sing your solemn hymn.\n Song.\
|
125 |
+
\ Pardon, goddess of the night,\n Those that slew thy virgin knight;\
|
126 |
+
\ For the which, with songs of woe, Round about her tomb they go.\
|
127 |
+
\ Midnight, assist our moan, Help us to sigh and groan \
|
128 |
+
\ Heavily, heavily, Graves, yawn and yield your dead, Till death\
|
129 |
+
\ be uttered Heavily, heavily.\n Claud. Now unto thy bones good night!\n\
|
130 |
+
\ Yearly will I do this rite. Pedro. Good morrow, masters. Put your torches\
|
131 |
+
\ out. The wolves have prey'd, and look, the gentle day, Before the wheels\
|
132 |
+
\ of Phoebus, round about Dapples the drowsy east with spots of grey.\n \
|
133 |
+
\ Thanks to you all, and leave us. Fare you well.\n Claud. Good morrow, masters.\
|
134 |
+
\ Each his several way. Pedro. Come, let us hence and put on other weeds, \
|
135 |
+
\ And then to Leonato's we will go. Claud. And Hymen now with luckier issue speeds\
|
136 |
+
\ Than this for whom we rend'red up this woe. Exeunt.\n"
|
137 |
+
- "And fortune led you well. You have the captives Who were the opposites of\
|
138 |
+
\ this day's strife. We do require them of you, so to use them As we shall\
|
139 |
+
\ find their merits and our safety May equally determine. Edm. Sir, I thought\
|
140 |
+
\ it fit To send the old and miserable King To some retention and appointed\
|
141 |
+
\ guard; Whose age has charms in it, whose title more, To pluck the\
|
142 |
+
\ common bosom on his side And turn our impress'd lances in our eyes Which\
|
143 |
+
\ do command them. With him I sent the Queen, My reason all the same; and\
|
144 |
+
\ they are ready To-morrow, or at further space, t' appear Where you shall\
|
145 |
+
\ hold your session. At this time We sweat and bleed: the friend hath lost\
|
146 |
+
\ his friend; And the best quarrels, in the heat, are curs'd By those\
|
147 |
+
\ that feel their sharpness. The question of Cordelia and her father Requires\
|
148 |
+
\ a fitter place. Alb. Sir, by your patience, I hold you but a subject of\
|
149 |
+
\ this war, Not as a brother. Reg. That's as we list to grace him. Methinks\
|
150 |
+
\ our pleasure might have been demanded Ere you had spoke so far. He led our\
|
151 |
+
\ powers, Bore the commission of my place and person, The which immediacy\
|
152 |
+
\ may well stand up\n And call itself your brother.\n"
|
153 |
+
- "Her infinite cunning with her modern grace\n Subdu'd me to her rate. She got\
|
154 |
+
\ the ring; And I had that which any inferior might At market-price have\
|
155 |
+
\ bought. DIANA. I must be patient. You that have turn'd off a first so noble\
|
156 |
+
\ wife May justly diet me. I pray you yet- Since you lack virtue, I will\
|
157 |
+
\ lose a husband- Send for your ring, I will return it home, And give me\
|
158 |
+
\ mine again. BERTRAM. I have it not. KING. What ring was yours, I pray you?\
|
159 |
+
\ DIANA. Sir, much like The same upon your finger. KING. Know you this ring?\
|
160 |
+
\ This ring was his of late. DIANA. And this was it I gave him, being abed. \
|
161 |
+
\ KING. The story, then, goes false you threw it him Out of a casement. DIANA.\
|
162 |
+
\ I have spoke the truth.\n Enter PAROLLES\n BERTRAM.\
|
163 |
+
\ My lord, I do confess the ring was hers. KING. You boggle shrewdly; every feather\
|
164 |
+
\ starts you. Is this the man you speak of? DIANA. Ay, my lord. KING. Tell\
|
165 |
+
\ me, sirrah-but tell me true I charge you, Not fearing the displeasure of\
|
166 |
+
\ your master, Which, on your just proceeding, I'll keep off- By him and\
|
167 |
+
\ by this woman here what know you? PAROLLES. So please your Majesty, my master\
|
168 |
+
\ hath been an honourable gentleman; tricks he hath had in him, which gentlemen\
|
169 |
+
\ have. KING. Come, come, to th' purpose. Did he love this woman? PAROLLES.\
|
170 |
+
\ Faith, sir, he did love her; but how? KING. How, I pray you?\n PAROLLES.\
|
171 |
+
\ He did love her, sir, as a gentleman loves a woman.\n"
|
172 |
+
- source_sentence: King Edward expresses a desire for peace and reconciliation with
|
173 |
+
all those present, including Queen Elizabeth, Lord Rivers, and Dorset.
|
174 |
+
sentences:
|
175 |
+
- "But what is not.\n BANQUO. Look, how our partner's rapt. MACBETH. [Aside.]\
|
176 |
+
\ If chance will have me King, why, chance may crown me Without my stir.\
|
177 |
+
\ BANQUO. New honors come upon him, Like our strange garments, cleave not\
|
178 |
+
\ to their mould But with the aid of use. MACBETH. [Aside.] Come what come\
|
179 |
+
\ may, Time and the hour runs through the roughest day. BANQUO. Worthy Macbeth,\
|
180 |
+
\ we stay upon your leisure. MACBETH. Give me your favor; my dull brain was wrought\
|
181 |
+
\ With things forgotten. Kind gentlemen, your pains Are register'd where\
|
182 |
+
\ every day I turn The leaf to read them. Let us toward the King. Think\
|
183 |
+
\ upon what hath chanced, and at more time, The interim having weigh'd it,\
|
184 |
+
\ let us speak Our free hearts each to other. BANQUO. Very gladly. MACBETH.\
|
185 |
+
\ Till then, enough. Come, friends. Exeunt.\n"
|
186 |
+
- "Have aught committed that is hardly borne\n To any in this presence, I desire\
|
187 |
+
\ To reconcile me to his friendly peace: 'Tis death to me to be at enmity;\
|
188 |
+
\ I hate it, and desire all good men's love. First, madam, I entreat true\
|
189 |
+
\ peace of you, Which I will purchase with my duteous service; Of you, my\
|
190 |
+
\ noble cousin Buckingham, If ever any grudge were lodg'd between us; \
|
191 |
+
\ Of you, and you, Lord Rivers, and of Dorset, That all without desert have\
|
192 |
+
\ frown'd on me; Of you, Lord Woodville, and, Lord Scales, of you; Dukes,\
|
193 |
+
\ earls, lords, gentlemen-indeed, of all. I do not know that Englishman alive\
|
194 |
+
\ With whom my soul is any jot at odds More than the infant that is born\
|
195 |
+
\ to-night. I thank my God for my humility. QUEEN ELIZABETH. A holy day shall\
|
196 |
+
\ this be kept hereafter. I would to God all strifes were well compounded.\
|
197 |
+
\ My sovereign lord, I do beseech your Highness To take our brother Clarence\
|
198 |
+
\ to your grace. GLOUCESTER. Why, madam, have I off'red love for this, To\
|
199 |
+
\ be so flouted in this royal presence? Who knows not that the gentle Duke\
|
200 |
+
\ is dead? [They all start] \
|
201 |
+
\ You do him injury to scorn his corse. KING EDWARD. Who knows not he is dead!\
|
202 |
+
\ Who knows he is? QUEEN ELIZABETH. All-seeing heaven, what a world is this!\
|
203 |
+
\ BUCKINGHAM. Look I so pale, Lord Dorset, as the rest? DORSET. Ay, my good\
|
204 |
+
\ lord; and no man in the presence But his red colour hath forsook his cheeks.\
|
205 |
+
\ KING EDWARD. Is Clarence dead? The order was revers'd. GLOUCESTER. But he,\
|
206 |
+
\ poor man, by your first order died, And that a winged Mercury did bear;\n\
|
207 |
+
\ Some tardy cripple bare the countermand\n That came too lag to see him\
|
208 |
+
\ buried. God grant that some, less noble and less loyal, Nearer in bloody\
|
209 |
+
\ thoughts, an not in blood, Deserve not worse than wretched Clarence did,\
|
210 |
+
\ And yet go current from suspicion!\n"
|
211 |
+
- "OTHELLO. Amen to that, sweet powers!\n I cannot speak enough\
|
212 |
+
\ of this content; It stops me here; it is too much of joy. And this, and\
|
213 |
+
\ this, the greatest discords be Kisses her. That e'er our hearts\
|
214 |
+
\ shall make! IAGO. [Aside.] O, you are well tuned now! \
|
215 |
+
\ But I'll set down the pegs that make this music, As honest as I am. OTHELLO.\
|
216 |
+
\ Come, let us to the castle. News, friends: our wars are done,\
|
217 |
+
\ the Turks are drown'd. How does my old acquaintance of this isle? Honey,\
|
218 |
+
\ you shall be well desired in Cyprus; I have found great love amongst them.\
|
219 |
+
\ O my sweet, I prattle out of fashion, and I dote In mine own comforts.\
|
220 |
+
\ I prithee, good Iago, Go to the bay and disembark my coffers. Bring thou\
|
221 |
+
\ the master to the citadel; He is a good one, and his worthiness Does challenge\
|
222 |
+
\ much respect. Come, Desdemona, Once more well met at Cyprus. \
|
223 |
+
\ Exeunt all but Iago and Roderigo. IAGO. Do thou meet\
|
224 |
+
\ me presently at the harbor. Come hither. If thou be'st valiant- as they say\
|
225 |
+
\ base men being in love have then a nobility in their natures more than is\
|
226 |
+
\ native to them- list me. The lieutenant tonight watches on the court of guard.\
|
227 |
+
\ First, I must tell thee this: Desdemona is directly in love with him. RODERIGO.\
|
228 |
+
\ With him? Why, 'tis not possible. IAGO. Lay thy finger thus, and let thy soul\
|
229 |
+
\ be instructed. Mark me with what violence she first loved the Moor, but for\
|
230 |
+
\ bragging and telling her fantastical lies. And will she love him still\
|
231 |
+
\ for prating? Let not thy discreet heart think it. Her eye must be fed;\
|
232 |
+
\ and what delight shall she have to look on the devil? When the blood is made\
|
233 |
+
\ dull with the act of sport, there should be, again to inflame it and to give\
|
234 |
+
\ satiety a fresh appetite,\n loveliness in favor, sympathy in years, manners,\
|
235 |
+
\ and beauties-\n"
|
236 |
+
- source_sentence: How does the character in the excerpt feel about being dishonored
|
237 |
+
openly?
|
238 |
+
sentences:
|
239 |
+
- "Where the dead corpse of Bassianus lay;\n I wrote the letter that thy father\
|
240 |
+
\ found, And hid the gold within that letter mention'd, Confederate with\
|
241 |
+
\ the Queen and her two sons; And what not done, that thou hast cause to rue,\
|
242 |
+
\ Wherein I had no stroke of mischief in it? I play'd the cheater for thy\
|
243 |
+
\ father's hand, And, when I had it, drew myself apart And almost broke\
|
244 |
+
\ my heart with extreme laughter. I pried me through the crevice of a wall,\
|
245 |
+
\ When, for his hand, he had his two sons' heads; Beheld his tears, and\
|
246 |
+
\ laugh'd so heartily That both mine eyes were rainy like to his; And when\
|
247 |
+
\ I told the Empress of this sport, She swooned almost at my pleasing tale,\
|
248 |
+
\ And for my tidings gave me twenty kisses. GOTH. What, canst thou say all\
|
249 |
+
\ this and never blush? AARON. Ay, like a black dog, as the saying is. LUCIUS.\
|
250 |
+
\ Art thou not sorry for these heinous deeds? AARON. Ay, that I had not done\
|
251 |
+
\ a thousand more. Even now I curse the day- and yet, I think, Few come\
|
252 |
+
\ within the compass of my curse- Wherein I did not some notorious ill; \
|
253 |
+
\ As kill a man, or else devise his death; Ravish a maid, or plot the way to\
|
254 |
+
\ do it; Accuse some innocent, and forswear myself; Set deadly enmity between\
|
255 |
+
\ two friends; Make poor men's cattle break their necks; Set fire on barns\
|
256 |
+
\ and hay-stacks in the night, And bid the owners quench them with their tears.\
|
257 |
+
\ Oft have I digg'd up dead men from their graves, And set them upright\
|
258 |
+
\ at their dear friends' door Even when their sorrows almost was forgot, \
|
259 |
+
\ And on their skins, as on the bark of trees,\n Have with my knife carved\
|
260 |
+
\ in Roman letters\n"
|
261 |
+
- "MESSALA. Lo, yonder, and Titinius mourning it.\n BRUTUS. Titinius' face is\
|
262 |
+
\ upward.\n CATO. He is slain. BRUTUS. O Julius Caesar, thou art mighty yet!\
|
263 |
+
\ Thy spirit walks abroad, and turns our swords In our own proper entrails.\
|
264 |
+
\ Low alarums. CATO. Brave Titinius! Look whe'er he have\
|
265 |
+
\ not crown'd dead Cassius! BRUTUS. Are yet two Romans living such as these?\
|
266 |
+
\ The last of all the Romans, fare thee well! It is impossible that ever\
|
267 |
+
\ Rome Should breed thy fellow. Friends, I owe moe tears To this dead man\
|
268 |
+
\ than you shall see me pay. I shall find time, Cassius, I shall find time.\
|
269 |
+
\ Come therefore, and to Thasos send his body; His funerals shall not be\
|
270 |
+
\ in our camp, Lest it discomfort us. Lucilius, come, And come, young Cato;\
|
271 |
+
\ let us to the field. Labio and Flavio, set our battles on. 'Tis three\
|
272 |
+
\ o'clock, and Romans, yet ere night We shall try fortune in a second fight.\
|
273 |
+
\ Exeunt.\n"
|
274 |
+
- "TITUS. Prince Bassianus, leave to plead my deeds.\n 'Tis thou and those that\
|
275 |
+
\ have dishonoured me. Rome and the righteous heavens be my judge How I\
|
276 |
+
\ have lov'd and honoured Saturnine! TAMORA. My worthy lord, if ever Tamora \
|
277 |
+
\ Were gracious in those princely eyes of thine, Then hear me speak indifferently\
|
278 |
+
\ for all; And at my suit, sweet, pardon what is past. SATURNINUS. What, madam!\
|
279 |
+
\ be dishonoured openly, And basely put it up without revenge? TAMORA. Not\
|
280 |
+
\ so, my lord; the gods of Rome forfend I should be author to dishonour you!\
|
281 |
+
\ But on mine honour dare I undertake For good Lord Titus' innocence in\
|
282 |
+
\ all, Whose fury not dissembled speaks his griefs. Then at my suit look\
|
283 |
+
\ graciously on him; Lose not so noble a friend on vain suppose, Nor with\
|
284 |
+
\ sour looks afflict his gentle heart. [Aside to SATURNINUS] My lord, be rul'd\
|
285 |
+
\ by me, be won at last; Dissemble all your griefs and discontents. \
|
286 |
+
\ You are but newly planted in your throne; Lest, then, the people, and patricians\
|
287 |
+
\ too, Upon a just survey take Titus' part, And so supplant you for ingratitude,\
|
288 |
+
\ Which Rome reputes to be a heinous sin, Yield at entreats, and then\
|
289 |
+
\ let me alone: I'll find a day to massacre them all, And raze their faction\
|
290 |
+
\ and their family, The cruel father and his traitorous sons, To whom I\
|
291 |
+
\ sued for my dear son's life; And make them know what 'tis to let a queen\
|
292 |
+
\ Kneel in the streets and beg for grace in vain.- Come, come, sweet Emperor;\
|
293 |
+
\ come, Andronicus. Take up this good old man, and cheer the heart\n That\
|
294 |
+
\ dies in tempest of thy angry frown.\n"
|
295 |
+
- source_sentence: King Henry V is preparing for an expedition to France to seek revenge
|
296 |
+
on the Dauphin for mocking him, and he urges his lords to quickly gather resources
|
297 |
+
and support for the impending war.
|
298 |
+
sentences:
|
299 |
+
- "LEWIS. The sun of heaven, methought, was loath to set,\n But stay'd and made\
|
300 |
+
\ the western welkin blush, When English measure backward their own ground\
|
301 |
+
\ In faint retire. O, bravely came we off, When with a volley of our needless\
|
302 |
+
\ shot, After such bloody toil, we bid good night; And wound our tott'ring\
|
303 |
+
\ colours clearly up, Last in the field and almost lords of it!\n \
|
304 |
+
\ Enter a MESSENGER MESSENGER. Where is my prince, the Dauphin?\n LEWIS.\
|
305 |
+
\ Here; what news? MESSENGER. The Count Melun is slain; the English lords \
|
306 |
+
\ By his persuasion are again fall'n off, And your supply, which you have wish'd\
|
307 |
+
\ so long, Are cast away and sunk on Goodwin Sands. LEWIS. Ah, foul shrewd\
|
308 |
+
\ news! Beshrew thy very heart!\n I did not think to be so sad to-night\n\
|
309 |
+
\ As this hath made me. Who was he that said King John did fly an hour or\
|
310 |
+
\ two before The stumbling night did part our weary pow'rs? MESSENGER. Whoever\
|
311 |
+
\ spoke it, it is true, my lord. LEWIS. keep good quarter and good care to-night;\
|
312 |
+
\ The day shall not be up so soon as I To try the fair adventure of to-morrow.\
|
313 |
+
\ Exeunt\n"
|
314 |
+
- "And that great minds, of partial indulgence\n To their benumbed wills, resist\
|
315 |
+
\ the same; There is a law in each well-order'd nation To curb those raging\
|
316 |
+
\ appetites that are Most disobedient and refractory. If Helen, then, be\
|
317 |
+
\ wife to Sparta's king- As it is known she is-these moral laws Of nature\
|
318 |
+
\ and of nations speak aloud To have her back return'd. Thus to persist \
|
319 |
+
\ In doing wrong extenuates not wrong, But makes it much more heavy. Hector's\
|
320 |
+
\ opinion Is this, in way of truth. Yet, ne'er the less, My spritely brethren,\
|
321 |
+
\ I propend to you In resolution to keep Helen still; For 'tis a cause that\
|
322 |
+
\ hath no mean dependence Upon our joint and several dignities. TROILUS. Why,\
|
323 |
+
\ there you touch'd the life of our design. Were it not glory that we more\
|
324 |
+
\ affected Than the performance of our heaving spleens, I would not wish\
|
325 |
+
\ a drop of Troyan blood Spent more in her defence. But, worthy Hector, \
|
326 |
+
\ She is a theme of honour and renown, A spur to valiant and magnanimous deeds,\
|
327 |
+
\ Whose present courage may beat down our foes, And fame in time to come\
|
328 |
+
\ canonize us; For I presume brave Hector would not lose So rich advantage\
|
329 |
+
\ of a promis'd glory As smiles upon the forehead of this action For the\
|
330 |
+
\ wide world's revenue. HECTOR. I am yours, You valiant offspring of great\
|
331 |
+
\ Priamus. I have a roisting challenge sent amongst The dull and factious\
|
332 |
+
\ nobles of the Greeks Will strike amazement to their drowsy spirits. I\
|
333 |
+
\ was advertis'd their great general slept,\n Whilst emulation in the army\
|
334 |
+
\ crept.\n This, I presume, will wake him. Exeunt\n"
|
335 |
+
- "That shall fly with them; for many a thousand widows\n Shall this his mock\
|
336 |
+
\ mock of their dear husbands; Mock mothers from their sons, mock castles down;\
|
337 |
+
\ And some are yet ungotten and unborn That shall have cause to curse the\
|
338 |
+
\ Dauphin's scorn. But this lies all within the will of God, To whom I do\
|
339 |
+
\ appeal; and in whose name, Tell you the Dauphin, I am coming on, To venge\
|
340 |
+
\ me as I may and to put forth My rightful hand in a well-hallow'd cause. \
|
341 |
+
\ So get you hence in peace; and tell the Dauphin His jest will savour but\
|
342 |
+
\ of shallow wit, When thousands weep more than did laugh at it. Convey\
|
343 |
+
\ them with safe conduct. Fare you well. \
|
344 |
+
\ Exeunt AMBASSADORS EXETER. This was a merry message. KING HENRY. We\
|
345 |
+
\ hope to make the sender blush at it. Therefore, my lords, omit no happy hour\
|
346 |
+
\ That may give furth'rance to our expedition; For we have now no thought\
|
347 |
+
\ in us but France, Save those to God, that run before our business. Therefore\
|
348 |
+
\ let our proportions for these wars Be soon collected, and all things thought\
|
349 |
+
\ upon That may with reasonable swiftness ad More feathers to our wings;\
|
350 |
+
\ for, God before, We'll chide this Dauphin at his father's door. Therefore\
|
351 |
+
\ let every man now task his thought That this fair action may on foot be brought.\
|
352 |
+
\ Exeunt\n"
|
353 |
+
model-index:
|
354 |
+
- name: SentenceTransformer based on BAAI/bge-m3
|
355 |
+
results:
|
356 |
+
- task:
|
357 |
+
type: information-retrieval
|
358 |
+
name: Information Retrieval
|
359 |
+
dataset:
|
360 |
+
name: Unknown
|
361 |
+
type: unknown
|
362 |
+
metrics:
|
363 |
+
- type: cosine_accuracy@1
|
364 |
+
value: 0.3822762814943527
|
365 |
+
name: Cosine Accuracy@1
|
366 |
+
- type: cosine_accuracy@3
|
367 |
+
value: 0.5234578627280626
|
368 |
+
name: Cosine Accuracy@3
|
369 |
+
- type: cosine_accuracy@5
|
370 |
+
value: 0.5825369244135534
|
371 |
+
name: Cosine Accuracy@5
|
372 |
+
- type: cosine_accuracy@10
|
373 |
+
value: 0.656385751520417
|
374 |
+
name: Cosine Accuracy@10
|
375 |
+
- type: cosine_precision@1
|
376 |
+
value: 0.3822762814943527
|
377 |
+
name: Cosine Precision@1
|
378 |
+
- type: cosine_precision@3
|
379 |
+
value: 0.1744859542426875
|
380 |
+
name: Cosine Precision@3
|
381 |
+
- type: cosine_precision@5
|
382 |
+
value: 0.11650738488271069
|
383 |
+
name: Cosine Precision@5
|
384 |
+
- type: cosine_precision@10
|
385 |
+
value: 0.06563857515204169
|
386 |
+
name: Cosine Precision@10
|
387 |
+
- type: cosine_recall@1
|
388 |
+
value: 0.3822762814943527
|
389 |
+
name: Cosine Recall@1
|
390 |
+
- type: cosine_recall@3
|
391 |
+
value: 0.5234578627280626
|
392 |
+
name: Cosine Recall@3
|
393 |
+
- type: cosine_recall@5
|
394 |
+
value: 0.5825369244135534
|
395 |
+
name: Cosine Recall@5
|
396 |
+
- type: cosine_recall@10
|
397 |
+
value: 0.656385751520417
|
398 |
+
name: Cosine Recall@10
|
399 |
+
- type: cosine_ndcg@10
|
400 |
+
value: 0.5142429769745347
|
401 |
+
name: Cosine Ndcg@10
|
402 |
+
- type: cosine_mrr@10
|
403 |
+
value: 0.46940583067863767
|
404 |
+
name: Cosine Mrr@10
|
405 |
+
- type: cosine_map@100
|
406 |
+
value: 0.4766478781892753
|
407 |
+
name: Cosine Map@100
|
408 |
+
- type: dot_accuracy@1
|
409 |
+
value: 0.3822762814943527
|
410 |
+
name: Dot Accuracy@1
|
411 |
+
- type: dot_accuracy@3
|
412 |
+
value: 0.5234578627280626
|
413 |
+
name: Dot Accuracy@3
|
414 |
+
- type: dot_accuracy@5
|
415 |
+
value: 0.5825369244135534
|
416 |
+
name: Dot Accuracy@5
|
417 |
+
- type: dot_accuracy@10
|
418 |
+
value: 0.656385751520417
|
419 |
+
name: Dot Accuracy@10
|
420 |
+
- type: dot_precision@1
|
421 |
+
value: 0.3822762814943527
|
422 |
+
name: Dot Precision@1
|
423 |
+
- type: dot_precision@3
|
424 |
+
value: 0.1744859542426875
|
425 |
+
name: Dot Precision@3
|
426 |
+
- type: dot_precision@5
|
427 |
+
value: 0.11650738488271069
|
428 |
+
name: Dot Precision@5
|
429 |
+
- type: dot_precision@10
|
430 |
+
value: 0.06563857515204169
|
431 |
+
name: Dot Precision@10
|
432 |
+
- type: dot_recall@1
|
433 |
+
value: 0.3822762814943527
|
434 |
+
name: Dot Recall@1
|
435 |
+
- type: dot_recall@3
|
436 |
+
value: 0.5234578627280626
|
437 |
+
name: Dot Recall@3
|
438 |
+
- type: dot_recall@5
|
439 |
+
value: 0.5825369244135534
|
440 |
+
name: Dot Recall@5
|
441 |
+
- type: dot_recall@10
|
442 |
+
value: 0.656385751520417
|
443 |
+
name: Dot Recall@10
|
444 |
+
- type: dot_ndcg@10
|
445 |
+
value: 0.5142429769745347
|
446 |
+
name: Dot Ndcg@10
|
447 |
+
- type: dot_mrr@10
|
448 |
+
value: 0.46940583067863767
|
449 |
+
name: Dot Mrr@10
|
450 |
+
- type: dot_map@100
|
451 |
+
value: 0.4766478781892753
|
452 |
+
name: Dot Map@100
|
453 |
+
---
|
454 |
+
|
455 |
+
# SentenceTransformer based on BAAI/bge-m3
|
456 |
+
|
457 |
+
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [BAAI/bge-m3](https://huggingface.co/BAAI/bge-m3). It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
|
458 |
+
|
459 |
+
## Model Details
|
460 |
+
|
461 |
+
### Model Description
|
462 |
+
- **Model Type:** Sentence Transformer
|
463 |
+
- **Base model:** [BAAI/bge-m3](https://huggingface.co/BAAI/bge-m3) <!-- at revision 5617a9f61b028005a4858fdac845db406aefb181 -->
|
464 |
+
- **Maximum Sequence Length:** 8192 tokens
|
465 |
+
- **Output Dimensionality:** 1024 tokens
|
466 |
+
- **Similarity Function:** Cosine Similarity
|
467 |
+
<!-- - **Training Dataset:** Unknown -->
|
468 |
+
<!-- - **Language:** Unknown -->
|
469 |
+
<!-- - **License:** Unknown -->
|
470 |
+
|
471 |
+
### Model Sources
|
472 |
+
|
473 |
+
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
|
474 |
+
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
|
475 |
+
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
|
476 |
+
|
477 |
+
### Full Model Architecture
|
478 |
+
|
479 |
+
```
|
480 |
+
SentenceTransformer(
|
481 |
+
(0): Transformer({'max_seq_length': 8192, 'do_lower_case': False}) with Transformer model: XLMRobertaModel
|
482 |
+
(1): Pooling({'word_embedding_dimension': 1024, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
|
483 |
+
(2): Normalize()
|
484 |
+
)
|
485 |
+
```
|
486 |
+
|
487 |
+
## Usage
|
488 |
+
|
489 |
+
### Direct Usage (Sentence Transformers)
|
490 |
+
|
491 |
+
First install the Sentence Transformers library:
|
492 |
+
|
493 |
+
```bash
|
494 |
+
pip install -U sentence-transformers
|
495 |
+
```
|
496 |
+
|
497 |
+
Then you can load this model and run inference.
|
498 |
+
```python
|
499 |
+
from sentence_transformers import SentenceTransformer
|
500 |
+
|
501 |
+
# Download from the 🤗 Hub
|
502 |
+
model = SentenceTransformer("rjnClarke/bgem3-shakespeare_st_3")
|
503 |
+
# Run inference
|
504 |
+
sentences = [
|
505 |
+
'King Henry V is preparing for an expedition to France to seek revenge on the Dauphin for mocking him, and he urges his lords to quickly gather resources and support for the impending war.',
|
506 |
+
"That shall fly with them; for many a thousand widows\n Shall this his mock mock of their dear husbands; Mock mothers from their sons, mock castles down; And some are yet ungotten and unborn That shall have cause to curse the Dauphin's scorn. But this lies all within the will of God, To whom I do appeal; and in whose name, Tell you the Dauphin, I am coming on, To venge me as I may and to put forth My rightful hand in a well-hallow'd cause. So get you hence in peace; and tell the Dauphin His jest will savour but of shallow wit, When thousands weep more than did laugh at it. Convey them with safe conduct. Fare you well. Exeunt AMBASSADORS EXETER. This was a merry message. KING HENRY. We hope to make the sender blush at it. Therefore, my lords, omit no happy hour That may give furth'rance to our expedition; For we have now no thought in us but France, Save those to God, that run before our business. Therefore let our proportions for these wars Be soon collected, and all things thought upon That may with reasonable swiftness ad More feathers to our wings; for, God before, We'll chide this Dauphin at his father's door. Therefore let every man now task his thought That this fair action may on foot be brought. Exeunt\n",
|
507 |
+
"And that great minds, of partial indulgence\n To their benumbed wills, resist the same; There is a law in each well-order'd nation To curb those raging appetites that are Most disobedient and refractory. If Helen, then, be wife to Sparta's king- As it is known she is-these moral laws Of nature and of nations speak aloud To have her back return'd. Thus to persist In doing wrong extenuates not wrong, But makes it much more heavy. Hector's opinion Is this, in way of truth. Yet, ne'er the less, My spritely brethren, I propend to you In resolution to keep Helen still; For 'tis a cause that hath no mean dependence Upon our joint and several dignities. TROILUS. Why, there you touch'd the life of our design. Were it not glory that we more affected Than the performance of our heaving spleens, I would not wish a drop of Troyan blood Spent more in her defence. But, worthy Hector, She is a theme of honour and renown, A spur to valiant and magnanimous deeds, Whose present courage may beat down our foes, And fame in time to come canonize us; For I presume brave Hector would not lose So rich advantage of a promis'd glory As smiles upon the forehead of this action For the wide world's revenue. HECTOR. I am yours, You valiant offspring of great Priamus. I have a roisting challenge sent amongst The dull and factious nobles of the Greeks Will strike amazement to their drowsy spirits. I was advertis'd their great general slept,\n Whilst emulation in the army crept.\n This, I presume, will wake him. Exeunt\n",
|
508 |
+
]
|
509 |
+
embeddings = model.encode(sentences)
|
510 |
+
print(embeddings.shape)
|
511 |
+
# [3, 1024]
|
512 |
+
|
513 |
+
# Get the similarity scores for the embeddings
|
514 |
+
similarities = model.similarity(embeddings, embeddings)
|
515 |
+
print(similarities.shape)
|
516 |
+
# [3, 3]
|
517 |
+
```
|
518 |
+
|
519 |
+
<!--
|
520 |
+
### Direct Usage (Transformers)
|
521 |
+
|
522 |
+
<details><summary>Click to see the direct usage in Transformers</summary>
|
523 |
+
|
524 |
+
</details>
|
525 |
+
-->
|
526 |
+
|
527 |
+
<!--
|
528 |
+
### Downstream Usage (Sentence Transformers)
|
529 |
+
|
530 |
+
You can finetune this model on your own dataset.
|
531 |
+
|
532 |
+
<details><summary>Click to expand</summary>
|
533 |
+
|
534 |
+
</details>
|
535 |
+
-->
|
536 |
+
|
537 |
+
<!--
|
538 |
+
### Out-of-Scope Use
|
539 |
+
|
540 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
541 |
+
-->
|
542 |
+
|
543 |
+
## Evaluation
|
544 |
+
|
545 |
+
### Metrics
|
546 |
+
|
547 |
+
#### Information Retrieval
|
548 |
+
|
549 |
+
* Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
|
550 |
+
|
551 |
+
| Metric | Value |
|
552 |
+
|:--------------------|:-----------|
|
553 |
+
| cosine_accuracy@1 | 0.3823 |
|
554 |
+
| cosine_accuracy@3 | 0.5235 |
|
555 |
+
| cosine_accuracy@5 | 0.5825 |
|
556 |
+
| cosine_accuracy@10 | 0.6564 |
|
557 |
+
| cosine_precision@1 | 0.3823 |
|
558 |
+
| cosine_precision@3 | 0.1745 |
|
559 |
+
| cosine_precision@5 | 0.1165 |
|
560 |
+
| cosine_precision@10 | 0.0656 |
|
561 |
+
| cosine_recall@1 | 0.3823 |
|
562 |
+
| cosine_recall@3 | 0.5235 |
|
563 |
+
| cosine_recall@5 | 0.5825 |
|
564 |
+
| cosine_recall@10 | 0.6564 |
|
565 |
+
| cosine_ndcg@10 | 0.5142 |
|
566 |
+
| cosine_mrr@10 | 0.4694 |
|
567 |
+
| **cosine_map@100** | **0.4766** |
|
568 |
+
| dot_accuracy@1 | 0.3823 |
|
569 |
+
| dot_accuracy@3 | 0.5235 |
|
570 |
+
| dot_accuracy@5 | 0.5825 |
|
571 |
+
| dot_accuracy@10 | 0.6564 |
|
572 |
+
| dot_precision@1 | 0.3823 |
|
573 |
+
| dot_precision@3 | 0.1745 |
|
574 |
+
| dot_precision@5 | 0.1165 |
|
575 |
+
| dot_precision@10 | 0.0656 |
|
576 |
+
| dot_recall@1 | 0.3823 |
|
577 |
+
| dot_recall@3 | 0.5235 |
|
578 |
+
| dot_recall@5 | 0.5825 |
|
579 |
+
| dot_recall@10 | 0.6564 |
|
580 |
+
| dot_ndcg@10 | 0.5142 |
|
581 |
+
| dot_mrr@10 | 0.4694 |
|
582 |
+
| dot_map@100 | 0.4766 |
|
583 |
+
|
584 |
+
<!--
|
585 |
+
## Bias, Risks and Limitations
|
586 |
+
|
587 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
588 |
+
-->
|
589 |
+
|
590 |
+
<!--
|
591 |
+
### Recommendations
|
592 |
+
|
593 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
594 |
+
-->
|
595 |
+
|
596 |
+
## Training Details
|
597 |
+
|
598 |
+
### Training Dataset
|
599 |
+
|
600 |
+
#### Unnamed Dataset
|
601 |
+
|
602 |
+
|
603 |
+
* Size: 10,352 training samples
|
604 |
+
* Columns: <code>sentence_0</code> and <code>sentence_1</code>
|
605 |
+
* Approximate statistics based on the first 1000 samples:
|
606 |
+
| | sentence_0 | sentence_1 |
|
607 |
+
|:--------|:-----------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
|
608 |
+
| type | string | string |
|
609 |
+
| details | <ul><li>min: 10 tokens</li><li>mean: 26.13 tokens</li><li>max: 71 tokens</li></ul> | <ul><li>min: 19 tokens</li><li>mean: 408.21 tokens</li><li>max: 610 tokens</li></ul> |
|
610 |
+
* Samples:
|
611 |
+
| sentence_0 | sentence_1 |
|
612 |
+
|:---------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
613 |
+
| <code>Who is trying to convince Coriolanus to have mercy on Rome and its citizens?</code> | <code>Enter CORIOLANUS with AUFIDIUS CORIOLANUS. What's the matter?<br> MENENIUS. Now, you companion, I'll say an errand for you; you shall know now that I am in estimation; you shall perceive that a Jack guardant cannot office me from my son Coriolanus. Guess but by my entertainment with him if thou stand'st not i' th' state of hanging, or of some death more long in spectatorship and crueller in suffering; behold now presently, and swoon for what's to come upon thee. The glorious gods sit in hourly synod about thy particular prosperity, and love thee no worse than thy old father Menenius does! O my son! my son! thou art preparing fire for us; look thee, here's water to quench it. I was hardly moved to come to thee; but being assured none but myself could move thee, I have been blown out of your gates with sighs, and conjure thee to pardon Rome and thy petitionary countrymen. The good gods assuage thy wrath, and turn the dregs of it upon this varlet here; this, who, like a block, hath denied my access to thee. CORIOLANUS. Away! MENENIUS. How! away! CORIOLANUS. Wife, mother, child, I know not. My affairs Are servanted to others. Though I owe My revenge properly, my remission lies In Volscian breasts. That we have been familiar, Ingrate forgetfulness shall poison rather Than pity note how much. Therefore be gone. Mine ears against your suits are stronger than Your gates against my force. Yet, for I lov'd thee, Take this along; I writ it for thy sake [Gives a letter] And would have sent it. Another word, Menenius,<br> I will not hear thee speak. This man, Aufidius,<br></code> |
|
614 |
+
| <code>The English nobility receive sad tidings of losses in France and the need for action.</code> | <code>Sad tidings bring I to you out of France,<br> Of loss, of slaughter, and discomfiture: Guienne, Champagne, Rheims, Orleans, Paris, Guysors, Poictiers, are all quite lost. BEDFORD. What say'st thou, man, before dead Henry's corse? Speak softly, or the loss of those great towns Will make him burst his lead and rise from death. GLOUCESTER. Is Paris lost? Is Rouen yielded up? If Henry were recall'd to life again, These news would cause him once more yield the ghost. EXETER. How were they lost? What treachery was us'd? MESSENGER. No treachery, but want of men and money. Amongst the soldiers this is muttered That here you maintain several factions; And whilst a field should be dispatch'd and fought, You are disputing of your generals: One would have ling'ring wars, with little cost; Another would fly swift, but wanteth wings; A third thinks, without expense at all, By guileful fair words peace may be obtain'd. Awake, awake, English nobility! Let not sloth dim your honours, new-begot. Cropp'd are the flower-de-luces in your arms; Of England's coat one half is cut away. EXETER. Were our tears wanting to this funeral, These tidings would call forth their flowing tides. BEDFORD. Me they concern; Regent I am of France. Give me my steeled coat; I'll fight for France. Away with these disgraceful wailing robes! Wounds will I lend the French instead of eyes, To weep their intermissive miseries.<br> Enter a second MESSENGER SECOND MESSENGER. Lords, view these letters full of bad<br> mischance.<br></code> |
|
615 |
+
| <code>What are the main locations where the characters are headed for battle?</code> | <code>I may dispose of him.<br> King. With all my heart. Prince. Then brother John of Lancaster, to you This honourable bounty shall belong. Go to the Douglas and deliver him Up to his pleasure, ransomless and free. His valour shown upon our crests today Hath taught us how to cherish such high deeds, Even in the bosom of our adversaries. John. I thank your Grace for this high courtesy, Which I shall give away immediately. King. Then this remains, that we divide our power. You, son John, and my cousin Westmoreland, Towards York shall bend you with your dearest speed To meet Northumberland and the prelate Scroop, Who, as we hear, are busily in arms. Myself and you, son Harry, will towards Wales To fight with Glendower and the Earl of March. Rebellion in this laud shall lose his sway, Meeting the check of such another day; And since this business so fair is done, Let us not leave till all our own be won. Exeunt.<br></code> |
|
616 |
+
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
|
617 |
+
```json
|
618 |
+
{
|
619 |
+
"scale": 20.0,
|
620 |
+
"similarity_fct": "cos_sim"
|
621 |
+
}
|
622 |
+
```
|
623 |
+
|
624 |
+
### Training Hyperparameters
|
625 |
+
#### Non-Default Hyperparameters
|
626 |
+
|
627 |
+
- `batch_sampler`: no_duplicates
|
628 |
+
- `multi_dataset_batch_sampler`: round_robin
|
629 |
+
|
630 |
+
#### All Hyperparameters
|
631 |
+
<details><summary>Click to expand</summary>
|
632 |
+
|
633 |
+
- `overwrite_output_dir`: False
|
634 |
+
- `do_predict`: False
|
635 |
+
- `eval_strategy`: no
|
636 |
+
- `prediction_loss_only`: True
|
637 |
+
- `per_device_train_batch_size`: 8
|
638 |
+
- `per_device_eval_batch_size`: 8
|
639 |
+
- `per_gpu_train_batch_size`: None
|
640 |
+
- `per_gpu_eval_batch_size`: None
|
641 |
+
- `gradient_accumulation_steps`: 1
|
642 |
+
- `eval_accumulation_steps`: None
|
643 |
+
- `learning_rate`: 5e-05
|
644 |
+
- `weight_decay`: 0.0
|
645 |
+
- `adam_beta1`: 0.9
|
646 |
+
- `adam_beta2`: 0.999
|
647 |
+
- `adam_epsilon`: 1e-08
|
648 |
+
- `max_grad_norm`: 1
|
649 |
+
- `num_train_epochs`: 3
|
650 |
+
- `max_steps`: -1
|
651 |
+
- `lr_scheduler_type`: linear
|
652 |
+
- `lr_scheduler_kwargs`: {}
|
653 |
+
- `warmup_ratio`: 0.0
|
654 |
+
- `warmup_steps`: 0
|
655 |
+
- `log_level`: passive
|
656 |
+
- `log_level_replica`: warning
|
657 |
+
- `log_on_each_node`: True
|
658 |
+
- `logging_nan_inf_filter`: True
|
659 |
+
- `save_safetensors`: True
|
660 |
+
- `save_on_each_node`: False
|
661 |
+
- `save_only_model`: False
|
662 |
+
- `restore_callback_states_from_checkpoint`: False
|
663 |
+
- `no_cuda`: False
|
664 |
+
- `use_cpu`: False
|
665 |
+
- `use_mps_device`: False
|
666 |
+
- `seed`: 42
|
667 |
+
- `data_seed`: None
|
668 |
+
- `jit_mode_eval`: False
|
669 |
+
- `use_ipex`: False
|
670 |
+
- `bf16`: False
|
671 |
+
- `fp16`: False
|
672 |
+
- `fp16_opt_level`: O1
|
673 |
+
- `half_precision_backend`: auto
|
674 |
+
- `bf16_full_eval`: False
|
675 |
+
- `fp16_full_eval`: False
|
676 |
+
- `tf32`: None
|
677 |
+
- `local_rank`: 0
|
678 |
+
- `ddp_backend`: None
|
679 |
+
- `tpu_num_cores`: None
|
680 |
+
- `tpu_metrics_debug`: False
|
681 |
+
- `debug`: []
|
682 |
+
- `dataloader_drop_last`: False
|
683 |
+
- `dataloader_num_workers`: 0
|
684 |
+
- `dataloader_prefetch_factor`: None
|
685 |
+
- `past_index`: -1
|
686 |
+
- `disable_tqdm`: False
|
687 |
+
- `remove_unused_columns`: True
|
688 |
+
- `label_names`: None
|
689 |
+
- `load_best_model_at_end`: False
|
690 |
+
- `ignore_data_skip`: False
|
691 |
+
- `fsdp`: []
|
692 |
+
- `fsdp_min_num_params`: 0
|
693 |
+
- `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
|
694 |
+
- `fsdp_transformer_layer_cls_to_wrap`: None
|
695 |
+
- `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
|
696 |
+
- `deepspeed`: None
|
697 |
+
- `label_smoothing_factor`: 0.0
|
698 |
+
- `optim`: adamw_torch
|
699 |
+
- `optim_args`: None
|
700 |
+
- `adafactor`: False
|
701 |
+
- `group_by_length`: False
|
702 |
+
- `length_column_name`: length
|
703 |
+
- `ddp_find_unused_parameters`: None
|
704 |
+
- `ddp_bucket_cap_mb`: None
|
705 |
+
- `ddp_broadcast_buffers`: False
|
706 |
+
- `dataloader_pin_memory`: True
|
707 |
+
- `dataloader_persistent_workers`: False
|
708 |
+
- `skip_memory_metrics`: True
|
709 |
+
- `use_legacy_prediction_loop`: False
|
710 |
+
- `push_to_hub`: False
|
711 |
+
- `resume_from_checkpoint`: None
|
712 |
+
- `hub_model_id`: None
|
713 |
+
- `hub_strategy`: every_save
|
714 |
+
- `hub_private_repo`: False
|
715 |
+
- `hub_always_push`: False
|
716 |
+
- `gradient_checkpointing`: False
|
717 |
+
- `gradient_checkpointing_kwargs`: None
|
718 |
+
- `include_inputs_for_metrics`: False
|
719 |
+
- `eval_do_concat_batches`: True
|
720 |
+
- `fp16_backend`: auto
|
721 |
+
- `push_to_hub_model_id`: None
|
722 |
+
- `push_to_hub_organization`: None
|
723 |
+
- `mp_parameters`:
|
724 |
+
- `auto_find_batch_size`: False
|
725 |
+
- `full_determinism`: False
|
726 |
+
- `torchdynamo`: None
|
727 |
+
- `ray_scope`: last
|
728 |
+
- `ddp_timeout`: 1800
|
729 |
+
- `torch_compile`: False
|
730 |
+
- `torch_compile_backend`: None
|
731 |
+
- `torch_compile_mode`: None
|
732 |
+
- `dispatch_batches`: None
|
733 |
+
- `split_batches`: None
|
734 |
+
- `include_tokens_per_second`: False
|
735 |
+
- `include_num_input_tokens_seen`: False
|
736 |
+
- `neftune_noise_alpha`: None
|
737 |
+
- `optim_target_modules`: None
|
738 |
+
- `batch_eval_metrics`: False
|
739 |
+
- `eval_on_start`: False
|
740 |
+
- `batch_sampler`: no_duplicates
|
741 |
+
- `multi_dataset_batch_sampler`: round_robin
|
742 |
+
|
743 |
+
</details>
|
744 |
+
|
745 |
+
### Training Logs
|
746 |
+
| Epoch | Step | Training Loss | cosine_map@100 |
|
747 |
+
|:------:|:----:|:-------------:|:--------------:|
|
748 |
+
| 0.3864 | 500 | 0.5974 | - |
|
749 |
+
| 0.7728 | 1000 | 0.5049 | - |
|
750 |
+
| 1.0 | 1294 | - | 0.4475 |
|
751 |
+
| 1.1592 | 1500 | 0.4202 | - |
|
752 |
+
| 1.5456 | 2000 | 0.2689 | - |
|
753 |
+
| 1.9320 | 2500 | 0.2452 | - |
|
754 |
+
| 2.0 | 2588 | - | 0.4758 |
|
755 |
+
| 2.3184 | 3000 | 0.17 | - |
|
756 |
+
| 2.7048 | 3500 | 0.1301 | - |
|
757 |
+
| 3.0 | 3882 | - | 0.4766 |
|
758 |
+
|
759 |
+
|
760 |
+
### Framework Versions
|
761 |
+
- Python: 3.10.12
|
762 |
+
- Sentence Transformers: 3.0.1
|
763 |
+
- Transformers: 4.42.4
|
764 |
+
- PyTorch: 2.3.1+cu121
|
765 |
+
- Accelerate: 0.32.1
|
766 |
+
- Datasets: 2.19.1
|
767 |
+
- Tokenizers: 0.19.1
|
768 |
+
|
769 |
+
## Citation
|
770 |
+
|
771 |
+
### BibTeX
|
772 |
+
|
773 |
+
#### Sentence Transformers
|
774 |
+
```bibtex
|
775 |
+
@inproceedings{reimers-2019-sentence-bert,
|
776 |
+
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
|
777 |
+
author = "Reimers, Nils and Gurevych, Iryna",
|
778 |
+
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
|
779 |
+
month = "11",
|
780 |
+
year = "2019",
|
781 |
+
publisher = "Association for Computational Linguistics",
|
782 |
+
url = "https://arxiv.org/abs/1908.10084",
|
783 |
+
}
|
784 |
+
```
|
785 |
+
|
786 |
+
#### MultipleNegativesRankingLoss
|
787 |
+
```bibtex
|
788 |
+
@misc{henderson2017efficient,
|
789 |
+
title={Efficient Natural Language Response Suggestion for Smart Reply},
|
790 |
+
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},
|
791 |
+
year={2017},
|
792 |
+
eprint={1705.00652},
|
793 |
+
archivePrefix={arXiv},
|
794 |
+
primaryClass={cs.CL}
|
795 |
+
}
|
796 |
+
```
|
797 |
+
|
798 |
+
<!--
|
799 |
+
## Glossary
|
800 |
+
|
801 |
+
*Clearly define terms in order to be accessible across audiences.*
|
802 |
+
-->
|
803 |
+
|
804 |
+
<!--
|
805 |
+
## Model Card Authors
|
806 |
+
|
807 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
808 |
+
-->
|
809 |
+
|
810 |
+
<!--
|
811 |
+
## Model Card Contact
|
812 |
+
|
813 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
814 |
+
-->
|
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "BAAI/bge-m3",
|
3 |
+
"architectures": [
|
4 |
+
"XLMRobertaModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 1024,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 4096,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 8194,
|
17 |
+
"model_type": "xlm-roberta",
|
18 |
+
"num_attention_heads": 16,
|
19 |
+
"num_hidden_layers": 24,
|
20 |
+
"output_past": true,
|
21 |
+
"pad_token_id": 1,
|
22 |
+
"position_embedding_type": "absolute",
|
23 |
+
"torch_dtype": "float32",
|
24 |
+
"transformers_version": "4.42.4",
|
25 |
+
"type_vocab_size": 1,
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 250002
|
28 |
+
}
|
config_sentence_transformers.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": {
|
3 |
+
"sentence_transformers": "3.0.1",
|
4 |
+
"transformers": "4.42.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:1c388ef7ea246df1b7b7f7192d70a52ade657a0ff7e9b3f5698e221629529e48
|
3 |
+
size 2271064456
|
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": 8192,
|
3 |
+
"do_lower_case": false
|
4 |
+
}
|
sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
|
3 |
+
size 5069051
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "<mask>",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e4f7e21bec3fb0044ca0bb2d50eb5d4d8c596273c422baef84466d2c73748b9c
|
3 |
+
size 17083053
|
tokenizer_config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"250001": {
|
36 |
+
"content": "<mask>",
|
37 |
+
"lstrip": true,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"bos_token": "<s>",
|
45 |
+
"clean_up_tokenization_spaces": true,
|
46 |
+
"cls_token": "<s>",
|
47 |
+
"eos_token": "</s>",
|
48 |
+
"mask_token": "<mask>",
|
49 |
+
"model_max_length": 8192,
|
50 |
+
"pad_token": "<pad>",
|
51 |
+
"sep_token": "</s>",
|
52 |
+
"sp_model_kwargs": {},
|
53 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
54 |
+
"unk_token": "<unk>"
|
55 |
+
}
|