Anakeen commited on
Commit
ed62693
1 Parent(s): 619fdfe

Add new SentenceTransformer model.

Browse files
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 384,
3
+ "pooling_mode_cls_token": false,
4
+ "pooling_mode_mean_tokens": true,
5
+ "pooling_mode_max_tokens": false,
6
+ "pooling_mode_mean_sqrt_len_tokens": false,
7
+ "pooling_mode_weightedmean_tokens": false,
8
+ "pooling_mode_lasttoken": false,
9
+ "include_prompt": true
10
+ }
README.md ADDED
@@ -0,0 +1,608 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: []
3
+ library_name: sentence-transformers
4
+ tags:
5
+ - sentence-transformers
6
+ - sentence-similarity
7
+ - feature-extraction
8
+ - generated_from_trainer
9
+ - dataset_size:15033
10
+ - loss:MultipleNegativesRankingLoss
11
+ - loss:OnlineContrastiveLoss
12
+ base_model: sentence-transformers/all-MiniLM-L6-v2
13
+ datasets: []
14
+ widget:
15
+ - source_sentence: 'Facility of Payment If any of the [MASK] occur, benefits will
16
+ be paid as stated. [MASK] [MASK] payments will discharge The [MASK] to the full
17
+ extent of those payments. a. If a beneficiary is [MASK] guilty of the Member''s
18
+ death, [MASK] beneficiary may be disqualified from receiving any benefit [MASK]
19
+ Payment may then be [MASK] to any contingent beneficiary or to the executor or
20
+ [MASK] of the Member''s estate. b. Any benefit due a beneficiary [MASK] dies before
21
+ the Member''s death will be [MASK] in [MASK] shares to the Member''s surviving
22
+ beneficiaries. c. If a [MASK] dies at the [MASK] time or within 15 [MASK] after
23
+ [MASK] Member dies, but before The Principal receives [MASK] proof of the Member''s
24
+ death, payment will be [MASK] as if the Member survived the beneficiary. d. If
25
+ no beneficiary survives the Member or if the Member has not [MASK] a [MASK] [MASK]
26
+ will be made in the following order of precedence as numbered: (1) to [MASK] [MASK]
27
+ spouse; (2) to the Member''s children born to or legally adopted by the Member;
28
+ (3) to the Member''s parents; [MASK] to the Member''s brothers and sisters; or
29
+ [MASK] if none of the above, to the executor or administrator of the Member''s
30
+ estate. e. If The Principal believes a person is not legally able to give a valid
31
+ receipt, as determined by The Principal, for a [MASK] and no [MASK] has been appointed,
32
+ The Principal may pay whoever has assumed the care and support of the person. '
33
+ sentences:
34
+ - '
35
+
36
+ Facility of Payment If any of the below occur, benefits will be paid as stated.
37
+ All such payments will discharge The Principal to the full extent of those payments.
38
+ a. If a beneficiary is found guilty of the Member''s death, such beneficiary may
39
+ be disqualified from receiving any benefit due. Payment may then be made to any
40
+ contingent beneficiary or to the executor or administrator of the Member''s estate.
41
+ b. Any benefit due a beneficiary who dies before the Member''s death will be paid
42
+ in equal shares to the Member''s surviving beneficiaries. c. If a beneficiary
43
+ dies at the same time or within 15 days after the Member dies, but before The
44
+ Principal receives Written proof of the Member''s death, payment will be made
45
+ as if the Member survived the beneficiary. d. If no beneficiary survives the Member
46
+ or if the Member has not named a beneficiary, payment will be made in the following
47
+ order of precedence as numbered: (1) to the Member''s spouse; (2) to the Member''s
48
+ children born to or legally adopted by the Member; (3) to the Member''s parents;
49
+ (4) to the Member''s brothers and sisters; or (5) if none of the above, to the
50
+ executor or administrator of the Member''s estate. e. If The Principal believes
51
+ a person is not legally able to give a valid receipt, as determined by The Principal,
52
+ for a payment, and no guardian has been appointed, The Principal may pay whoever
53
+ has assumed the care and support of the person.
54
+
55
+ '
56
+ - '
57
+
58
+ Total Disability; Totally Disabled A Member''s inability, as determined by The
59
+ Principal, due to sickness or injury, to perform the majority of the material
60
+ duties of any occupation for which he or she is or may reasonably become qualified
61
+ based on education, training or experience.
62
+
63
+ '
64
+ - '
65
+
66
+ Policy Incontestability In the absence of fraud, after this Group Policy has been
67
+ in force two years, The Principal may not contest its validity except for nonpayment
68
+ of premium.
69
+
70
+ '
71
+ - source_sentence: Activities of Daily Living (ADL) Disabled; Activities of Daily
72
+ Living (ADL) Disability
73
+ sentences:
74
+ - 'The policy of group insurance issued to the Policyholder by The Principal, which
75
+ describes benefits and provisions for insured Members and Dependents.
76
+
77
+ '
78
+ - 'A Member will be considered disabled under this provision if, as a result of
79
+ sickness or injury, the Member has lost the ability to safely and completely perform
80
+ two or more Activities of Daily Living without another person''s assistance or
81
+ verbal cueing or the Member has a deterioration or loss in intellectual capacity
82
+ and needs another person''s assistance or verbal cueing for his or her protection
83
+ or for the protection of others and the Member is Totally Disabled.
84
+
85
+ '
86
+ - 'Any period of time during which a person is:
87
+
88
+ a. confined in a Hospital for any cause or confined in a Skilled Nursing Facility;
89
+ or
90
+
91
+ b. Home Confined. "Home Confined" means that, due to sickness or injury, the person
92
+ is unable to carry on the regular and usual activities of a healthy person of
93
+ the same age and sex and unable to leave his or her home except to receive medical
94
+ treatment.
95
+
96
+ '
97
+ - source_sentence: Developmental Disability
98
+ sentences:
99
+ - 'For two persons to establish a Civil Union in Rhode Island, it shall be necessary
100
+ that they satisfy all of the following criteria:
101
+
102
+ a. not be a party to another Civil Union or marriage in Rhode Island;
103
+
104
+ b. be of the same sex and therefore be excluded from the marriage laws of Rhode
105
+ Island or any other state;
106
+
107
+ c. be at least 18 years of age;
108
+
109
+ d. not be related to the other proposed party to the Civil Union.
110
+
111
+ NOTE: For the purposes of this Group Policy, the term "spouse" will include Civil
112
+ Union Partner, except as otherwise provided in this Group Policy.
113
+
114
+ '
115
+ - 'A Dependent Child''s substantial handicap, as determined by The Principal, which:
116
+
117
+ a. results from mental retardation, cerebral palsy, epilepsy, or other neurological
118
+ disorder; and
119
+
120
+ b. is diagnosed by a Physician as a permanent or long-term continuing condition.
121
+
122
+ '
123
+ - 'Any PERSON who is a full-time employee of the Policyholder and who regularly
124
+ works at least 30 hours per week. The employee must be compensated by the Policyholder
125
+ and either the employer or employee must be able to show taxable income on federal
126
+ or state tax forms. Work must be at the Policyholder''s usual place or places
127
+ of business, at an alternative worksite at the direction of the Policyholder,
128
+ or at another place to which the employee must travel to perform his or her regular
129
+ duties. This excludes any person who is scheduled to work for the Policyholder
130
+ on a seasonal, temporary, contracted, or part-time basis.
131
+
132
+ An owner, proprietor, or partner of the Policyholder''s business will be deemed
133
+ to be an eligible employee for purposes of this Group Policy, provided he or she
134
+ is regularly scheduled to work for the Policyholder at least 30 hours per week
135
+ and otherwise meets the definition of a Member.
136
+
137
+ '
138
+ - source_sentence: Proof of Good Health
139
+ sentences:
140
+ - 'A Member will be considered Actively at Work if he or she is able and available
141
+ for active performance of all of his or her regular duties. Short term absence
142
+ because of a regularly scheduled day off, holiday, vacation day, jury duty, funeral
143
+ leave, or personal time off is considered Active Work provided the Member is able
144
+ and available for active performance of all of his or her regular duties and was
145
+ working the day immediately prior to the date of his or her absence.
146
+
147
+ '
148
+ - 'A record which is on or transmitted by paper or electronic media, and which is
149
+ consistent with applicable law.
150
+
151
+ '
152
+ - 'Written evidence that a person is insurable under the underwriting standards
153
+ of The Principal. This proof must be provided in a form satisfactory to The Principal.
154
+
155
+ '
156
+ - source_sentence: '
157
+
158
+ Active Work; Actively at Work
159
+
160
+ A Member will be considered Actively at Work if he or she is able and available
161
+ for active performance of all of his or her regular duties. Short term absence
162
+ because of a regularly scheduled day off, holiday, vacation day, jury duty, funeral
163
+ leave, or personal time off is considered Active Work provided the Member is able
164
+ and available for active performance of all of his or her regular duties and was
165
+ working the day immediately prior to the date of his or her absence.
166
+
167
+ '
168
+ sentences:
169
+ - '
170
+
171
+ Article 3 - Termination Rights of The Principal
172
+
173
+ The Principal may nonrenew or terminate this Group Policy by giving the Policyholder
174
+ 31 days advance notice in Writing, if the Policyholder:
175
+
176
+ a. ceases to be actively engaged in business for profit within the meaning of
177
+ the Internal Revenue Code, or be established as a legitimate nonprofit corporation
178
+ within the meaning of the Internal Revenue Code; or
179
+
180
+ b. fails to maintain the participation percentages requirements of PART II, Section
181
+ A with respect to eligible employees, excluding those for whom Proof of Good Health
182
+ is not satisfactory to The Principal; or
183
+
184
+ c. fails to maintain three or more insured employees under this Group Policy;
185
+ or
186
+
187
+ d. fails to pay premium in accordance with the requirements of PART II, Section
188
+ B; or
189
+
190
+ e. has performed an act or practice that constitutes fraud or has made an intentional
191
+ misrepresentation of material fact under the terms of this Group Policy; or
192
+
193
+ f. does not promptly provide The Principal with information that is reasonably
194
+ required; or
195
+
196
+ g. fails to perform any of its obligations that relate to this Group Policy.
197
+
198
+ The Principal may terminate the Policyholder''s coverage on any premium due date
199
+ if the Policyholder relocates to a state where this Group Policy is not marketed,
200
+ by giving the Policyholder 31 days advanced notice in Writing.
201
+
202
+ '
203
+ - '
204
+
205
+ Article 3 - Reinstatement of Coverage for a Member or Dependent When Coverage
206
+ Ends due to Living Outside of the United States
207
+
208
+ If coverage for a Member or Dependent terminates because the person is outside
209
+ of the United States as discussed in PART III, Section C, Article 5, the Member
210
+ or Dependent may become eligible again for coverage under this Group Policy, but
211
+ only if:
212
+
213
+ a. the Member or Dependent return to the United States within six months of the
214
+ date on which coverage terminated because the person is outside of the United
215
+ States; and
216
+
217
+ b. in the case of a Member, the Member returns to Active Work in the United States
218
+ for the Policyholder for a period of at least 30 consecutive days. The Member
219
+ will be eligible for coverage on the day immediately following completion of the
220
+ 30 consecutive days of Active Work; and
221
+
222
+ c. in the case of the Dependent, he or she remains in the United States for 30
223
+ consecutive days. If the Dependent does so, he or she will be eligible for reinstatement
224
+ of coverage on the day after completion of the 30 consecutive days of residence.
225
+
226
+ The reinstated coverage will be on the same basis as that being provided on the
227
+ date coverage is reinstated. However, any restrictions on this coverage that were
228
+ in effect before reinstatement will continue to apply. If the Member or Dependent
229
+ does not complete the 30 consecutive days of residence, the coverage for such
230
+ person will not be reinstated.
231
+
232
+ '
233
+ - '
234
+
235
+ Article 2 - Member Accidental Death and Dismemberment Insurance
236
+
237
+ A person will be eligible for Member Accidental Death and Dismemberment Insurance
238
+ on the latest of:
239
+
240
+ a. the date the person is eligible for Member Life Insurance; or
241
+
242
+ b. the date the person enters a class for which Member Accidental Death and Dismemberment
243
+ Insurance is provided under this Group Policy; or
244
+
245
+ c. the date Member Accidental Death and Dismemberment Insurance is added to this
246
+ Group Policy.
247
+
248
+ '
249
+ pipeline_tag: sentence-similarity
250
+ ---
251
+
252
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
253
+
254
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) on the q_a, mlm and simce datasets. It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
255
+
256
+ ## Model Details
257
+
258
+ ### Model Description
259
+ - **Model Type:** Sentence Transformer
260
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision 8b3219a92973c328a8e22fadcfa821b5dc75636a -->
261
+ - **Maximum Sequence Length:** 256 tokens
262
+ - **Output Dimensionality:** 384 tokens
263
+ - **Similarity Function:** Cosine Similarity
264
+ - **Training Datasets:**
265
+ - q_a
266
+ - mlm
267
+ - simce
268
+ <!-- - **Language:** Unknown -->
269
+ <!-- - **License:** Unknown -->
270
+
271
+ ### Model Sources
272
+
273
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
274
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
275
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
276
+
277
+ ### Full Model Architecture
278
+
279
+ ```
280
+ SentenceTransformer(
281
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel
282
+ (1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
283
+ (2): Normalize()
284
+ )
285
+ ```
286
+
287
+ ## Usage
288
+
289
+ ### Direct Usage (Sentence Transformers)
290
+
291
+ First install the Sentence Transformers library:
292
+
293
+ ```bash
294
+ pip install -U sentence-transformers
295
+ ```
296
+
297
+ Then you can load this model and run inference.
298
+ ```python
299
+ from sentence_transformers import SentenceTransformer
300
+
301
+ # Download from the 🤗 Hub
302
+ model = SentenceTransformer("Anakeen/all-MiniLM-L6-v2_lr0.00065")
303
+ # Run inference
304
+ sentences = [
305
+ '\nActive Work; Actively at Work\nA Member will be considered Actively at Work if he or she is able and available for active performance of all of his or her regular duties. Short term absence because of a regularly scheduled day off, holiday, vacation day, jury duty, funeral leave, or personal time off is considered Active Work provided the Member is able and available for active performance of all of his or her regular duties and was working the day immediately prior to the date of his or her absence.\n',
306
+ "\nArticle 3 - Termination Rights of The Principal\nThe Principal may nonrenew or terminate this Group Policy by giving the Policyholder 31 days advance notice in Writing, if the Policyholder:\na. ceases to be actively engaged in business for profit within the meaning of the Internal Revenue Code, or be established as a legitimate nonprofit corporation within the meaning of the Internal Revenue Code; or\nb. fails to maintain the participation percentages requirements of PART II, Section A with respect to eligible employees, excluding those for whom Proof of Good Health is not satisfactory to The Principal; or\nc. fails to maintain three or more insured employees under this Group Policy; or\nd. fails to pay premium in accordance with the requirements of PART II, Section B; or\ne. has performed an act or practice that constitutes fraud or has made an intentional misrepresentation of material fact under the terms of this Group Policy; or\nf. does not promptly provide The Principal with information that is reasonably required; or\ng. fails to perform any of its obligations that relate to this Group Policy.\nThe Principal may terminate the Policyholder's coverage on any premium due date if the Policyholder relocates to a state where this Group Policy is not marketed, by giving the Policyholder 31 days advanced notice in Writing.\n",
307
+ '\nArticle 3 - Reinstatement of Coverage for a Member or Dependent When Coverage Ends due to Living Outside of the United States\nIf coverage for a Member or Dependent terminates because the person is outside of the United States as discussed in PART III, Section C, Article 5, the Member or Dependent may become eligible again for coverage under this Group Policy, but only if:\na. the Member or Dependent return to the United States within six months of the date on which coverage terminated because the person is outside of the United States; and\nb. in the case of a Member, the Member returns to Active Work in the United States for the Policyholder for a period of at least 30 consecutive days. The Member will be eligible for coverage on the day immediately following completion of the 30 consecutive days of Active Work; and\nc. in the case of the Dependent, he or she remains in the United States for 30 consecutive days. If the Dependent does so, he or she will be eligible for reinstatement of coverage on the day after completion of the 30 consecutive days of residence.\nThe reinstated coverage will be on the same basis as that being provided on the date coverage is reinstated. However, any restrictions on this coverage that were in effect before reinstatement will continue to apply. If the Member or Dependent does not complete the 30 consecutive days of residence, the coverage for such person will not be reinstated.\n',
308
+ ]
309
+ embeddings = model.encode(sentences)
310
+ print(embeddings.shape)
311
+ # [3, 384]
312
+
313
+ # Get the similarity scores for the embeddings
314
+ similarities = model.similarity(embeddings, embeddings)
315
+ print(similarities.shape)
316
+ # [3, 3]
317
+ ```
318
+
319
+ <!--
320
+ ### Direct Usage (Transformers)
321
+
322
+ <details><summary>Click to see the direct usage in Transformers</summary>
323
+
324
+ </details>
325
+ -->
326
+
327
+ <!--
328
+ ### Downstream Usage (Sentence Transformers)
329
+
330
+ You can finetune this model on your own dataset.
331
+
332
+ <details><summary>Click to expand</summary>
333
+
334
+ </details>
335
+ -->
336
+
337
+ <!--
338
+ ### Out-of-Scope Use
339
+
340
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
341
+ -->
342
+
343
+ <!--
344
+ ## Bias, Risks and Limitations
345
+
346
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
347
+ -->
348
+
349
+ <!--
350
+ ### Recommendations
351
+
352
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
353
+ -->
354
+
355
+ ## Training Details
356
+
357
+ ### Training Datasets
358
+
359
+ #### q_a
360
+
361
+ * Dataset: q_a
362
+ * Size: 27 training samples
363
+ * Columns: <code>query</code> and <code>positive</code>
364
+ * Approximate statistics based on the first 1000 samples:
365
+ | | query | positive |
366
+ |:--------|:---------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
367
+ | type | string | string |
368
+ | details | <ul><li>min: 3 tokens</li><li>mean: 5.52 tokens</li><li>max: 21 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 78.96 tokens</li><li>max: 254 tokens</li></ul> |
369
+ * Samples:
370
+ | query | positive |
371
+ |:----------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
372
+ | <code>Active Work; Actively at Work</code> | <code>A Member will be considered Actively at Work if he or she is able and available for active performance of all of his or her regular duties. Short term absence because of a regularly scheduled day off, holiday, vacation day, jury duty, funeral leave, or personal time off is considered Active Work provided the Member is able and available for active performance of all of his or her regular duties and was working the day immediately prior to the date of his or her absence.<br></code> |
373
+ | <code>Activities of Daily Living (ADL)</code> | <code>a. Bathing - the ability to wash oneself in the tub or shower or by sponge with or without equipment or adaptive devices.<br>b. Dressing - the ability to put on and take off garments and medically necessary braces or artificial limbs usually worn and to fasten or unfasten them.<br>c. Eating/Feeding - the ability to get nourishment into the body by any means once it has been prepared and made available.<br>d. Toileting - the ability to get to and from and on and off the toilet, to maintain a reasonable level of personal hygiene and to care for clothing.<br>e. Transferring - the ability to move in and out of a chair or bed with or without equipment such as canes, quad canes, walkers, crutches, grab bars or other support devices including mechanical or motorized devices.<br>f. Continence - the ability to voluntarily control bowel and bladder function, or in the event of incontinence, the ability to maintain a reasonable level of personal hygiene.<br></code> |
374
+ | <code>Activities of Daily Living (ADL) Disabled; Activities of Daily Living (ADL) Disability</code> | <code>A Member will be considered disabled under this provision if, as a result of sickness or injury, the Member has lost the ability to safely and completely perform two or more Activities of Daily Living without another person's assistance or verbal cueing or the Member has a deterioration or loss in intellectual capacity and needs another person's assistance or verbal cueing for his or her protection or for the protection of others and the Member is Totally Disabled.<br></code> |
375
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
376
+ ```json
377
+ {
378
+ "scale": 20.0,
379
+ "similarity_fct": "cos_sim"
380
+ }
381
+ ```
382
+
383
+ #### mlm
384
+
385
+ * Dataset: mlm
386
+ * Size: 122 training samples
387
+ * Columns: <code>query</code> and <code>positive</code>
388
+ * Approximate statistics based on the first 1000 samples:
389
+ | | query | positive |
390
+ |:--------|:------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|
391
+ | type | string | string |
392
+ | details | <ul><li>min: 7 tokens</li><li>mean: 132.83 tokens</li><li>max: 256 tokens</li></ul> | <ul><li>min: 7 tokens</li><li>mean: 135.05 tokens</li><li>max: 256 tokens</li></ul> |
393
+ * Samples:
394
+ | query | positive |
395
+ |:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
396
+ | <code>POLICY [MASK] S655 COVERAGE: Life POLICY RIDER [MASK] INSURANCE [MASK] RHODE ISLAND [MASK] DOE Effective on the later of [MASK] Date of Issue of this Group [MASK] or March 1, 2005, the following will apply to your Policy: From time to [MASK] The Principal [MASK] offer or provide certain employer groups who apply for coverage with The Principal a Financial Services Hotline and Grief Support Services or [MASK] other value added service for the employees of that employer group. In addition, The Principal may arrange for third party [MASK] [MASK] [MASK] optometrists, health clubs), to provide discounted goods and services to those employer groups who apply [MASK] coverage with The Principal or who become insureds/enrollees of The Principal. While The Principal has arranged these [MASK] services [MASK] third party provider discounts, [MASK] third party [MASK] providers [MASK] liable to [MASK] applicants/insureds/enrollees for the provision of such goods and/or services. The Principal is not responsible [MASK] the provision of such goods [MASK] services nor is it [MASK] for the failure of the provision of the same. Further, [MASK] Principal is not liable to the [MASK] for the negligent provision of such goods and/or services by the third party [MASK] providers. EXCEPT AS SPECIFICALLY DESCRIBED IN THIS RIDER, ALL [MASK] BENEFITS AND PROVISIONS WILL BE AS DESCRIBED IN THE GROUP POLICY. PRINCIPAL LIFE INSURANCE COMPANY DES [MASK] IOWA 50392-0001 </code> | <code><br>POLICY NO: S655 COVERAGE: Life POLICY RIDER GROUP INSURANCE EMPLOYER: RHODE ISLAND JOHN DOE Effective on the later of the Date of Issue of this Group Policy or March 1, 2005, the following will apply to your Policy: From time to time The Principal may offer or provide certain employer groups who apply for coverage with The Principal a Financial Services Hotline and Grief Support Services or any other value added service for the employees of that employer group. In addition, The Principal may arrange for third party service providers (i.e., optometrists, health clubs), to provide discounted goods and services to those employer groups who apply for coverage with The Principal or who become insureds/enrollees of The Principal. While The Principal has arranged these goods, services and/or third party provider discounts, the third party service providers are liable to the applicants/insureds/enrollees for the provision of such goods and/or services. The Principal is not responsible for the provision of such goods and/or services nor is it liable for the failure of the provision of the same. Further, The Principal is not liable to the applicants/insureds/enrollees for the negligent provision of such goods and/or services by the third party service providers. EXCEPT AS SPECIFICALLY DESCRIBED IN THIS RIDER, ALL OTHER BENEFITS AND PROVISIONS WILL BE AS DESCRIBED IN THE GROUP POLICY. PRINCIPAL LIFE INSURANCE COMPANY DES MOINES, IOWA 50392-0001<br></code> |
397
+ | <code>PRINCIPAL LIFE INSURANCE [MASK] (called The Principal in [MASK] Group Policy) Des Moines, Iowa 50392-0002 This group insurance policy is issued to: RHODE ISLAND JOHN [MASK] (called the Policyholder in this Group Policy) The Date of Issue is November 1, 2007. In [MASK] for the Policyholder's application [MASK] [MASK] of all premiums when due, The Principal agrees to provide: MEMBER [MASK] INSURANCE MEMBER [MASK] DEATH AND DISMEMBERMENT INSURANCE DEPENDENT LIFE [MASK] [MASK] to the terms and conditions [MASK] in this Group Policy. GROUP POLICY NO. GL [MASK] RENEWABLE TERM - NON-PARTICIPATING CONTRACT STATE OF ISSUE: RHODE ISLAND </code> | <code><br>PRINCIPAL LIFE INSURANCE COMPANY (called The Principal in this Group Policy) Des Moines, Iowa 50392-0002 This group insurance policy is issued to: RHODE ISLAND JOHN DOE (called the Policyholder in this Group Policy) The Date of Issue is November 1, 2007. In return for the Policyholder's application and payment of all premiums when due, The Principal agrees to provide: MEMBER LIFE INSURANCE MEMBER ACCIDENTAL DEATH AND DISMEMBERMENT INSURANCE DEPENDENT LIFE INSURANCE subject to the terms and conditions described in this Group Policy. GROUP POLICY NO. GL S655 RENEWABLE TERM - NON-PARTICIPATING CONTRACT STATE OF ISSUE: RHODE ISLAND<br></code> |
398
+ | <code>[MASK] Work; Actively at Work A Member will be [MASK] Actively at Work if he or she is [MASK] and available for active performance of all of his or [MASK] regular duties. Short term [MASK] because of a regularly scheduled day off, holiday, vacation [MASK] jury duty, funeral leave, or personal [MASK] off is considered Active Work provided the Member is able [MASK] available for active performance of all of [MASK] or her regular duties and was working the day immediately prior to the date of his or her absence. </code> | <code><br>Active Work; Actively at Work A Member will be considered Actively at Work if he or she is able and available for active performance of all of his or her regular duties. Short term absence because of a regularly scheduled day off, holiday, vacation day, jury duty, funeral leave, or personal time off is considered Active Work provided the Member is able and available for active performance of all of his or her regular duties and was working the day immediately prior to the date of his or her absence.<br></code> |
399
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
400
+ ```json
401
+ {
402
+ "scale": 20.0,
403
+ "similarity_fct": "cos_sim"
404
+ }
405
+ ```
406
+
407
+ #### simce
408
+
409
+ * Dataset: simce
410
+ * Size: 14,884 training samples
411
+ * Columns: <code>anchor</code>, <code>premise</code>, and <code>label</code>
412
+ * Approximate statistics based on the first 1000 samples:
413
+ | | anchor | premise | label |
414
+ |:--------|:-------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:-----------------------------------------------|
415
+ | type | string | string | int |
416
+ | details | <ul><li>min: 20 tokens</li><li>mean: 121.09 tokens</li><li>max: 256 tokens</li></ul> | <ul><li>min: 7 tokens</li><li>mean: 135.54 tokens</li><li>max: 256 tokens</li></ul> | <ul><li>0: ~99.10%</li><li>1: ~0.90%</li></ul> |
417
+ * Samples:
418
+ | anchor | premise | label |
419
+ |:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------|
420
+ | <code><br>POLICY NO: S655<br>COVERAGE: Life<br>POLICY RIDER GROUP INSURANCE<br>EMPLOYER: RHODE ISLAND JOHN DOE<br>Effective on the later of the Date of Issue of this Group Policy or March 1, 2005, the following will apply to your Policy:<br>From time to time The Principal may offer or provide certain employer groups who apply for coverage with The Principal a Financial Services Hotline and Grief Support Services or any other value added service for the employees of that employer group. In addition, The Principal may arrange for third party service providers (i.e., optometrists, health clubs), to provide discounted goods and services to those employer groups who apply for coverage with The Principal or who become insureds/enrollees of The Principal. While The Principal has arranged these goods, services and/or third party provider discounts, the third party service providers are liable to the applicants/insureds/enrollees for the provision of such goods and/or services. The Principal is not responsible for the provision of such goods and/or services nor is it liable for the failure of the provision of the same. Further, The Principal is not liable to the applicants/insureds/enrollees for the negligent provision of such goods and/or services by the third party service providers.<br>EXCEPT AS SPECIFICALLY DESCRIBED IN THIS RIDER, ALL OTHER BENEFITS AND PROVISIONS WILL BE AS DESCRIBED IN THE GROUP POLICY.<br>PRINCIPAL LIFE INSURANCE COMPANY DES MOINES, IOWA 50392-0001<br></code> | <code><br>POLICY NO: S655<br>COVERAGE: Life<br>POLICY RIDER GROUP INSURANCE<br>EMPLOYER: RHODE ISLAND JOHN DOE<br>Effective on the later of the Date of Issue of this Group Policy or March 1, 2005, the following will apply to your Policy:<br>From time to time The Principal may offer or provide certain employer groups who apply for coverage with The Principal a Financial Services Hotline and Grief Support Services or any other value added service for the employees of that employer group. In addition, The Principal may arrange for third party service providers (i.e., optometrists, health clubs), to provide discounted goods and services to those employer groups who apply for coverage with The Principal or who become insureds/enrollees of The Principal. While The Principal has arranged these goods, services and/or third party provider discounts, the third party service providers are liable to the applicants/insureds/enrollees for the provision of such goods and/or services. The Principal is not responsible for the provision of such goods and/or services nor is it liable for the failure of the provision of the same. Further, The Principal is not liable to the applicants/insureds/enrollees for the negligent provision of such goods and/or services by the third party service providers.<br>EXCEPT AS SPECIFICALLY DESCRIBED IN THIS RIDER, ALL OTHER BENEFITS AND PROVISIONS WILL BE AS DESCRIBED IN THE GROUP POLICY.<br>PRINCIPAL LIFE INSURANCE COMPANY DES MOINES, IOWA 50392-0001<br></code> | <code>1</code> |
421
+ | <code><br>POLICY NO: S655<br>COVERAGE: Life<br>POLICY RIDER GROUP INSURANCE<br>EMPLOYER: RHODE ISLAND JOHN DOE<br>Effective on the later of the Date of Issue of this Group Policy or March 1, 2005, the following will apply to your Policy:<br>From time to time The Principal may offer or provide certain employer groups who apply for coverage with The Principal a Financial Services Hotline and Grief Support Services or any other value added service for the employees of that employer group. In addition, The Principal may arrange for third party service providers (i.e., optometrists, health clubs), to provide discounted goods and services to those employer groups who apply for coverage with The Principal or who become insureds/enrollees of The Principal. While The Principal has arranged these goods, services and/or third party provider discounts, the third party service providers are liable to the applicants/insureds/enrollees for the provision of such goods and/or services. The Principal is not responsible for the provision of such goods and/or services nor is it liable for the failure of the provision of the same. Further, The Principal is not liable to the applicants/insureds/enrollees for the negligent provision of such goods and/or services by the third party service providers.<br>EXCEPT AS SPECIFICALLY DESCRIBED IN THIS RIDER, ALL OTHER BENEFITS AND PROVISIONS WILL BE AS DESCRIBED IN THE GROUP POLICY.<br>PRINCIPAL LIFE INSURANCE COMPANY DES MOINES, IOWA 50392-0001<br></code> | <code><br>PRINCIPAL LIFE INSURANCE COMPANY (called The Principal in this Group Policy) Des Moines, Iowa 50392-0002<br>This group insurance policy is issued to:<br>RHODE ISLAND JOHN DOE<br>(called the Policyholder in this Group Policy) The Date of Issue is November 1, 2007.<br>In return for the Policyholder's application and payment of all premiums when due, The Principal agrees to provide:<br>MEMBER LIFE INSURANCE<br>MEMBER ACCIDENTAL DEATH AND DISMEMBERMENT INSURANCE DEPENDENT LIFE INSURANCE<br>subject to the terms and conditions described in this Group Policy.<br>GROUP POLICY NO. GL S655<br>RENEWABLE TERM - NON-PARTICIPATING CONTRACT STATE OF ISSUE: RHODE ISLAND<br></code> | <code>0</code> |
422
+ | <code><br>POLICY NO: S655<br>COVERAGE: Life<br>POLICY RIDER GROUP INSURANCE<br>EMPLOYER: RHODE ISLAND JOHN DOE<br>Effective on the later of the Date of Issue of this Group Policy or March 1, 2005, the following will apply to your Policy:<br>From time to time The Principal may offer or provide certain employer groups who apply for coverage with The Principal a Financial Services Hotline and Grief Support Services or any other value added service for the employees of that employer group. In addition, The Principal may arrange for third party service providers (i.e., optometrists, health clubs), to provide discounted goods and services to those employer groups who apply for coverage with The Principal or who become insureds/enrollees of The Principal. While The Principal has arranged these goods, services and/or third party provider discounts, the third party service providers are liable to the applicants/insureds/enrollees for the provision of such goods and/or services. The Principal is not responsible for the provision of such goods and/or services nor is it liable for the failure of the provision of the same. Further, The Principal is not liable to the applicants/insureds/enrollees for the negligent provision of such goods and/or services by the third party service providers.<br>EXCEPT AS SPECIFICALLY DESCRIBED IN THIS RIDER, ALL OTHER BENEFITS AND PROVISIONS WILL BE AS DESCRIBED IN THE GROUP POLICY.<br>PRINCIPAL LIFE INSURANCE COMPANY DES MOINES, IOWA 50392-0001<br></code> | <code><br>Active Work; Actively at Work<br>A Member will be considered Actively at Work if he or she is able and available for active performance of all of his or her regular duties. Short term absence because of a regularly scheduled day off, holiday, vacation day, jury duty, funeral leave, or personal time off is considered Active Work provided the Member is able and available for active performance of all of his or her regular duties and was working the day immediately prior to the date of his or her absence.<br></code> | <code>0</code> |
423
+ * Loss: [<code>OnlineContrastiveLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#onlinecontrastiveloss)
424
+
425
+ ### Training Hyperparameters
426
+ #### Non-Default Hyperparameters
427
+
428
+ - `per_device_train_batch_size`: 16
429
+ - `per_device_eval_batch_size`: 16
430
+ - `learning_rate`: 0.00065
431
+ - `num_train_epochs`: 1
432
+ - `warmup_ratio`: 0.1
433
+
434
+ #### All Hyperparameters
435
+ <details><summary>Click to expand</summary>
436
+
437
+ - `overwrite_output_dir`: False
438
+ - `do_predict`: False
439
+ - `eval_strategy`: no
440
+ - `prediction_loss_only`: True
441
+ - `per_device_train_batch_size`: 16
442
+ - `per_device_eval_batch_size`: 16
443
+ - `per_gpu_train_batch_size`: None
444
+ - `per_gpu_eval_batch_size`: None
445
+ - `gradient_accumulation_steps`: 1
446
+ - `eval_accumulation_steps`: None
447
+ - `learning_rate`: 0.00065
448
+ - `weight_decay`: 0.0
449
+ - `adam_beta1`: 0.9
450
+ - `adam_beta2`: 0.999
451
+ - `adam_epsilon`: 1e-08
452
+ - `max_grad_norm`: 1.0
453
+ - `num_train_epochs`: 1
454
+ - `max_steps`: -1
455
+ - `lr_scheduler_type`: linear
456
+ - `lr_scheduler_kwargs`: {}
457
+ - `warmup_ratio`: 0.1
458
+ - `warmup_steps`: 0
459
+ - `log_level`: passive
460
+ - `log_level_replica`: warning
461
+ - `log_on_each_node`: True
462
+ - `logging_nan_inf_filter`: True
463
+ - `save_safetensors`: True
464
+ - `save_on_each_node`: False
465
+ - `save_only_model`: False
466
+ - `restore_callback_states_from_checkpoint`: False
467
+ - `no_cuda`: False
468
+ - `use_cpu`: False
469
+ - `use_mps_device`: False
470
+ - `seed`: 42
471
+ - `data_seed`: None
472
+ - `jit_mode_eval`: False
473
+ - `use_ipex`: False
474
+ - `bf16`: False
475
+ - `fp16`: False
476
+ - `fp16_opt_level`: O1
477
+ - `half_precision_backend`: auto
478
+ - `bf16_full_eval`: False
479
+ - `fp16_full_eval`: False
480
+ - `tf32`: None
481
+ - `local_rank`: 0
482
+ - `ddp_backend`: None
483
+ - `tpu_num_cores`: None
484
+ - `tpu_metrics_debug`: False
485
+ - `debug`: []
486
+ - `dataloader_drop_last`: False
487
+ - `dataloader_num_workers`: 0
488
+ - `dataloader_prefetch_factor`: None
489
+ - `past_index`: -1
490
+ - `disable_tqdm`: False
491
+ - `remove_unused_columns`: True
492
+ - `label_names`: None
493
+ - `load_best_model_at_end`: False
494
+ - `ignore_data_skip`: False
495
+ - `fsdp`: []
496
+ - `fsdp_min_num_params`: 0
497
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
498
+ - `fsdp_transformer_layer_cls_to_wrap`: None
499
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
500
+ - `deepspeed`: None
501
+ - `label_smoothing_factor`: 0.0
502
+ - `optim`: adamw_torch
503
+ - `optim_args`: None
504
+ - `adafactor`: False
505
+ - `group_by_length`: False
506
+ - `length_column_name`: length
507
+ - `ddp_find_unused_parameters`: None
508
+ - `ddp_bucket_cap_mb`: None
509
+ - `ddp_broadcast_buffers`: False
510
+ - `dataloader_pin_memory`: True
511
+ - `dataloader_persistent_workers`: False
512
+ - `skip_memory_metrics`: True
513
+ - `use_legacy_prediction_loop`: False
514
+ - `push_to_hub`: False
515
+ - `resume_from_checkpoint`: None
516
+ - `hub_model_id`: None
517
+ - `hub_strategy`: every_save
518
+ - `hub_private_repo`: False
519
+ - `hub_always_push`: False
520
+ - `gradient_checkpointing`: False
521
+ - `gradient_checkpointing_kwargs`: None
522
+ - `include_inputs_for_metrics`: False
523
+ - `eval_do_concat_batches`: True
524
+ - `fp16_backend`: auto
525
+ - `push_to_hub_model_id`: None
526
+ - `push_to_hub_organization`: None
527
+ - `mp_parameters`:
528
+ - `auto_find_batch_size`: False
529
+ - `full_determinism`: False
530
+ - `torchdynamo`: None
531
+ - `ray_scope`: last
532
+ - `ddp_timeout`: 1800
533
+ - `torch_compile`: False
534
+ - `torch_compile_backend`: None
535
+ - `torch_compile_mode`: None
536
+ - `dispatch_batches`: None
537
+ - `split_batches`: None
538
+ - `include_tokens_per_second`: False
539
+ - `include_num_input_tokens_seen`: False
540
+ - `neftune_noise_alpha`: None
541
+ - `optim_target_modules`: None
542
+ - `batch_eval_metrics`: False
543
+ - `batch_sampler`: batch_sampler
544
+ - `multi_dataset_batch_sampler`: proportional
545
+
546
+ </details>
547
+
548
+ ### Training Logs
549
+ | Epoch | Step | Training Loss |
550
+ |:------:|:----:|:-------------:|
551
+ | 0.5313 | 500 | 0.3578 |
552
+
553
+
554
+ ### Framework Versions
555
+ - Python: 3.10.12
556
+ - Sentence Transformers: 3.0.1
557
+ - Transformers: 4.41.2
558
+ - PyTorch: 2.3.0+cu121
559
+ - Accelerate: 0.31.0
560
+ - Datasets: 2.20.0
561
+ - Tokenizers: 0.19.1
562
+
563
+ ## Citation
564
+
565
+ ### BibTeX
566
+
567
+ #### Sentence Transformers
568
+ ```bibtex
569
+ @inproceedings{reimers-2019-sentence-bert,
570
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
571
+ author = "Reimers, Nils and Gurevych, Iryna",
572
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
573
+ month = "11",
574
+ year = "2019",
575
+ publisher = "Association for Computational Linguistics",
576
+ url = "https://arxiv.org/abs/1908.10084",
577
+ }
578
+ ```
579
+
580
+ #### MultipleNegativesRankingLoss
581
+ ```bibtex
582
+ @misc{henderson2017efficient,
583
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
584
+ 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},
585
+ year={2017},
586
+ eprint={1705.00652},
587
+ archivePrefix={arXiv},
588
+ primaryClass={cs.CL}
589
+ }
590
+ ```
591
+
592
+ <!--
593
+ ## Glossary
594
+
595
+ *Clearly define terms in order to be accessible across audiences.*
596
+ -->
597
+
598
+ <!--
599
+ ## Model Card Authors
600
+
601
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
602
+ -->
603
+
604
+ <!--
605
+ ## Model Card Contact
606
+
607
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
608
+ -->
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/all-MiniLM-L6-v2",
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 1536,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 6,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.41.2",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 30522
26
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.0.1",
4
+ "transformers": "4.41.2",
5
+ "pytorch": "2.3.0+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:39260574ef83e617999e1d236ff800862eed357362216b555c40787b3eb2f362
3
+ size 90864192
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": 256,
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,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "max_length": 128,
50
+ "model_max_length": 256,
51
+ "never_split": null,
52
+ "pad_to_multiple_of": null,
53
+ "pad_token": "[PAD]",
54
+ "pad_token_type_id": 0,
55
+ "padding_side": "right",
56
+ "sep_token": "[SEP]",
57
+ "stride": 0,
58
+ "strip_accents": null,
59
+ "tokenize_chinese_chars": true,
60
+ "tokenizer_class": "BertTokenizer",
61
+ "truncation_side": "right",
62
+ "truncation_strategy": "longest_first",
63
+ "unk_token": "[UNK]"
64
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff