vijayarulmuthu commited on
Commit
e1ca736
·
verified ·
1 Parent(s): bd743ce

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": 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,809 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - generated_from_trainer
7
+ - dataset_size:6612
8
+ - loss:MatryoshkaLoss
9
+ - loss:MultipleNegativesRankingLoss
10
+ base_model: Snowflake/snowflake-arctic-embed-m
11
+ widget:
12
+ - source_sentence: Who besought that the words might be preached to them the next
13
+ sabbath?
14
+ sentences:
15
+ - 'But the midwives feared God, and did not as the king of Egypt commanded them,
16
+ but saved the men children alive. And the king of Egypt called for the midwives,
17
+ and said unto them, Why have ye done this thing, and have saved the men children
18
+ alive? And the midwives said unto Pharaoh, Because the Hebrew women [are] not
19
+ as the Egyptian women; for they [are] lively, and are delivered ere the midwives
20
+ come in unto them. Therefore God dealt well with the midwives: and the people
21
+ multiplied, and waxed very mighty. And it came to pass, because the midwives feared
22
+ God, that he made them houses. And Pharaoh charged all his people, saying, Every
23
+ son that is born ye shall cast into the river, and every daughter ye shall save
24
+ alive.'
25
+ - 'And the watchman cried, and told the king. And the king said, If he [be] alone,
26
+ [there is] tidings in his mouth. And he came apace, and drew near. And the watchman
27
+ saw another man running: and the watchman called unto the porter, and said, Behold
28
+ [another] man running alone. And the king said, He also bringeth tidings. And
29
+ the watchman said, Me thinketh the running of the foremost is like the running
30
+ of Ahimaaz the son of Zadok. And the king said, He [is] a good man, and cometh
31
+ with good tidings. And Ahimaaz called, and said unto the king, All is well. And
32
+ he fell down to the earth upon his face before the king, and said, Blessed [be]
33
+ the LORD thy God, which hath delivered up the men that lifted up their hand against
34
+ my lord the king. And the king said, [Is] the young man Absalom safe? And Ahimaaz
35
+ answered, When Joab sent the king’s servant, and [me] thy servant, I saw a great
36
+ tumult, but I knew not what [it was]. And the king said [unto him], Turn aside,
37
+ [and] stand here. And he turned aside, and stood still. And, behold, Cushi came;
38
+ and Cushi said, Tidings, my lord the king: for the LORD hath avenged thee this
39
+ day of all them that rose up against thee. And the king said unto Cushi, [Is]
40
+ the young man Absalom safe? And Cushi answered, The enemies of my lord the king,
41
+ and all that rise against thee to do [thee] hurt, be as [that] young man [is].'
42
+ - 'Behold, ye despisers, and wonder, and perish: for I work a work in your days,
43
+ a work which ye shall in no wise believe, though a man declare it unto you. And
44
+ when the Jews were gone out of the synagogue, the Gentiles besought that these
45
+ words might be preached to them the next sabbath. Now when the congregation was
46
+ broken up, many of the Jews and religious proselytes followed Paul and Barnabas:
47
+ who, speaking to them, persuaded them to continue in the grace of God. And the
48
+ next sabbath day came almost the whole city together to hear the word of God.
49
+ But when the Jews saw the multitudes, they were filled with envy, and spake against
50
+ those things which were spoken by Paul, contradicting and blaspheming. Then Paul
51
+ and Barnabas waxed bold, and said, It was necessary that the word of God should
52
+ first have been spoken to you: but seeing ye put it from you, and judge yourselves
53
+ unworthy of everlasting life, lo, we turn to the Gentiles. For so hath the Lord
54
+ commanded us, [saying], I have set thee to be a light of the Gentiles, that thou
55
+ shouldest be for salvation unto the ends of the earth. And when the Gentiles heard
56
+ this, they were glad, and glorified the word of the Lord: and as many as were
57
+ ordained to eternal life believed.'
58
+ - source_sentence: What will the LORD do if the people hearken unto Him and keep His
59
+ commandments?
60
+ sentences:
61
+ - 'And ye shall not go out of the door of the tabernacle of the congregation [in]
62
+ seven days, until the days of your consecration be at an end: for seven days shall
63
+ he consecrate you. As he hath done this day, [so] the LORD hath commanded to do,
64
+ to make an atonement for you. Therefore shall ye abide [at] the door of the tabernacle
65
+ of the congregation day and night seven days, and keep the charge of the LORD,
66
+ that ye die not: for so I am commanded. So Aaron and his sons did all things which
67
+ the LORD commanded by the hand of Moses.'
68
+ - 'Then all Israel gathered themselves to David unto Hebron, saying, Behold, we
69
+ [are] thy bone and thy flesh. And moreover in time past, even when Saul was king,
70
+ thou [wast] he that leddest out and broughtest in Israel: and the LORD thy God
71
+ said unto thee, Thou shalt feed my people Israel, and thou shalt be ruler over
72
+ my people Israel. Therefore came all the elders of Israel to the king to Hebron;
73
+ and David made a covenant with them in Hebron before the LORD; and they anointed
74
+ David king over Israel, according to the word of the LORD by Samuel. And David
75
+ and all Israel went to Jerusalem, which [is] Jebus; where the Jebusites [were],
76
+ the inhabitants of the land. And the inhabitants of Jebus said to David, Thou
77
+ shalt not come hither. Nevertheless David took the castle of Zion, which [is]
78
+ the city of David. And David said, Whosoever smiteth the Jebusites first shall
79
+ be chief and captain. So Joab the son of Zeruiah went first up, and was chief.
80
+ And David dwelt in the castle; therefore they called it the city of David. And
81
+ he built the city round about, even from Millo round about: and Joab repaired
82
+ the rest of the city.'
83
+ - 'For I will have respect unto you, and make you fruitful, and multiply you, and
84
+ establish my covenant with you. And ye shall eat old store, and bring forth the
85
+ old because of the new. And I will set my tabernacle among you: and my soul shall
86
+ not abhor you. And I will walk among you, and will be your God, and ye shall be
87
+ my people. I [am] the LORD your God, which brought you forth out of the land of
88
+ Egypt, that ye should not be their bondmen; and I have broken the bands of your
89
+ yoke, and made you go upright. But if ye will not hearken unto me, and will not
90
+ do all these commandments; And if ye shall despise my statutes, or if your soul
91
+ abhor my judgments, so that ye will not do all my commandments, [but] that ye
92
+ break my covenant: I also will do this unto you; I will even appoint over you
93
+ terror, consumption, and the burning ague, that shall consume the eyes, and cause
94
+ sorrow of heart: and ye shall sow your seed in vain, for your enemies shall eat
95
+ it.'
96
+ - source_sentence: How are the nations that fight against Ariel described in their
97
+ outcome?
98
+ sentences:
99
+ - 'Then the LORD put forth his hand, and touched my mouth. And the LORD said unto
100
+ me, Behold, I have put my words in thy mouth. See, I have this day set thee over
101
+ the nations and over the kingdoms, to root out, and to pull down, and to destroy,
102
+ and to throw down, to build, and to plant. Moreover the word of the LORD came
103
+ unto me, saying, Jeremiah, what seest thou? And I said, I see a rod of an almond
104
+ tree. Then said the LORD unto me, Thou hast well seen: for I will hasten my word
105
+ to perform it. And the word of the LORD came unto me the second time, saying,
106
+ What seest thou? And I said, I see a seething pot; and the face thereof [is] toward
107
+ the north. Then the LORD said unto me, Out of the north an evil shall break forth
108
+ upon all the inhabitants of the land. For, lo, I will call all the families of
109
+ the kingdoms of the north, saith the LORD; and they shall come, and they shall
110
+ set every one his throne at the entering of the gates of Jerusalem, and against
111
+ all the walls thereof round about, and against all the cities of Judah. And I
112
+ will utter my judgments against them touching all their wickedness, who have forsaken
113
+ me, and have burned incense unto other gods, and worshipped the works of their
114
+ own hands.'
115
+ - 'Woe to Ariel, to Ariel, the city [where] David dwelt! add ye year to year; let
116
+ them kill sacrifices. Yet I will distress Ariel, and there shall be heaviness
117
+ and sorrow: and it shall be unto me as Ariel. And I will camp against thee round
118
+ about, and will lay siege against thee with a mount, and I will raise forts against
119
+ thee. And thou shalt be brought down, [and] shalt speak out of the ground, and
120
+ thy speech shall be low out of the dust, and thy voice shall be, as of one that
121
+ hath a familiar spirit, out of the ground, and thy speech shall whisper out of
122
+ the dust. Moreover the multitude of thy strangers shall be like small dust, and
123
+ the multitude of the terrible ones [shall be] as chaff that passeth away: yea,
124
+ it shall be at an instant suddenly. Thou shalt be visited of the LORD of hosts
125
+ with thunder, and with earthquake, and great noise, with storm and tempest, and
126
+ the flame of devouring fire. And the multitude of all the nations that fight against
127
+ Ariel, even all that fight against her and her munition, and that distress her,
128
+ shall be as a dream of a night vision. It shall even be as when an hungry [man]
129
+ dreameth, and, behold, he eateth; but he awaketh, and his soul is empty: or as
130
+ when a thirsty man dreameth, and, behold, he drinketh; but he awaketh, and, behold,
131
+ [he is] faint, and his soul hath appetite: so shall the multitude of all the nations
132
+ be, that fight against mount Zion.'
133
+ - And they were both naked, the man and his wife, and were not ashamed.
134
+ - source_sentence: What will happen to the horn and arm of Moab according to the LORD?
135
+ sentences:
136
+ - 'The horn of Moab is cut off, and his arm is broken, saith the LORD. Make ye him
137
+ drunken: for he magnified [himself] against the LORD: Moab also shall wallow in
138
+ his vomit, and he also shall be in derision. For was not Israel a derision unto
139
+ thee? was he found among thieves? for since thou spakest of him, thou skippedst
140
+ for joy. O ye that dwell in Moab, leave the cities, and dwell in the rock, and
141
+ be like the dove [that] maketh her nest in the sides of the hole’s mouth. We have
142
+ heard the pride of Moab, (he is exceeding proud) his loftiness, and his arrogancy,
143
+ and his pride, and the haughtiness of his heart. I know his wrath, saith the LORD;
144
+ but [it shall] not [be] so; his lies shall not so effect [it]. Therefore will
145
+ I howl for Moab, and I will cry out for all Moab; [mine heart] shall mourn for
146
+ the men of Kirheres. O vine of Sibmah, I will weep for thee with the weeping of
147
+ Jazer: thy plants are gone over the sea, they reach [even] to the sea of Jazer:
148
+ the spoiler is fallen upon thy summer fruits and upon thy vintage.'
149
+ - 'Wherefore be ye not unwise, but understanding what the will of the Lord [is].
150
+ And be not drunk with wine, wherein is excess; but be filled with the Spirit;
151
+ Speaking to yourselves in psalms and hymns and spiritual songs, singing and making
152
+ melody in your heart to the Lord; Giving thanks always for all things unto God
153
+ and the Father in the name of our Lord Jesus Christ; Submitting yourselves one
154
+ to another in the fear of God. Wives, submit yourselves unto your own husbands,
155
+ as unto the Lord. For the husband is the head of the wife, even as Christ is the
156
+ head of the church: and he is the saviour of the body. Therefore as the church
157
+ is subject unto Christ, so [let] the wives [be] to their own husbands in every
158
+ thing.'
159
+ - 'And it came to pass, when the LORD would take up Elijah into heaven by a whirlwind,
160
+ that Elijah went with Elisha from Gilgal. And Elijah said unto Elisha, Tarry here,
161
+ I pray thee; for the LORD hath sent me to Bethel. And Elisha said [unto him, As]
162
+ the LORD liveth, and [as] thy soul liveth, I will not leave thee. So they went
163
+ down to Bethel. And the sons of the prophets that [were] at Bethel came forth
164
+ to Elisha, and said unto him, Knowest thou that the LORD will take away thy master
165
+ from thy head to day? And he said, Yea, I know [it]; hold ye your peace. And Elijah
166
+ said unto him, Elisha, tarry here, I pray thee; for the LORD hath sent me to Jericho.
167
+ And he said, [As] the LORD liveth, and [as] thy soul liveth, I will not leave
168
+ thee. So they came to Jericho. And the sons of the prophets that [were] at Jericho
169
+ came to Elisha, and said unto him, Knowest thou that the LORD will take away thy
170
+ master from thy head to day? And he answered, Yea, I know [it]; hold ye your peace.
171
+ And Elijah said unto him, Tarry, I pray thee, here; for the LORD hath sent me
172
+ to Jordan. And he said, [As] the LORD liveth, and [as] thy soul liveth, I will
173
+ not leave thee. And they two went on. And fifty men of the sons of the prophets
174
+ went, and stood to view afar off: and they two stood by Jordan. And Elijah took
175
+ his mantle, and wrapped [it] together, and smote the waters, and they were divided
176
+ hither and thither, so that they two went over on dry ground.'
177
+ - source_sentence: Whom did David smite and subdue, taking Gath and her towns from
178
+ their control?
179
+ sentences:
180
+ - 'Remember, I beseech thee, that thou hast made me as the clay; and wilt thou bring
181
+ me into dust again? Hast thou not poured me out as milk, and curdled me like cheese?
182
+ Thou hast clothed me with skin and flesh, and hast fenced me with bones and sinews.
183
+ Thou hast granted me life and favour, and thy visitation hath preserved my spirit.
184
+ And these [things] hast thou hid in thine heart: I know that this [is] with thee.
185
+ If I sin, then thou markest me, and thou wilt not acquit me from mine iniquity.
186
+ If I be wicked, woe unto me; and [if] I be righteous, [yet] will I not lift up
187
+ my head. [I am] full of confusion; therefore see thou mine affliction; For it
188
+ increaseth. Thou huntest me as a fierce lion: and again thou shewest thyself marvellous
189
+ upon me.'
190
+ - 'Now after this it came to pass, that David smote the Philistines, and subdued
191
+ them, and took Gath and her towns out of the hand of the Philistines. And he smote
192
+ Moab; and the Moabites became David’s servants, [and] brought gifts. And David
193
+ smote Hadarezer king of Zobah unto Hamath, as he went to stablish his dominion
194
+ by the river Euphrates. And David took from him a thousand chariots, and seven
195
+ thousand horsemen, and twenty thousand footmen: David also houghed all the chariot
196
+ [horses], but reserved of them an hundred chariots. And when the Syrians of Damascus
197
+ came to help Hadarezer king of Zobah, David slew of the Syrians two and twenty
198
+ thousand men. Then David put [garrisons] in Syriadamascus; and the Syrians became
199
+ David’s servants, [and] brought gifts. Thus the LORD preserved David whithersoever
200
+ he went. And David took the shields of gold that were on the servants of Hadarezer,
201
+ and brought them to Jerusalem. Likewise from Tibhath, and from Chun, cities of
202
+ Hadarezer, brought David very much brass, wherewith Solomon made the brasen sea,
203
+ and the pillars, and the vessels of brass.'
204
+ - 'So Shishak king of Egypt came up against Jerusalem, and took away the treasures
205
+ of the house of the LORD, and the treasures of the king’s house; he took all:
206
+ he carried away also the shields of gold which Solomon had made. Instead of which
207
+ king Rehoboam made shields of brass, and committed [them] to the hands of the
208
+ chief of the guard, that kept the entrance of the king’s house. And when the king
209
+ entered into the house of the LORD, the guard came and fetched them, and brought
210
+ them again into the guard chamber. And when he humbled himself, the wrath of the
211
+ LORD turned from him, that he would not destroy [him] altogether: and also in
212
+ Judah things went well. So king Rehoboam strengthened himself in Jerusalem, and
213
+ reigned: for Rehoboam [was] one and forty years old when he began to reign, and
214
+ he reigned seventeen years in Jerusalem, the city which the LORD had chosen out
215
+ of all the tribes of Israel, to put his name there. And his mother’s name [was]
216
+ Naamah an Ammonitess. And he did evil, because he prepared not his heart to seek
217
+ the LORD. Now the acts of Rehoboam, first and last, [are] they not written in
218
+ the book of Shemaiah the prophet, and of Iddo the seer concerning genealogies?
219
+ And [there were] wars between Rehoboam and Jeroboam continually. And Rehoboam
220
+ slept with his fathers, and was buried in the city of David: and Abijah his son
221
+ reigned in his stead.'
222
+ pipeline_tag: sentence-similarity
223
+ library_name: sentence-transformers
224
+ metrics:
225
+ - cosine_accuracy@1
226
+ - cosine_accuracy@3
227
+ - cosine_accuracy@5
228
+ - cosine_accuracy@10
229
+ - cosine_precision@1
230
+ - cosine_precision@3
231
+ - cosine_precision@5
232
+ - cosine_precision@10
233
+ - cosine_recall@1
234
+ - cosine_recall@3
235
+ - cosine_recall@5
236
+ - cosine_recall@10
237
+ - cosine_ndcg@10
238
+ - cosine_mrr@10
239
+ - cosine_map@100
240
+ model-index:
241
+ - name: SentenceTransformer based on Snowflake/snowflake-arctic-embed-m
242
+ results:
243
+ - task:
244
+ type: information-retrieval
245
+ name: Information Retrieval
246
+ dataset:
247
+ name: validation
248
+ type: validation
249
+ metrics:
250
+ - type: cosine_accuracy@1
251
+ value: 0.647912885662432
252
+ name: Cosine Accuracy@1
253
+ - type: cosine_accuracy@3
254
+ value: 0.8330308529945554
255
+ name: Cosine Accuracy@3
256
+ - type: cosine_accuracy@5
257
+ value: 0.8729582577132486
258
+ name: Cosine Accuracy@5
259
+ - type: cosine_accuracy@10
260
+ value: 0.9237749546279492
261
+ name: Cosine Accuracy@10
262
+ - type: cosine_precision@1
263
+ value: 0.647912885662432
264
+ name: Cosine Precision@1
265
+ - type: cosine_precision@3
266
+ value: 0.2776769509981851
267
+ name: Cosine Precision@3
268
+ - type: cosine_precision@5
269
+ value: 0.17459165154264972
270
+ name: Cosine Precision@5
271
+ - type: cosine_precision@10
272
+ value: 0.0923774954627949
273
+ name: Cosine Precision@10
274
+ - type: cosine_recall@1
275
+ value: 0.017997580157289778
276
+ name: Cosine Recall@1
277
+ - type: cosine_recall@3
278
+ value: 0.02313974591651543
279
+ name: Cosine Recall@3
280
+ - type: cosine_recall@5
281
+ value: 0.024248840492034688
282
+ name: Cosine Recall@5
283
+ - type: cosine_recall@10
284
+ value: 0.02566041540633193
285
+ name: Cosine Recall@10
286
+ - type: cosine_ndcg@10
287
+ value: 0.17391225053060402
288
+ name: Cosine Ndcg@10
289
+ - type: cosine_mrr@10
290
+ value: 0.7468556448592748
291
+ name: Cosine Mrr@10
292
+ - type: cosine_map@100
293
+ value: 0.020838529961750816
294
+ name: Cosine Map@100
295
+ ---
296
+
297
+ # SentenceTransformer based on Snowflake/snowflake-arctic-embed-m
298
+
299
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [Snowflake/snowflake-arctic-embed-m](https://huggingface.co/Snowflake/snowflake-arctic-embed-m). 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.
300
+
301
+ ## Model Details
302
+
303
+ ### Model Description
304
+ - **Model Type:** Sentence Transformer
305
+ - **Base model:** [Snowflake/snowflake-arctic-embed-m](https://huggingface.co/Snowflake/snowflake-arctic-embed-m) <!-- at revision fc74610d18462d218e312aa986ec5c8a75a98152 -->
306
+ - **Maximum Sequence Length:** 512 tokens
307
+ - **Output Dimensionality:** 768 dimensions
308
+ - **Similarity Function:** Cosine Similarity
309
+ <!-- - **Training Dataset:** Unknown -->
310
+ <!-- - **Language:** Unknown -->
311
+ <!-- - **License:** Unknown -->
312
+
313
+ ### Model Sources
314
+
315
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
316
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
317
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
318
+
319
+ ### Full Model Architecture
320
+
321
+ ```
322
+ SentenceTransformer(
323
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
324
+ (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
325
+ (2): Normalize()
326
+ )
327
+ ```
328
+
329
+ ## Usage
330
+
331
+ ### Direct Usage (Sentence Transformers)
332
+
333
+ First install the Sentence Transformers library:
334
+
335
+ ```bash
336
+ pip install -U sentence-transformers
337
+ ```
338
+
339
+ Then you can load this model and run inference.
340
+ ```python
341
+ from sentence_transformers import SentenceTransformer
342
+
343
+ # Download from the 🤗 Hub
344
+ model = SentenceTransformer("vijayarulmuthu/finetuned_arctic_ft-a85433c9-6284-4afb-8e87-e110823d565c")
345
+ # Run inference
346
+ sentences = [
347
+ 'Whom did David smite and subdue, taking Gath and her towns from their control?',
348
+ 'Now after this it came to pass, that David smote the Philistines, and subdued them, and took Gath and her towns out of the hand of the Philistines. And he smote Moab; and the Moabites became David’s servants, [and] brought gifts. And David smote Hadarezer king of Zobah unto Hamath, as he went to stablish his dominion by the river Euphrates. And David took from him a thousand chariots, and seven thousand horsemen, and twenty thousand footmen: David also houghed all the chariot [horses], but reserved of them an hundred chariots. And when the Syrians of Damascus came to help Hadarezer king of Zobah, David slew of the Syrians two and twenty thousand men. Then David put [garrisons] in Syriadamascus; and the Syrians became David’s servants, [and] brought gifts. Thus the LORD preserved David whithersoever he went. And David took the shields of gold that were on the servants of Hadarezer, and brought them to Jerusalem. Likewise from Tibhath, and from Chun, cities of Hadarezer, brought David very much brass, wherewith Solomon made the brasen sea, and the pillars, and the vessels of brass.',
349
+ 'So Shishak king of Egypt came up against Jerusalem, and took away the treasures of the house of the LORD, and the treasures of the king’s house; he took all: he carried away also the shields of gold which Solomon had made. Instead of which king Rehoboam made shields of brass, and committed [them] to the hands of the chief of the guard, that kept the entrance of the king’s house. And when the king entered into the house of the LORD, the guard came and fetched them, and brought them again into the guard chamber. And when he humbled himself, the wrath of the LORD turned from him, that he would not destroy [him] altogether: and also in Judah things went well. So king Rehoboam strengthened himself in Jerusalem, and reigned: for Rehoboam [was] one and forty years old when he began to reign, and he reigned seventeen years in Jerusalem, the city which the LORD had chosen out of all the tribes of Israel, to put his name there. And his mother’s name [was] Naamah an Ammonitess. And he did evil, because he prepared not his heart to seek the LORD. Now the acts of Rehoboam, first and last, [are] they not written in the book of Shemaiah the prophet, and of Iddo the seer concerning genealogies? And [there were] wars between Rehoboam and Jeroboam continually. And Rehoboam slept with his fathers, and was buried in the city of David: and Abijah his son reigned in his stead.',
350
+ ]
351
+ embeddings = model.encode(sentences)
352
+ print(embeddings.shape)
353
+ # [3, 768]
354
+
355
+ # Get the similarity scores for the embeddings
356
+ similarities = model.similarity(embeddings, embeddings)
357
+ print(similarities.shape)
358
+ # [3, 3]
359
+ ```
360
+
361
+ <!--
362
+ ### Direct Usage (Transformers)
363
+
364
+ <details><summary>Click to see the direct usage in Transformers</summary>
365
+
366
+ </details>
367
+ -->
368
+
369
+ <!--
370
+ ### Downstream Usage (Sentence Transformers)
371
+
372
+ You can finetune this model on your own dataset.
373
+
374
+ <details><summary>Click to expand</summary>
375
+
376
+ </details>
377
+ -->
378
+
379
+ <!--
380
+ ### Out-of-Scope Use
381
+
382
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
383
+ -->
384
+
385
+ ## Evaluation
386
+
387
+ ### Metrics
388
+
389
+ #### Information Retrieval
390
+
391
+ * Dataset: `validation`
392
+ * Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
393
+
394
+ | Metric | Value |
395
+ |:--------------------|:-----------|
396
+ | cosine_accuracy@1 | 0.6479 |
397
+ | cosine_accuracy@3 | 0.833 |
398
+ | cosine_accuracy@5 | 0.873 |
399
+ | cosine_accuracy@10 | 0.9238 |
400
+ | cosine_precision@1 | 0.6479 |
401
+ | cosine_precision@3 | 0.2777 |
402
+ | cosine_precision@5 | 0.1746 |
403
+ | cosine_precision@10 | 0.0924 |
404
+ | cosine_recall@1 | 0.018 |
405
+ | cosine_recall@3 | 0.0231 |
406
+ | cosine_recall@5 | 0.0242 |
407
+ | cosine_recall@10 | 0.0257 |
408
+ | **cosine_ndcg@10** | **0.1739** |
409
+ | cosine_mrr@10 | 0.7469 |
410
+ | cosine_map@100 | 0.0208 |
411
+
412
+ <!--
413
+ ## Bias, Risks and Limitations
414
+
415
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
416
+ -->
417
+
418
+ <!--
419
+ ### Recommendations
420
+
421
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
422
+ -->
423
+
424
+ ## Training Details
425
+
426
+ ### Training Dataset
427
+
428
+ #### Unnamed Dataset
429
+
430
+ * Size: 6,612 training samples
431
+ * Columns: <code>sentence_0</code> and <code>sentence_1</code>
432
+ * Approximate statistics based on the first 1000 samples:
433
+ | | sentence_0 | sentence_1 |
434
+ |:--------|:----------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
435
+ | type | string | string |
436
+ | details | <ul><li>min: 7 tokens</li><li>mean: 17.56 tokens</li><li>max: 42 tokens</li></ul> | <ul><li>min: 13 tokens</li><li>mean: 250.95 tokens</li><li>max: 504 tokens</li></ul> |
437
+ * Samples:
438
+ | sentence_0 | sentence_1 |
439
+ |:---------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
440
+ | <code>What was the reason given by Elijah the prophet for the LORD's punishment on Jehoram?</code> | <code>Then Jehoram went forth with his princes, and all his chariots with him: and he rose up by night, and smote the Edomites which compassed him in, and the captains of the chariots. So the Edomites revolted from under the hand of Judah unto this day. The same time [also] did Libnah revolt from under his hand; because he had forsaken the LORD God of his fathers. Moreover he made high places in the mountains of Judah, and caused the inhabitants of Jerusalem to commit fornication, and compelled Judah [thereto]. And there came a writing to him from Elijah the prophet, saying, Thus saith the LORD God of David thy father, Because thou hast not walked in the ways of Jehoshaphat thy father, nor in the ways of Asa king of Judah, But hast walked in the way of the kings of Israel, and hast made Judah and the inhabitants of Jerusalem to go a whoring, like to the whoredoms of the house of Ahab, and also hast slain thy brethren of thy father’s house, [which were] better than thyself: Behold, with a gre...</code> |
441
+ | <code>What happened at the sixth hour until the ninth hour according to the passage?</code> | <code>And we indeed justly; for we receive the due reward of our deeds: but this man hath done nothing amiss. And he said unto Jesus, Lord, remember me when thou comest into thy kingdom. And Jesus said unto him, Verily I say unto thee, To day shalt thou be with me in paradise. And it was about the sixth hour, and there was a darkness over all the earth until the ninth hour. And the sun was darkened, and the veil of the temple was rent in the midst. And when Jesus had cried with a loud voice, he said, Father, into thy hands I commend my spirit: and having said thus, he gave up the ghost. Now when the centurion saw what was done, he glorified God, saying, Certainly this was a righteous man. And all the people that came together to that sight, beholding the things which were done, smote their breasts, and returned.</code> |
442
+ | <code>Who is commanded by the Lord to set a watchman and declare what he sees?</code> | <code>The burden of the desert of the sea. As whirlwinds in the south pass through; [so] it cometh from the desert, from a terrible land. A grievous vision is declared unto me; the treacherous dealer dealeth treacherously, and the spoiler spoileth. Go up, O Elam: besiege, O Media; all the sighing thereof have I made to cease. Therefore are my loins filled with pain: pangs have taken hold upon me, as the pangs of a woman that travaileth: I was bowed down at the hearing [of it]; I was dismayed at the seeing [of it]. My heart panted, fearfulness affrighted me: the night of my pleasure hath he turned into fear unto me. Prepare the table, watch in the watchtower, eat, drink: arise, ye princes, [and] anoint the shield. For thus hath the Lord said unto me, Go, set a watchman, let him declare what he seeth. And he saw a chariot [with] a couple of horsemen, a chariot of asses, [and] a chariot of camels; and he hearkened diligently with much heed: And he cried, A lion: My lord, I stand continually upo...</code> |
443
+ * Loss: [<code>MatryoshkaLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#matryoshkaloss) with these parameters:
444
+ ```json
445
+ {
446
+ "loss": "MultipleNegativesRankingLoss",
447
+ "matryoshka_dims": [
448
+ 768,
449
+ 512,
450
+ 256,
451
+ 128,
452
+ 64
453
+ ],
454
+ "matryoshka_weights": [
455
+ 1,
456
+ 1,
457
+ 1,
458
+ 1,
459
+ 1
460
+ ],
461
+ "n_dims_per_step": -1
462
+ }
463
+ ```
464
+
465
+ ### Training Hyperparameters
466
+ #### Non-Default Hyperparameters
467
+
468
+ - `eval_strategy`: steps
469
+ - `per_device_train_batch_size`: 10
470
+ - `per_device_eval_batch_size`: 10
471
+ - `num_train_epochs`: 10
472
+ - `multi_dataset_batch_sampler`: round_robin
473
+
474
+ #### All Hyperparameters
475
+ <details><summary>Click to expand</summary>
476
+
477
+ - `overwrite_output_dir`: False
478
+ - `do_predict`: False
479
+ - `eval_strategy`: steps
480
+ - `prediction_loss_only`: True
481
+ - `per_device_train_batch_size`: 10
482
+ - `per_device_eval_batch_size`: 10
483
+ - `per_gpu_train_batch_size`: None
484
+ - `per_gpu_eval_batch_size`: None
485
+ - `gradient_accumulation_steps`: 1
486
+ - `eval_accumulation_steps`: None
487
+ - `torch_empty_cache_steps`: None
488
+ - `learning_rate`: 5e-05
489
+ - `weight_decay`: 0.0
490
+ - `adam_beta1`: 0.9
491
+ - `adam_beta2`: 0.999
492
+ - `adam_epsilon`: 1e-08
493
+ - `max_grad_norm`: 1
494
+ - `num_train_epochs`: 10
495
+ - `max_steps`: -1
496
+ - `lr_scheduler_type`: linear
497
+ - `lr_scheduler_kwargs`: {}
498
+ - `warmup_ratio`: 0.0
499
+ - `warmup_steps`: 0
500
+ - `log_level`: passive
501
+ - `log_level_replica`: warning
502
+ - `log_on_each_node`: True
503
+ - `logging_nan_inf_filter`: True
504
+ - `save_safetensors`: True
505
+ - `save_on_each_node`: False
506
+ - `save_only_model`: False
507
+ - `restore_callback_states_from_checkpoint`: False
508
+ - `no_cuda`: False
509
+ - `use_cpu`: False
510
+ - `use_mps_device`: False
511
+ - `seed`: 42
512
+ - `data_seed`: None
513
+ - `jit_mode_eval`: False
514
+ - `use_ipex`: False
515
+ - `bf16`: False
516
+ - `fp16`: False
517
+ - `fp16_opt_level`: O1
518
+ - `half_precision_backend`: auto
519
+ - `bf16_full_eval`: False
520
+ - `fp16_full_eval`: False
521
+ - `tf32`: None
522
+ - `local_rank`: 0
523
+ - `ddp_backend`: None
524
+ - `tpu_num_cores`: None
525
+ - `tpu_metrics_debug`: False
526
+ - `debug`: []
527
+ - `dataloader_drop_last`: False
528
+ - `dataloader_num_workers`: 0
529
+ - `dataloader_prefetch_factor`: None
530
+ - `past_index`: -1
531
+ - `disable_tqdm`: False
532
+ - `remove_unused_columns`: True
533
+ - `label_names`: None
534
+ - `load_best_model_at_end`: False
535
+ - `ignore_data_skip`: False
536
+ - `fsdp`: []
537
+ - `fsdp_min_num_params`: 0
538
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
539
+ - `fsdp_transformer_layer_cls_to_wrap`: None
540
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
541
+ - `deepspeed`: None
542
+ - `label_smoothing_factor`: 0.0
543
+ - `optim`: adamw_torch
544
+ - `optim_args`: None
545
+ - `adafactor`: False
546
+ - `group_by_length`: False
547
+ - `length_column_name`: length
548
+ - `ddp_find_unused_parameters`: None
549
+ - `ddp_bucket_cap_mb`: None
550
+ - `ddp_broadcast_buffers`: False
551
+ - `dataloader_pin_memory`: True
552
+ - `dataloader_persistent_workers`: False
553
+ - `skip_memory_metrics`: True
554
+ - `use_legacy_prediction_loop`: False
555
+ - `push_to_hub`: False
556
+ - `resume_from_checkpoint`: None
557
+ - `hub_model_id`: None
558
+ - `hub_strategy`: every_save
559
+ - `hub_private_repo`: None
560
+ - `hub_always_push`: False
561
+ - `gradient_checkpointing`: False
562
+ - `gradient_checkpointing_kwargs`: None
563
+ - `include_inputs_for_metrics`: False
564
+ - `include_for_metrics`: []
565
+ - `eval_do_concat_batches`: True
566
+ - `fp16_backend`: auto
567
+ - `push_to_hub_model_id`: None
568
+ - `push_to_hub_organization`: None
569
+ - `mp_parameters`:
570
+ - `auto_find_batch_size`: False
571
+ - `full_determinism`: False
572
+ - `torchdynamo`: None
573
+ - `ray_scope`: last
574
+ - `ddp_timeout`: 1800
575
+ - `torch_compile`: False
576
+ - `torch_compile_backend`: None
577
+ - `torch_compile_mode`: None
578
+ - `include_tokens_per_second`: False
579
+ - `include_num_input_tokens_seen`: False
580
+ - `neftune_noise_alpha`: None
581
+ - `optim_target_modules`: None
582
+ - `batch_eval_metrics`: False
583
+ - `eval_on_start`: False
584
+ - `use_liger_kernel`: False
585
+ - `eval_use_gather_object`: False
586
+ - `average_tokens_across_devices`: False
587
+ - `prompts`: None
588
+ - `batch_sampler`: batch_sampler
589
+ - `multi_dataset_batch_sampler`: round_robin
590
+
591
+ </details>
592
+
593
+ ### Training Logs
594
+ <details><summary>Click to expand</summary>
595
+
596
+ | Epoch | Step | Training Loss | validation_cosine_ndcg@10 |
597
+ |:------:|:----:|:-------------:|:-------------------------:|
598
+ | 0.0755 | 50 | - | 0.0982 |
599
+ | 0.1511 | 100 | - | 0.1408 |
600
+ | 0.2266 | 150 | - | 0.1546 |
601
+ | 0.3021 | 200 | - | 0.1612 |
602
+ | 0.3776 | 250 | - | 0.1655 |
603
+ | 0.4532 | 300 | - | 0.1663 |
604
+ | 0.5287 | 350 | - | 0.1710 |
605
+ | 0.6042 | 400 | - | 0.1704 |
606
+ | 0.6798 | 450 | - | 0.1713 |
607
+ | 0.7553 | 500 | 2.378 | 0.1702 |
608
+ | 0.8308 | 550 | - | 0.1727 |
609
+ | 0.9063 | 600 | - | 0.1734 |
610
+ | 0.9819 | 650 | - | 0.1741 |
611
+ | 1.0 | 662 | - | 0.1745 |
612
+ | 1.0574 | 700 | - | 0.1752 |
613
+ | 1.1329 | 750 | - | 0.1761 |
614
+ | 1.2085 | 800 | - | 0.1750 |
615
+ | 1.2840 | 850 | - | 0.1719 |
616
+ | 1.3595 | 900 | - | 0.1730 |
617
+ | 1.4350 | 950 | - | 0.1760 |
618
+ | 1.5106 | 1000 | 0.7402 | 0.1776 |
619
+ | 1.5861 | 1050 | - | 0.1757 |
620
+ | 1.6616 | 1100 | - | 0.1774 |
621
+ | 1.7372 | 1150 | - | 0.1757 |
622
+ | 1.8127 | 1200 | - | 0.1749 |
623
+ | 1.8882 | 1250 | - | 0.1745 |
624
+ | 1.9637 | 1300 | - | 0.1758 |
625
+ | 2.0 | 1324 | - | 0.1776 |
626
+ | 2.0393 | 1350 | - | 0.1772 |
627
+ | 2.1148 | 1400 | - | 0.1751 |
628
+ | 2.1903 | 1450 | - | 0.1757 |
629
+ | 2.2659 | 1500 | 0.467 | 0.1742 |
630
+ | 2.3414 | 1550 | - | 0.1748 |
631
+ | 2.4169 | 1600 | - | 0.1738 |
632
+ | 2.4924 | 1650 | - | 0.1749 |
633
+ | 2.5680 | 1700 | - | 0.1772 |
634
+ | 2.6435 | 1750 | - | 0.1772 |
635
+ | 2.7190 | 1800 | - | 0.1772 |
636
+ | 2.7946 | 1850 | - | 0.1774 |
637
+ | 2.8701 | 1900 | - | 0.1770 |
638
+ | 2.9456 | 1950 | - | 0.1757 |
639
+ | 3.0 | 1986 | - | 0.1771 |
640
+ | 3.0211 | 2000 | 0.2653 | 0.1762 |
641
+ | 3.0967 | 2050 | - | 0.1745 |
642
+ | 3.1722 | 2100 | - | 0.1748 |
643
+ | 3.2477 | 2150 | - | 0.1749 |
644
+ | 3.3233 | 2200 | - | 0.1766 |
645
+ | 3.3988 | 2250 | - | 0.1746 |
646
+ | 3.4743 | 2300 | - | 0.1749 |
647
+ | 3.5498 | 2350 | - | 0.1766 |
648
+ | 3.6254 | 2400 | - | 0.1752 |
649
+ | 3.7009 | 2450 | - | 0.1749 |
650
+ | 3.7764 | 2500 | 0.1809 | 0.1746 |
651
+ | 3.8520 | 2550 | - | 0.1751 |
652
+ | 3.9275 | 2600 | - | 0.1755 |
653
+ | 4.0 | 2648 | - | 0.1744 |
654
+ | 4.0030 | 2650 | - | 0.1747 |
655
+ | 4.0785 | 2700 | - | 0.1747 |
656
+ | 4.1541 | 2750 | - | 0.1766 |
657
+ | 4.2296 | 2800 | - | 0.1761 |
658
+ | 4.3051 | 2850 | - | 0.1745 |
659
+ | 4.3807 | 2900 | - | 0.1748 |
660
+ | 4.4562 | 2950 | - | 0.1753 |
661
+ | 4.5317 | 3000 | 0.1368 | 0.1741 |
662
+ | 4.6073 | 3050 | - | 0.1718 |
663
+ | 4.6828 | 3100 | - | 0.1730 |
664
+ | 4.7583 | 3150 | - | 0.1735 |
665
+ | 4.8338 | 3200 | - | 0.1753 |
666
+ | 4.9094 | 3250 | - | 0.1744 |
667
+ | 4.9849 | 3300 | - | 0.1752 |
668
+ | 5.0 | 3310 | - | 0.1758 |
669
+ | 5.0604 | 3350 | - | 0.1771 |
670
+ | 5.1360 | 3400 | - | 0.1758 |
671
+ | 5.2115 | 3450 | - | 0.1741 |
672
+ | 5.2870 | 3500 | 0.1178 | 0.1741 |
673
+ | 5.3625 | 3550 | - | 0.1746 |
674
+ | 5.4381 | 3600 | - | 0.1744 |
675
+ | 5.5136 | 3650 | - | 0.1740 |
676
+ | 5.5891 | 3700 | - | 0.1743 |
677
+ | 5.6647 | 3750 | - | 0.1744 |
678
+ | 5.7402 | 3800 | - | 0.1733 |
679
+ | 5.8157 | 3850 | - | 0.1747 |
680
+ | 5.8912 | 3900 | - | 0.1755 |
681
+ | 5.9668 | 3950 | - | 0.1734 |
682
+ | 6.0 | 3972 | - | 0.1740 |
683
+ | 6.0423 | 4000 | 0.0878 | 0.1745 |
684
+ | 6.1178 | 4050 | - | 0.1734 |
685
+ | 6.1934 | 4100 | - | 0.1725 |
686
+ | 6.2689 | 4150 | - | 0.1748 |
687
+ | 6.3444 | 4200 | - | 0.1743 |
688
+ | 6.4199 | 4250 | - | 0.1742 |
689
+ | 6.4955 | 4300 | - | 0.1738 |
690
+ | 6.5710 | 4350 | - | 0.1756 |
691
+ | 6.6465 | 4400 | - | 0.1746 |
692
+ | 6.7221 | 4450 | - | 0.1754 |
693
+ | 6.7976 | 4500 | 0.0697 | 0.1756 |
694
+ | 6.8731 | 4550 | - | 0.1755 |
695
+ | 6.9486 | 4600 | - | 0.1755 |
696
+ | 7.0 | 4634 | - | 0.1755 |
697
+ | 7.0242 | 4650 | - | 0.1752 |
698
+ | 7.0997 | 4700 | - | 0.1766 |
699
+ | 7.1752 | 4750 | - | 0.1745 |
700
+ | 7.2508 | 4800 | - | 0.1751 |
701
+ | 7.3263 | 4850 | - | 0.1746 |
702
+ | 7.4018 | 4900 | - | 0.1747 |
703
+ | 7.4773 | 4950 | - | 0.1742 |
704
+ | 7.5529 | 5000 | 0.0643 | 0.1743 |
705
+ | 7.6284 | 5050 | - | 0.1736 |
706
+ | 7.7039 | 5100 | - | 0.1739 |
707
+ | 7.7795 | 5150 | - | 0.1737 |
708
+ | 7.8550 | 5200 | - | 0.1736 |
709
+ | 7.9305 | 5250 | - | 0.1744 |
710
+ | 8.0 | 5296 | - | 0.1750 |
711
+ | 8.0060 | 5300 | - | 0.1751 |
712
+ | 8.0816 | 5350 | - | 0.1742 |
713
+ | 8.1571 | 5400 | - | 0.1739 |
714
+ | 8.2326 | 5450 | - | 0.1745 |
715
+ | 8.3082 | 5500 | 0.0521 | 0.1745 |
716
+ | 8.3837 | 5550 | - | 0.1746 |
717
+ | 8.4592 | 5600 | - | 0.1743 |
718
+ | 8.5347 | 5650 | - | 0.1744 |
719
+ | 8.6103 | 5700 | - | 0.1750 |
720
+ | 8.6858 | 5750 | - | 0.1749 |
721
+ | 8.7613 | 5800 | - | 0.1748 |
722
+ | 8.8369 | 5850 | - | 0.1747 |
723
+ | 8.9124 | 5900 | - | 0.1747 |
724
+ | 8.9879 | 5950 | - | 0.1746 |
725
+ | 9.0 | 5958 | - | 0.1746 |
726
+ | 9.0634 | 6000 | 0.044 | 0.1745 |
727
+ | 9.1390 | 6050 | - | 0.1742 |
728
+ | 9.2145 | 6100 | - | 0.1740 |
729
+ | 9.2900 | 6150 | - | 0.1742 |
730
+ | 9.3656 | 6200 | - | 0.1744 |
731
+ | 9.4411 | 6250 | - | 0.1739 |
732
+ | 9.5166 | 6300 | - | 0.1737 |
733
+ | 9.5921 | 6350 | - | 0.1740 |
734
+ | 9.6677 | 6400 | - | 0.1738 |
735
+ | 9.7432 | 6450 | - | 0.1739 |
736
+ | 9.8187 | 6500 | 0.043 | 0.1738 |
737
+ | 9.8943 | 6550 | - | 0.1738 |
738
+ | 9.9698 | 6600 | - | 0.1739 |
739
+ | 10.0 | 6620 | - | 0.1739 |
740
+
741
+ </details>
742
+
743
+ ### Framework Versions
744
+ - Python: 3.13.3
745
+ - Sentence Transformers: 4.1.0
746
+ - Transformers: 4.52.3
747
+ - PyTorch: 2.7.0
748
+ - Accelerate: 1.7.0
749
+ - Datasets: 3.6.0
750
+ - Tokenizers: 0.21.1
751
+
752
+ ## Citation
753
+
754
+ ### BibTeX
755
+
756
+ #### Sentence Transformers
757
+ ```bibtex
758
+ @inproceedings{reimers-2019-sentence-bert,
759
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
760
+ author = "Reimers, Nils and Gurevych, Iryna",
761
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
762
+ month = "11",
763
+ year = "2019",
764
+ publisher = "Association for Computational Linguistics",
765
+ url = "https://arxiv.org/abs/1908.10084",
766
+ }
767
+ ```
768
+
769
+ #### MatryoshkaLoss
770
+ ```bibtex
771
+ @misc{kusupati2024matryoshka,
772
+ title={Matryoshka Representation Learning},
773
+ author={Aditya Kusupati and Gantavya Bhatt and Aniket Rege and Matthew Wallingford and Aditya Sinha and Vivek Ramanujan and William Howard-Snyder and Kaifeng Chen and Sham Kakade and Prateek Jain and Ali Farhadi},
774
+ year={2024},
775
+ eprint={2205.13147},
776
+ archivePrefix={arXiv},
777
+ primaryClass={cs.LG}
778
+ }
779
+ ```
780
+
781
+ #### MultipleNegativesRankingLoss
782
+ ```bibtex
783
+ @misc{henderson2017efficient,
784
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
785
+ 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},
786
+ year={2017},
787
+ eprint={1705.00652},
788
+ archivePrefix={arXiv},
789
+ primaryClass={cs.CL}
790
+ }
791
+ ```
792
+
793
+ <!--
794
+ ## Glossary
795
+
796
+ *Clearly define terms in order to be accessible across audiences.*
797
+ -->
798
+
799
+ <!--
800
+ ## Model Card Authors
801
+
802
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
803
+ -->
804
+
805
+ <!--
806
+ ## Model Card Contact
807
+
808
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
809
+ -->
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertModel"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "gradient_checkpointing": false,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 3072,
13
+ "layer_norm_eps": 1e-12,
14
+ "max_position_embeddings": 512,
15
+ "model_type": "bert",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 12,
18
+ "pad_token_id": 0,
19
+ "position_embedding_type": "absolute",
20
+ "torch_dtype": "float32",
21
+ "transformers_version": "4.52.3",
22
+ "type_vocab_size": 2,
23
+ "use_cache": true,
24
+ "vocab_size": 30522
25
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "4.1.0",
4
+ "transformers": "4.52.3",
5
+ "pytorch": "2.7.0"
6
+ },
7
+ "prompts": {
8
+ "query": "Represent this sentence for searching relevant passages: "
9
+ },
10
+ "default_prompt_name": null,
11
+ "similarity_fn_name": "cosine"
12
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ffaa35210cc87ffd0da6cdc2189993610a9c9e2a2ded4dab26a7eed512b76f9
3
+ size 435588776
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,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "max_length": 512,
50
+ "model_max_length": 512,
51
+ "pad_to_multiple_of": null,
52
+ "pad_token": "[PAD]",
53
+ "pad_token_type_id": 0,
54
+ "padding_side": "right",
55
+ "sep_token": "[SEP]",
56
+ "stride": 0,
57
+ "strip_accents": null,
58
+ "tokenize_chinese_chars": true,
59
+ "tokenizer_class": "BertTokenizer",
60
+ "truncation_side": "right",
61
+ "truncation_strategy": "longest_first",
62
+ "unk_token": "[UNK]"
63
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff