jet-taekyo commited on
Commit
5265d90
1 Parent(s): 2e17bec

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,851 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Snowflake/snowflake-arctic-embed-m
3
+ library_name: sentence-transformers
4
+ metrics:
5
+ - cosine_accuracy@1
6
+ - cosine_accuracy@3
7
+ - cosine_accuracy@5
8
+ - cosine_accuracy@10
9
+ - cosine_precision@1
10
+ - cosine_precision@3
11
+ - cosine_precision@5
12
+ - cosine_precision@10
13
+ - cosine_recall@1
14
+ - cosine_recall@3
15
+ - cosine_recall@5
16
+ - cosine_recall@10
17
+ - cosine_ndcg@10
18
+ - cosine_mrr@10
19
+ - cosine_map@100
20
+ - dot_accuracy@1
21
+ - dot_accuracy@3
22
+ - dot_accuracy@5
23
+ - dot_accuracy@10
24
+ - dot_precision@1
25
+ - dot_precision@3
26
+ - dot_precision@5
27
+ - dot_precision@10
28
+ - dot_recall@1
29
+ - dot_recall@3
30
+ - dot_recall@5
31
+ - dot_recall@10
32
+ - dot_ndcg@10
33
+ - dot_mrr@10
34
+ - dot_map@100
35
+ pipeline_tag: sentence-similarity
36
+ tags:
37
+ - sentence-transformers
38
+ - sentence-similarity
39
+ - feature-extraction
40
+ - generated_from_trainer
41
+ - dataset_size:714
42
+ - loss:MatryoshkaLoss
43
+ - loss:MultipleNegativesRankingLoss
44
+ widget:
45
+ - source_sentence: What are some examples of data privacy issues mentioned in the
46
+ context?
47
+ sentences:
48
+ - "on a principle of local control, such that those individuals closest to the data\
49
+ \ subject have more access while \nthose who are less proximate do not (e.g.,\
50
+ \ a teacher has access to their students’ daily progress data while a \nsuperintendent\
51
+ \ does not). \nReporting. In addition to the reporting on data privacy (as listed\
52
+ \ above for non-sensitive data), entities devel-\noping technologies related to\
53
+ \ a sensitive domain and those collecting, using, storing, or sharing sensitive\
54
+ \ data \nshould, whenever appropriate, regularly provide public reports describing:\
55
+ \ any data security lapses or breaches \nthat resulted in sensitive data leaks;\
56
+ \ the number, type, and outcomes of ethical pre-reviews undertaken; a \ndescription\
57
+ \ of any data sold, shared, or made public, and how that data was assessed to\
58
+ \ determine it did not pres-\nent a sensitive data risk; and ongoing risk identification\
59
+ \ and management procedures, and any mitigation added"
60
+ - "DATA PRIVACY \nHOW THESE PRINCIPLES CAN MOVE INTO PRACTICE\nReal-life examples\
61
+ \ of how these principles can become reality, through laws, policies, and practical\
62
+ \ \ntechnical and sociotechnical approaches to protecting rights, opportunities,\
63
+ \ and access. \nThe Privacy Act of 1974 requires privacy protections for personal\
64
+ \ information in federal \nrecords systems, including limits on data retention,\
65
+ \ and also provides individuals a general \nright to access and correct their\
66
+ \ data. Among other things, the Privacy Act limits the storage of individual \n\
67
+ information in federal systems of records, illustrating the principle of limiting\
68
+ \ the scope of data retention. Under \nthe Privacy Act, federal agencies may only\
69
+ \ retain data about an individual that is “relevant and necessary” to \naccomplish\
70
+ \ an agency’s statutory purpose or to comply with an Executive Order of the President.\
71
+ \ The law allows"
72
+ - "DATA PRIVACY \nWHY THIS PRINCIPLE IS IMPORTANT\nThis section provides a brief\
73
+ \ summary of the problems which the principle seeks to address and protect \n\
74
+ against, including illustrative examples. \n•\nAn insurer might collect data from\
75
+ \ a person's social media presence as part of deciding what life\ninsurance rates\
76
+ \ they should be offered.64\n•\nA data broker harvested large amounts of personal\
77
+ \ data and then suffered a breach, exposing hundreds of\nthousands of people to\
78
+ \ potential identity theft. 65\n•\nA local public housing authority installed\
79
+ \ a facial recognition system at the entrance to housing complexes to\nassist\
80
+ \ law enforcement with identifying individuals viewed via camera when police reports\
81
+ \ are filed, leading\nthe community, both those living in the housing complex\
82
+ \ and not, to have videos of them sent to the local\npolice department and made\
83
+ \ available for scanning by its facial recognition software.66\n•"
84
+ - source_sentence: What are the main topics covered in the National Institute of Standards
85
+ and Technology's AI Risk Management Framework?
86
+ sentences:
87
+ - "https://www.rand.org/pubs/research_reports/RRA2977-2.html. \nNicoletti, L. et\
88
+ \ al. (2023) Humans Are Biased. Generative Ai Is Even Worse. Bloomberg. \nhttps://www.bloomberg.com/graphics/2023-generative-ai-bias/.\
89
+ \ \nNational Institute of Standards and Technology (2024) Adversarial Machine\
90
+ \ Learning: A Taxonomy and \nTerminology of Attacks and Mitigations https://csrc.nist.gov/pubs/ai/100/2/e2023/final\
91
+ \ \nNational Institute of Standards and Technology (2023) AI Risk Management Framework.\
92
+ \ \nhttps://www.nist.gov/itl/ai-risk-management-framework \nNational Institute\
93
+ \ of Standards and Technology (2023) AI Risk Management Framework, Chapter 3:\
94
+ \ AI \nRisks and Trustworthiness. \nhttps://airc.nist.gov/AI_RMF_Knowledge_Base/AI_RMF/Foundational_Information/3-sec-characteristics\
95
+ \ \nNational Institute of Standards and Technology (2023) AI Risk Management Framework,\
96
+ \ Chapter 6: AI \nRMF Profiles. https://airc.nist.gov/AI_RMF_Knowledge_Base/AI_RMF/Core_And_Profiles/6-sec-profile"
97
+ - "(e.g., via red-teaming, field testing, participatory engagements, performance\
98
+ \ \nassessments, user feedback mechanisms). \nHuman-AI Configuration \nAI Actor\
99
+ \ Tasks: AI Development, AI Deployment, AI Impact Assessment, Operation and Monitoring\
100
+ \ \n \nMANAGE 2.2: Mechanisms are in place and applied to sustain the value of\
101
+ \ deployed AI systems. \nAction ID \nSuggested Action \nGAI Risks \nMG-2.2-001\
102
+ \ \nCompare GAI system outputs against pre-defined organization risk tolerance,\
103
+ \ \nguidelines, and principles, and review and test AI-generated content against\
104
+ \ \nthese guidelines. \nCBRN Information or Capabilities; \nObscene, Degrading,\
105
+ \ and/or \nAbusive Content; Harmful Bias and \nHomogenization; Dangerous, \nViolent,\
106
+ \ or Hateful Content \nMG-2.2-002 \nDocument training data sources to trace the\
107
+ \ origin and provenance of AI-\ngenerated content. \nInformation Integrity \n\
108
+ MG-2.2-003 \nEvaluate feedback loops between GAI system content provenance and\
109
+ \ human"
110
+ - "domain or for functions that are required for administrative reasons (e.g., school\
111
+ \ attendance records), unless \nconsent is acquired, if appropriate, and the additional\
112
+ \ expectations in this section are met. Consent for non-\nnecessary functions\
113
+ \ should be optional, i.e., should not be required, incentivized, or coerced in\
114
+ \ order to \nreceive opportunities or access to services. In cases where data\
115
+ \ is provided to an entity (e.g., health insurance \ncompany) in order to facilitate\
116
+ \ payment for such a need, that data should only be used for that purpose. \n\
117
+ Ethical review and use prohibitions. Any use of sensitive data or decision process\
118
+ \ based in part on sensi-\ntive data that might limit rights, opportunities, or\
119
+ \ access, whether the decision is automated or not, should go \nthrough a thorough\
120
+ \ ethical review and monitoring, both in advance and by periodic review (e.g.,\
121
+ \ via an indepen-\ndent ethics committee or similarly robust process). In some\
122
+ \ cases, this ethical review may determine that data"
123
+ - source_sentence: How can organizations leverage user feedback to enhance content
124
+ provenance and risk management efforts?
125
+ sentences:
126
+ - "tested, there will always be situations for which the system fails. The American\
127
+ \ public deserves protection via human \nreview against these outlying or unexpected\
128
+ \ scenarios. In the case of time-critical systems, the public should not have\
129
+ \ \nto wait—immediate human consideration and fallback should be available. In\
130
+ \ many time-critical systems, such a \nremedy is already immediately available,\
131
+ \ such as a building manager who can open a door in the case an automated \ncard\
132
+ \ access system fails. \nIn the criminal justice system, employment, education,\
133
+ \ healthcare, and other sensitive domains, automated systems \nare used for many\
134
+ \ purposes, from pre-trial risk assessments and parole decisions to technologies\
135
+ \ that help doctors \ndiagnose disease. Absent appropriate safeguards, these technologies\
136
+ \ can lead to unfair, inaccurate, or dangerous \noutcomes. These sensitive domains\
137
+ \ require extra protections. It is critically important that there is extensive\
138
+ \ human \noversight in such settings."
139
+ - "enable organizations to maximize the utility of provenance data and risk management\
140
+ \ efforts. \nA.1.7. Enhancing Content Provenance through Structured Public Feedback\
141
+ \ \nWhile indirect feedback methods such as automated error collection systems\
142
+ \ are useful, they often lack \nthe context and depth that direct input from end\
143
+ \ users can provide. Organizations can leverage feedback \napproaches described\
144
+ \ in the Pre-Deployment Testing section to capture input from external sources\
145
+ \ such \nas through AI red-teaming. \nIntegrating pre- and post-deployment external\
146
+ \ feedback into the monitoring process for GAI models and \ncorresponding applications\
147
+ \ can help enhance awareness of performance changes and mitigate potential \n\
148
+ risks and harms from outputs. There are many ways to capture and make use of user\
149
+ \ feedback – before \nand after GAI systems and digital content transparency approaches\
150
+ \ are deployed – to gain insights about"
151
+ - "A.1. Governance \nA.1.1. Overview \nLike any other technology system, governance\
152
+ \ principles and techniques can be used to manage risks \nrelated to generative\
153
+ \ AI models, capabilities, and applications. Organizations may choose to apply\
154
+ \ their \nexisting risk tiering to GAI systems, or they may opt to revise or update\
155
+ \ AI system risk levels to address \nthese unique GAI risks. This section describes\
156
+ \ how organizational governance regimes may be re-\nevaluated and adjusted for\
157
+ \ GAI contexts. It also addresses third-party considerations for governing across\
158
+ \ \nthe AI value chain. \nA.1.2. Organizational Governance \nGAI opportunities,\
159
+ \ risks and long-term performance characteristics are typically less well-understood\
160
+ \ \nthan non-generative AI tools and may be perceived and acted upon by humans\
161
+ \ in ways that vary greatly. \nAccordingly, GAI may call for different levels of\
162
+ \ oversight from AI Actors or different human-AI"
163
+ - source_sentence: What should be ensured for users who have trouble with the automated
164
+ system?
165
+ sentences:
166
+ - "32 \nMEASURE 2.6: The AI system is evaluated regularly for safety risks – as\
167
+ \ identified in the MAP function. The AI system to be \ndeployed is demonstrated\
168
+ \ to be safe, its residual negative risk does not exceed the risk tolerance, and\
169
+ \ it can fail safely, particularly if \nmade to operate beyond its knowledge limits.\
170
+ \ Safety metrics reflect system reliability and robustness, real-time monitoring,\
171
+ \ and \nresponse times for AI system failures. \nAction ID \nSuggested Action\
172
+ \ \nGAI Risks \nMS-2.6-001 \nAssess adverse impacts, including health and wellbeing\
173
+ \ impacts for value chain \nor other AI Actors that are exposed to sexually explicit,\
174
+ \ offensive, or violent \ninformation during GAI training and maintenance. \nHuman-AI\
175
+ \ Configuration; Obscene, \nDegrading, and/or Abusive \nContent; Value Chain and\
176
+ \ \nComponent Integration; \nDangerous, Violent, or Hateful \nContent \nMS-2.6-002\
177
+ \ \nAssess existence or levels of harmful bias, intellectual property infringement,"
178
+ - "APPENDIX\nSystems that impact the safety of communities such as automated traffic\
179
+ \ control systems, elec \n-ctrical grid controls, smart city technologies, and\
180
+ \ industrial emissions and environmental\nimpact control algorithms; and\nSystems\
181
+ \ related to access to benefits or services or assignment of penalties such as\
182
+ \ systems that\nsupport decision-makers who adjudicate benefits such as collating\
183
+ \ or analyzing information or\nmatching records, systems which similarly assist\
184
+ \ in the adjudication of administrative or criminal\npenalties, fraud detection\
185
+ \ algorithms, services or benefits access control algorithms, biometric\nsystems\
186
+ \ used as access control, and systems which make benefits or services related\
187
+ \ decisions on a\nfully or partially autonomous basis (such as a determination\
188
+ \ to revoke benefits).\n54"
189
+ - "meaningfully impact rights, opportunities, or access should have greater availability\
190
+ \ (e.g., staffing) and over­\nsight of human consideration and fallback mechanisms.\
191
+ \ \nAccessible. Mechanisms for human consideration and fallback, whether in-person,\
192
+ \ on paper, by phone, or \notherwise provided, should be easy to find and use.\
193
+ \ These mechanisms should be tested to ensure that users \nwho have trouble with\
194
+ \ the automated system are able to use human consideration and fallback, with\
195
+ \ the under­\nstanding that it may be these users who are most likely to need\
196
+ \ the human assistance. Similarly, it should be \ntested to ensure that users\
197
+ \ with disabilities are able to find and use human consideration and fallback\
198
+ \ and also \nrequest reasonable accommodations or modifications. \nConvenient.\
199
+ \ Mechanisms for human consideration and fallback should not be unreasonably burdensome\
200
+ \ as \ncompared to the automated system’s equivalent. \n49"
201
+ - source_sentence: What must lenders provide to consumers who are denied credit under
202
+ the Fair Credit Reporting Act?
203
+ sentences:
204
+ - "8 \nTrustworthy AI Characteristics: Accountable and Transparent, Privacy Enhanced,\
205
+ \ Safe, Secure and \nResilient \n2.5. Environmental Impacts \nTraining, maintaining,\
206
+ \ and operating (running inference on) GAI systems are resource-intensive activities,\
207
+ \ \nwith potentially large energy and environmental footprints. Energy and carbon\
208
+ \ emissions vary based on \nwhat is being done with the GAI model (i.e., pre-training,\
209
+ \ fine-tuning, inference), the modality of the \ncontent, hardware used, and type\
210
+ \ of task or application. \nCurrent estimates suggest that training a single transformer\
211
+ \ LLM can emit as much carbon as 300 round-\ntrip flights between San Francisco\
212
+ \ and New York. In a study comparing energy consumption and carbon \nemissions\
213
+ \ for LLM inference, generative tasks (e.g., text summarization) were found to\
214
+ \ be more energy- \nand carbon-intensive than discriminative or non-generative\
215
+ \ tasks (e.g., text classification)."
216
+ - "that consumers who are denied credit receive \"adverse action\" notices. Anyone\
217
+ \ who relies on the information in a \ncredit report to deny a consumer credit\
218
+ \ must, under the Fair Credit Reporting Act, provide an \"adverse action\" \n\
219
+ notice to the consumer, which includes \"notice of the reasons a creditor took\
220
+ \ adverse action on the application \nor on an existing credit account.\"90 In\
221
+ \ addition, under the risk-based pricing rule,91 lenders must either inform \n\
222
+ borrowers of their credit score, or else tell consumers when \"they are getting\
223
+ \ worse terms because of \ninformation in their credit report.\" The CFPB has\
224
+ \ also asserted that \"[t]he law gives every applicant the right to \na specific\
225
+ \ explanation if their application for credit was denied, and that right is not\
226
+ \ diminished simply because \na company uses a complex algorithm that it doesn't\
227
+ \ understand.\"92 Such explanations illustrate a shared value \nthat certain decisions\
228
+ \ need to be explained."
229
+ - "measures to prevent, flag, or take other action in response to outputs that \n\
230
+ reproduce particular training data (e.g., plagiarized, trademarked, patented,\
231
+ \ \nlicensed content or trade secret material). \nIntellectual Property; CBRN\
232
+ \ \nInformation or Capabilities"
233
+ model-index:
234
+ - name: SentenceTransformer based on Snowflake/snowflake-arctic-embed-m
235
+ results:
236
+ - task:
237
+ type: information-retrieval
238
+ name: Information Retrieval
239
+ dataset:
240
+ name: Unknown
241
+ type: unknown
242
+ metrics:
243
+ - type: cosine_accuracy@1
244
+ value: 0.875
245
+ name: Cosine Accuracy@1
246
+ - type: cosine_accuracy@3
247
+ value: 0.9671052631578947
248
+ name: Cosine Accuracy@3
249
+ - type: cosine_accuracy@5
250
+ value: 0.9868421052631579
251
+ name: Cosine Accuracy@5
252
+ - type: cosine_accuracy@10
253
+ value: 0.993421052631579
254
+ name: Cosine Accuracy@10
255
+ - type: cosine_precision@1
256
+ value: 0.875
257
+ name: Cosine Precision@1
258
+ - type: cosine_precision@3
259
+ value: 0.3223684210526316
260
+ name: Cosine Precision@3
261
+ - type: cosine_precision@5
262
+ value: 0.19736842105263155
263
+ name: Cosine Precision@5
264
+ - type: cosine_precision@10
265
+ value: 0.09934210526315788
266
+ name: Cosine Precision@10
267
+ - type: cosine_recall@1
268
+ value: 0.875
269
+ name: Cosine Recall@1
270
+ - type: cosine_recall@3
271
+ value: 0.9671052631578947
272
+ name: Cosine Recall@3
273
+ - type: cosine_recall@5
274
+ value: 0.9868421052631579
275
+ name: Cosine Recall@5
276
+ - type: cosine_recall@10
277
+ value: 0.993421052631579
278
+ name: Cosine Recall@10
279
+ - type: cosine_ndcg@10
280
+ value: 0.9420758802321664
281
+ name: Cosine Ndcg@10
282
+ - type: cosine_mrr@10
283
+ value: 0.9248903508771928
284
+ name: Cosine Mrr@10
285
+ - type: cosine_map@100
286
+ value: 0.925488437001595
287
+ name: Cosine Map@100
288
+ - type: dot_accuracy@1
289
+ value: 0.875
290
+ name: Dot Accuracy@1
291
+ - type: dot_accuracy@3
292
+ value: 0.9671052631578947
293
+ name: Dot Accuracy@3
294
+ - type: dot_accuracy@5
295
+ value: 0.9868421052631579
296
+ name: Dot Accuracy@5
297
+ - type: dot_accuracy@10
298
+ value: 0.993421052631579
299
+ name: Dot Accuracy@10
300
+ - type: dot_precision@1
301
+ value: 0.875
302
+ name: Dot Precision@1
303
+ - type: dot_precision@3
304
+ value: 0.3223684210526316
305
+ name: Dot Precision@3
306
+ - type: dot_precision@5
307
+ value: 0.19736842105263155
308
+ name: Dot Precision@5
309
+ - type: dot_precision@10
310
+ value: 0.09934210526315788
311
+ name: Dot Precision@10
312
+ - type: dot_recall@1
313
+ value: 0.875
314
+ name: Dot Recall@1
315
+ - type: dot_recall@3
316
+ value: 0.9671052631578947
317
+ name: Dot Recall@3
318
+ - type: dot_recall@5
319
+ value: 0.9868421052631579
320
+ name: Dot Recall@5
321
+ - type: dot_recall@10
322
+ value: 0.993421052631579
323
+ name: Dot Recall@10
324
+ - type: dot_ndcg@10
325
+ value: 0.9420758802321664
326
+ name: Dot Ndcg@10
327
+ - type: dot_mrr@10
328
+ value: 0.9248903508771928
329
+ name: Dot Mrr@10
330
+ - type: dot_map@100
331
+ value: 0.925488437001595
332
+ name: Dot Map@100
333
+ - type: cosine_accuracy@1
334
+ value: 0.890625
335
+ name: Cosine Accuracy@1
336
+ - type: cosine_accuracy@3
337
+ value: 0.96875
338
+ name: Cosine Accuracy@3
339
+ - type: cosine_accuracy@5
340
+ value: 0.96875
341
+ name: Cosine Accuracy@5
342
+ - type: cosine_accuracy@10
343
+ value: 0.9765625
344
+ name: Cosine Accuracy@10
345
+ - type: cosine_precision@1
346
+ value: 0.890625
347
+ name: Cosine Precision@1
348
+ - type: cosine_precision@3
349
+ value: 0.32291666666666663
350
+ name: Cosine Precision@3
351
+ - type: cosine_precision@5
352
+ value: 0.19375000000000003
353
+ name: Cosine Precision@5
354
+ - type: cosine_precision@10
355
+ value: 0.09765625000000003
356
+ name: Cosine Precision@10
357
+ - type: cosine_recall@1
358
+ value: 0.890625
359
+ name: Cosine Recall@1
360
+ - type: cosine_recall@3
361
+ value: 0.96875
362
+ name: Cosine Recall@3
363
+ - type: cosine_recall@5
364
+ value: 0.96875
365
+ name: Cosine Recall@5
366
+ - type: cosine_recall@10
367
+ value: 0.9765625
368
+ name: Cosine Recall@10
369
+ - type: cosine_ndcg@10
370
+ value: 0.9391060398540476
371
+ name: Cosine Ndcg@10
372
+ - type: cosine_mrr@10
373
+ value: 0.9265625
374
+ name: Cosine Mrr@10
375
+ - type: cosine_map@100
376
+ value: 0.9282275883838385
377
+ name: Cosine Map@100
378
+ - type: dot_accuracy@1
379
+ value: 0.890625
380
+ name: Dot Accuracy@1
381
+ - type: dot_accuracy@3
382
+ value: 0.96875
383
+ name: Dot Accuracy@3
384
+ - type: dot_accuracy@5
385
+ value: 0.96875
386
+ name: Dot Accuracy@5
387
+ - type: dot_accuracy@10
388
+ value: 0.9765625
389
+ name: Dot Accuracy@10
390
+ - type: dot_precision@1
391
+ value: 0.890625
392
+ name: Dot Precision@1
393
+ - type: dot_precision@3
394
+ value: 0.32291666666666663
395
+ name: Dot Precision@3
396
+ - type: dot_precision@5
397
+ value: 0.19375000000000003
398
+ name: Dot Precision@5
399
+ - type: dot_precision@10
400
+ value: 0.09765625000000003
401
+ name: Dot Precision@10
402
+ - type: dot_recall@1
403
+ value: 0.890625
404
+ name: Dot Recall@1
405
+ - type: dot_recall@3
406
+ value: 0.96875
407
+ name: Dot Recall@3
408
+ - type: dot_recall@5
409
+ value: 0.96875
410
+ name: Dot Recall@5
411
+ - type: dot_recall@10
412
+ value: 0.9765625
413
+ name: Dot Recall@10
414
+ - type: dot_ndcg@10
415
+ value: 0.9391060398540476
416
+ name: Dot Ndcg@10
417
+ - type: dot_mrr@10
418
+ value: 0.9265625
419
+ name: Dot Mrr@10
420
+ - type: dot_map@100
421
+ value: 0.9282275883838385
422
+ name: Dot Map@100
423
+ ---
424
+
425
+ # SentenceTransformer based on Snowflake/snowflake-arctic-embed-m
426
+
427
+ 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.
428
+
429
+ ## Model Details
430
+
431
+ ### Model Description
432
+ - **Model Type:** Sentence Transformer
433
+ - **Base model:** [Snowflake/snowflake-arctic-embed-m](https://huggingface.co/Snowflake/snowflake-arctic-embed-m) <!-- at revision e2b128b9fa60c82b4585512b33e1544224ffff42 -->
434
+ - **Maximum Sequence Length:** 512 tokens
435
+ - **Output Dimensionality:** 768 tokens
436
+ - **Similarity Function:** Cosine Similarity
437
+ <!-- - **Training Dataset:** Unknown -->
438
+ <!-- - **Language:** Unknown -->
439
+ <!-- - **License:** Unknown -->
440
+
441
+ ### Model Sources
442
+
443
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
444
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
445
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
446
+
447
+ ### Full Model Architecture
448
+
449
+ ```
450
+ SentenceTransformer(
451
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
452
+ (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})
453
+ (2): Normalize()
454
+ )
455
+ ```
456
+
457
+ ## Usage
458
+
459
+ ### Direct Usage (Sentence Transformers)
460
+
461
+ First install the Sentence Transformers library:
462
+
463
+ ```bash
464
+ pip install -U sentence-transformers
465
+ ```
466
+
467
+ Then you can load this model and run inference.
468
+ ```python
469
+ from sentence_transformers import SentenceTransformer
470
+
471
+ # Download from the 🤗 Hub
472
+ model = SentenceTransformer("jet-taekyo/snowflake_finetuned_semantic")
473
+ # Run inference
474
+ sentences = [
475
+ 'What must lenders provide to consumers who are denied credit under the Fair Credit Reporting Act?',
476
+ 'that consumers who are denied credit receive "adverse action" notices. Anyone who relies on the information in a \ncredit report to deny a consumer credit must, under the Fair Credit Reporting Act, provide an "adverse action" \nnotice to the consumer, which includes "notice of the reasons a creditor took adverse action on the application \nor on an existing credit account."90 In addition, under the risk-based pricing rule,91 lenders must either inform \nborrowers of their credit score, or else tell consumers when "they are getting worse terms because of \ninformation in their credit report." The CFPB has also asserted that "[t]he law gives every applicant the right to \na specific explanation if their application for credit was denied, and that right is not diminished simply because \na company uses a complex algorithm that it doesn\'t understand."92 Such explanations illustrate a shared value \nthat certain decisions need to be explained.',
477
+ 'measures to prevent, flag, or take other action in response to outputs that \nreproduce particular training data (e.g., plagiarized, trademarked, patented, \nlicensed content or trade secret material). \nIntellectual Property; CBRN \nInformation or Capabilities',
478
+ ]
479
+ embeddings = model.encode(sentences)
480
+ print(embeddings.shape)
481
+ # [3, 768]
482
+
483
+ # Get the similarity scores for the embeddings
484
+ similarities = model.similarity(embeddings, embeddings)
485
+ print(similarities.shape)
486
+ # [3, 3]
487
+ ```
488
+
489
+ <!--
490
+ ### Direct Usage (Transformers)
491
+
492
+ <details><summary>Click to see the direct usage in Transformers</summary>
493
+
494
+ </details>
495
+ -->
496
+
497
+ <!--
498
+ ### Downstream Usage (Sentence Transformers)
499
+
500
+ You can finetune this model on your own dataset.
501
+
502
+ <details><summary>Click to expand</summary>
503
+
504
+ </details>
505
+ -->
506
+
507
+ <!--
508
+ ### Out-of-Scope Use
509
+
510
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
511
+ -->
512
+
513
+ ## Evaluation
514
+
515
+ ### Metrics
516
+
517
+ #### Information Retrieval
518
+
519
+ * Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
520
+
521
+ | Metric | Value |
522
+ |:--------------------|:-----------|
523
+ | cosine_accuracy@1 | 0.875 |
524
+ | cosine_accuracy@3 | 0.9671 |
525
+ | cosine_accuracy@5 | 0.9868 |
526
+ | cosine_accuracy@10 | 0.9934 |
527
+ | cosine_precision@1 | 0.875 |
528
+ | cosine_precision@3 | 0.3224 |
529
+ | cosine_precision@5 | 0.1974 |
530
+ | cosine_precision@10 | 0.0993 |
531
+ | cosine_recall@1 | 0.875 |
532
+ | cosine_recall@3 | 0.9671 |
533
+ | cosine_recall@5 | 0.9868 |
534
+ | cosine_recall@10 | 0.9934 |
535
+ | cosine_ndcg@10 | 0.9421 |
536
+ | cosine_mrr@10 | 0.9249 |
537
+ | **cosine_map@100** | **0.9255** |
538
+ | dot_accuracy@1 | 0.875 |
539
+ | dot_accuracy@3 | 0.9671 |
540
+ | dot_accuracy@5 | 0.9868 |
541
+ | dot_accuracy@10 | 0.9934 |
542
+ | dot_precision@1 | 0.875 |
543
+ | dot_precision@3 | 0.3224 |
544
+ | dot_precision@5 | 0.1974 |
545
+ | dot_precision@10 | 0.0993 |
546
+ | dot_recall@1 | 0.875 |
547
+ | dot_recall@3 | 0.9671 |
548
+ | dot_recall@5 | 0.9868 |
549
+ | dot_recall@10 | 0.9934 |
550
+ | dot_ndcg@10 | 0.9421 |
551
+ | dot_mrr@10 | 0.9249 |
552
+ | dot_map@100 | 0.9255 |
553
+
554
+ #### Information Retrieval
555
+
556
+ * Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
557
+
558
+ | Metric | Value |
559
+ |:--------------------|:-----------|
560
+ | cosine_accuracy@1 | 0.8906 |
561
+ | cosine_accuracy@3 | 0.9688 |
562
+ | cosine_accuracy@5 | 0.9688 |
563
+ | cosine_accuracy@10 | 0.9766 |
564
+ | cosine_precision@1 | 0.8906 |
565
+ | cosine_precision@3 | 0.3229 |
566
+ | cosine_precision@5 | 0.1938 |
567
+ | cosine_precision@10 | 0.0977 |
568
+ | cosine_recall@1 | 0.8906 |
569
+ | cosine_recall@3 | 0.9688 |
570
+ | cosine_recall@5 | 0.9688 |
571
+ | cosine_recall@10 | 0.9766 |
572
+ | cosine_ndcg@10 | 0.9391 |
573
+ | cosine_mrr@10 | 0.9266 |
574
+ | **cosine_map@100** | **0.9282** |
575
+ | dot_accuracy@1 | 0.8906 |
576
+ | dot_accuracy@3 | 0.9688 |
577
+ | dot_accuracy@5 | 0.9688 |
578
+ | dot_accuracy@10 | 0.9766 |
579
+ | dot_precision@1 | 0.8906 |
580
+ | dot_precision@3 | 0.3229 |
581
+ | dot_precision@5 | 0.1938 |
582
+ | dot_precision@10 | 0.0977 |
583
+ | dot_recall@1 | 0.8906 |
584
+ | dot_recall@3 | 0.9688 |
585
+ | dot_recall@5 | 0.9688 |
586
+ | dot_recall@10 | 0.9766 |
587
+ | dot_ndcg@10 | 0.9391 |
588
+ | dot_mrr@10 | 0.9266 |
589
+ | dot_map@100 | 0.9282 |
590
+
591
+ <!--
592
+ ## Bias, Risks and Limitations
593
+
594
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
595
+ -->
596
+
597
+ <!--
598
+ ### Recommendations
599
+
600
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
601
+ -->
602
+
603
+ ## Training Details
604
+
605
+ ### Training Dataset
606
+
607
+ #### Unnamed Dataset
608
+
609
+
610
+ * Size: 714 training samples
611
+ * Columns: <code>sentence_0</code> and <code>sentence_1</code>
612
+ * Approximate statistics based on the first 714 samples:
613
+ | | sentence_0 | sentence_1 |
614
+ |:--------|:----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|
615
+ | type | string | string |
616
+ | details | <ul><li>min: 7 tokens</li><li>mean: 17.69 tokens</li><li>max: 32 tokens</li></ul> | <ul><li>min: 2 tokens</li><li>mean: 175.22 tokens</li><li>max: 512 tokens</li></ul> |
617
+ * Samples:
618
+ | sentence_0 | sentence_1 |
619
+ |:--------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
620
+ | <code>What are the limitations of current pre-deployment testing approaches for GAI applications?</code> | <code> <br>49 <br>early lifecycle TEVV approaches are developed and matured for GAI, organizations may use <br>recommended “pre-deployment testing” practices to measure performance, capabilities, limits, risks, <br>and impacts. This section describes risk measurement and estimation as part of pre-deployment TEVV, <br>and examines the state of play for pre-deployment testing methodologies. Limitations of Current Pre-deployment Test Approaches <br>Currently available pre-deployment TEVV processes used for GAI applications may be inadequate, non-<br>systematically applied, or fail to reflect or mismatched to deployment contexts. For example, the <br>anecdotal testing of GAI system capabilities through video games or standardized tests designed for <br>humans (e.g., intelligence tests, professional licensing exams) does not guarantee GAI system validity or <br>reliability in those domains.</code> |
621
+ | <code>How do organizations measure performance and risks during pre-deployment testing of GAI systems?</code> | <code> <br>49 <br>early lifecycle TEVV approaches are developed and matured for GAI, organizations may use <br>recommended “pre-deployment testing” practices to measure performance, capabilities, limits, risks, <br>and impacts. This section describes risk measurement and estimation as part of pre-deployment TEVV, <br>and examines the state of play for pre-deployment testing methodologies. Limitations of Current Pre-deployment Test Approaches <br>Currently available pre-deployment TEVV processes used for GAI applications may be inadequate, non-<br>systematically applied, or fail to reflect or mismatched to deployment contexts. For example, the <br>anecdotal testing of GAI system capabilities through video games or standardized tests designed for <br>humans (e.g., intelligence tests, professional licensing exams) does not guarantee GAI system validity or <br>reliability in those domains.</code> |
622
+ | <code>What are the key aspects of the broad application scope mentioned in the context?</code> | <code>broad application scope, fine-tuning, and varieties of <br>data sources (e.g., grounding, retrieval-augmented generation). Data Privacy; Intellectual <br>Property <br></code> |
623
+ * Loss: [<code>MatryoshkaLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#matryoshkaloss) with these parameters:
624
+ ```json
625
+ {
626
+ "loss": "MultipleNegativesRankingLoss",
627
+ "matryoshka_dims": [
628
+ 768,
629
+ 512,
630
+ 256,
631
+ 128,
632
+ 64
633
+ ],
634
+ "matryoshka_weights": [
635
+ 1,
636
+ 1,
637
+ 1,
638
+ 1,
639
+ 1
640
+ ],
641
+ "n_dims_per_step": -1
642
+ }
643
+ ```
644
+
645
+ ### Training Hyperparameters
646
+ #### Non-Default Hyperparameters
647
+
648
+ - `eval_strategy`: steps
649
+ - `per_device_train_batch_size`: 20
650
+ - `per_device_eval_batch_size`: 20
651
+ - `num_train_epochs`: 5
652
+ - `multi_dataset_batch_sampler`: round_robin
653
+
654
+ #### All Hyperparameters
655
+ <details><summary>Click to expand</summary>
656
+
657
+ - `overwrite_output_dir`: False
658
+ - `do_predict`: False
659
+ - `eval_strategy`: steps
660
+ - `prediction_loss_only`: True
661
+ - `per_device_train_batch_size`: 20
662
+ - `per_device_eval_batch_size`: 20
663
+ - `per_gpu_train_batch_size`: None
664
+ - `per_gpu_eval_batch_size`: None
665
+ - `gradient_accumulation_steps`: 1
666
+ - `eval_accumulation_steps`: None
667
+ - `torch_empty_cache_steps`: None
668
+ - `learning_rate`: 5e-05
669
+ - `weight_decay`: 0.0
670
+ - `adam_beta1`: 0.9
671
+ - `adam_beta2`: 0.999
672
+ - `adam_epsilon`: 1e-08
673
+ - `max_grad_norm`: 1
674
+ - `num_train_epochs`: 5
675
+ - `max_steps`: -1
676
+ - `lr_scheduler_type`: linear
677
+ - `lr_scheduler_kwargs`: {}
678
+ - `warmup_ratio`: 0.0
679
+ - `warmup_steps`: 0
680
+ - `log_level`: passive
681
+ - `log_level_replica`: warning
682
+ - `log_on_each_node`: True
683
+ - `logging_nan_inf_filter`: True
684
+ - `save_safetensors`: True
685
+ - `save_on_each_node`: False
686
+ - `save_only_model`: False
687
+ - `restore_callback_states_from_checkpoint`: False
688
+ - `no_cuda`: False
689
+ - `use_cpu`: False
690
+ - `use_mps_device`: False
691
+ - `seed`: 42
692
+ - `data_seed`: None
693
+ - `jit_mode_eval`: False
694
+ - `use_ipex`: False
695
+ - `bf16`: False
696
+ - `fp16`: False
697
+ - `fp16_opt_level`: O1
698
+ - `half_precision_backend`: auto
699
+ - `bf16_full_eval`: False
700
+ - `fp16_full_eval`: False
701
+ - `tf32`: None
702
+ - `local_rank`: 0
703
+ - `ddp_backend`: None
704
+ - `tpu_num_cores`: None
705
+ - `tpu_metrics_debug`: False
706
+ - `debug`: []
707
+ - `dataloader_drop_last`: False
708
+ - `dataloader_num_workers`: 0
709
+ - `dataloader_prefetch_factor`: None
710
+ - `past_index`: -1
711
+ - `disable_tqdm`: False
712
+ - `remove_unused_columns`: True
713
+ - `label_names`: None
714
+ - `load_best_model_at_end`: False
715
+ - `ignore_data_skip`: False
716
+ - `fsdp`: []
717
+ - `fsdp_min_num_params`: 0
718
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
719
+ - `fsdp_transformer_layer_cls_to_wrap`: None
720
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
721
+ - `deepspeed`: None
722
+ - `label_smoothing_factor`: 0.0
723
+ - `optim`: adamw_torch
724
+ - `optim_args`: None
725
+ - `adafactor`: False
726
+ - `group_by_length`: False
727
+ - `length_column_name`: length
728
+ - `ddp_find_unused_parameters`: None
729
+ - `ddp_bucket_cap_mb`: None
730
+ - `ddp_broadcast_buffers`: False
731
+ - `dataloader_pin_memory`: True
732
+ - `dataloader_persistent_workers`: False
733
+ - `skip_memory_metrics`: True
734
+ - `use_legacy_prediction_loop`: False
735
+ - `push_to_hub`: False
736
+ - `resume_from_checkpoint`: None
737
+ - `hub_model_id`: None
738
+ - `hub_strategy`: every_save
739
+ - `hub_private_repo`: False
740
+ - `hub_always_push`: False
741
+ - `gradient_checkpointing`: False
742
+ - `gradient_checkpointing_kwargs`: None
743
+ - `include_inputs_for_metrics`: False
744
+ - `eval_do_concat_batches`: True
745
+ - `fp16_backend`: auto
746
+ - `push_to_hub_model_id`: None
747
+ - `push_to_hub_organization`: None
748
+ - `mp_parameters`:
749
+ - `auto_find_batch_size`: False
750
+ - `full_determinism`: False
751
+ - `torchdynamo`: None
752
+ - `ray_scope`: last
753
+ - `ddp_timeout`: 1800
754
+ - `torch_compile`: False
755
+ - `torch_compile_backend`: None
756
+ - `torch_compile_mode`: None
757
+ - `dispatch_batches`: None
758
+ - `split_batches`: None
759
+ - `include_tokens_per_second`: False
760
+ - `include_num_input_tokens_seen`: False
761
+ - `neftune_noise_alpha`: None
762
+ - `optim_target_modules`: None
763
+ - `batch_eval_metrics`: False
764
+ - `eval_on_start`: False
765
+ - `eval_use_gather_object`: False
766
+ - `batch_sampler`: batch_sampler
767
+ - `multi_dataset_batch_sampler`: round_robin
768
+
769
+ </details>
770
+
771
+ ### Training Logs
772
+ | Epoch | Step | cosine_map@100 |
773
+ |:------:|:----:|:--------------:|
774
+ | 1.0 | 36 | 0.9145 |
775
+ | 1.3889 | 50 | 0.9256 |
776
+ | 2.0 | 72 | 0.9246 |
777
+ | 2.7778 | 100 | 0.9282 |
778
+ | 3.0 | 108 | 0.9245 |
779
+ | 4.0 | 144 | 0.9244 |
780
+ | 4.1667 | 150 | 0.9244 |
781
+ | 5.0 | 180 | 0.9255 |
782
+ | 1.0 | 31 | 0.9282 |
783
+
784
+
785
+ ### Framework Versions
786
+ - Python: 3.11.9
787
+ - Sentence Transformers: 3.1.0
788
+ - Transformers: 4.44.2
789
+ - PyTorch: 2.4.1+cu121
790
+ - Accelerate: 0.34.2
791
+ - Datasets: 3.0.0
792
+ - Tokenizers: 0.19.1
793
+
794
+ ## Citation
795
+
796
+ ### BibTeX
797
+
798
+ #### Sentence Transformers
799
+ ```bibtex
800
+ @inproceedings{reimers-2019-sentence-bert,
801
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
802
+ author = "Reimers, Nils and Gurevych, Iryna",
803
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
804
+ month = "11",
805
+ year = "2019",
806
+ publisher = "Association for Computational Linguistics",
807
+ url = "https://arxiv.org/abs/1908.10084",
808
+ }
809
+ ```
810
+
811
+ #### MatryoshkaLoss
812
+ ```bibtex
813
+ @misc{kusupati2024matryoshka,
814
+ title={Matryoshka Representation Learning},
815
+ 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},
816
+ year={2024},
817
+ eprint={2205.13147},
818
+ archivePrefix={arXiv},
819
+ primaryClass={cs.LG}
820
+ }
821
+ ```
822
+
823
+ #### MultipleNegativesRankingLoss
824
+ ```bibtex
825
+ @misc{henderson2017efficient,
826
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
827
+ 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},
828
+ year={2017},
829
+ eprint={1705.00652},
830
+ archivePrefix={arXiv},
831
+ primaryClass={cs.CL}
832
+ }
833
+ ```
834
+
835
+ <!--
836
+ ## Glossary
837
+
838
+ *Clearly define terms in order to be accessible across audiences.*
839
+ -->
840
+
841
+ <!--
842
+ ## Model Card Authors
843
+
844
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
845
+ -->
846
+
847
+ <!--
848
+ ## Model Card Contact
849
+
850
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
851
+ -->
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "finetuned_embeddings/snowflake_semantic",
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.44.2",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 30522
26
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.1.0",
4
+ "transformers": "4.44.2",
5
+ "pytorch": "2.4.1+cu121"
6
+ },
7
+ "prompts": {
8
+ "query": "Represent this sentence for searching relevant passages: "
9
+ },
10
+ "default_prompt_name": null,
11
+ "similarity_fn_name": null
12
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57fbac11e93a1a499c5bf0e4343412c88032cfcfd31246f7b78c7dc2acef6a11
3
+ size 437951328
modules.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.models.Transformer"
7
+ },
8
+ {
9
+ "idx": 1,
10
+ "name": "1",
11
+ "path": "1_Pooling",
12
+ "type": "sentence_transformers.models.Pooling"
13
+ },
14
+ {
15
+ "idx": 2,
16
+ "name": "2",
17
+ "path": "2_Normalize",
18
+ "type": "sentence_transformers.models.Normalize"
19
+ }
20
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 512,
3
+ "do_lower_case": false
4
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "max_length": 512,
49
+ "model_max_length": 512,
50
+ "pad_to_multiple_of": null,
51
+ "pad_token": "[PAD]",
52
+ "pad_token_type_id": 0,
53
+ "padding_side": "right",
54
+ "sep_token": "[SEP]",
55
+ "stride": 0,
56
+ "strip_accents": null,
57
+ "tokenize_chinese_chars": true,
58
+ "tokenizer_class": "BertTokenizer",
59
+ "truncation_side": "right",
60
+ "truncation_strategy": "longest_first",
61
+ "unk_token": "[UNK]"
62
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff