ChenyuEcho commited on
Commit
0074be2
·
verified ·
1 Parent(s): abb8378

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 1024,
3
+ "pooling_mode_cls_token": false,
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": true,
9
+ "include_prompt": true
10
+ }
README.md ADDED
@@ -0,0 +1,829 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:2392
9
+ - loss:MultipleNegativesRankingLoss
10
+ base_model: Qwen/Qwen3-Embedding-0.6B
11
+ widget:
12
+ - source_sentence: What are the exact start and end times for overnight on-site IT
13
+ coverage during the maintenance window?
14
+ sentences:
15
+ - 'Subject: Issue Encountered with Insurance Verification Workflow
16
+
17
+ From: Julian R. Torres
18
+
19
+ To: Rachel K. Martinez
20
+
21
+ Date: 2025-10-20
22
+
23
+
24
+ Hi Rachel,
25
+
26
+
27
+ I wanted to flag an ongoing issue with the insurance verification process that’s
28
+ impacting our ED admissions, especially during peak hours. Sometimes, patient
29
+ insurance details aren’t fully updated in the system, and it’s causing delays
30
+ getting clearance from registration. Could we discuss ways to streamline the info
31
+ handoff between the ED and registration, or is there a protocol update I might’ve
32
+ missed? Any suggestions or insight from your end would be appreciated.
33
+
34
+
35
+ Thanks,
36
+
37
+ Julian'
38
+ - 'Subject: EHR Medication Documentation Concerns – Joint Commission Survey Preparation
39
+
40
+ From: Katherine M. Walsh
41
+
42
+ To: Angela R. Scott
43
+
44
+ Date: 2025-10-20
45
+
46
+
47
+ Hello Angela,
48
+
49
+
50
+ As we continue our preparations for the upcoming Joint Commission survey, I have
51
+ identified a recurring issue with the EHR medication documentation process. Specifically,
52
+ the current workflow does not require entry of medication batch numbers or precise
53
+ dose changes during intraoperative adjustments, which is inconsistent with recent
54
+ Joint Commission medication safety protocols. This gap could potentially lead
55
+ to survey citations and, more importantly, compromises our ability to track medication
56
+ safety accurately. Could you assist in reviewing and, if possible, updating the
57
+ EHR fields so that batch numbers and intraoperative dose modifications are mandatory
58
+ entries? If you need additional clinical detail, I am happy to collaborate.
59
+
60
+
61
+ Thank you for your attention to this patient safety concern.
62
+
63
+
64
+ Best regards,
65
+
66
+ Katherine'
67
+ - 'Subject: Re: Scheduled System Maintenance Downtime – Main Hospital & Outpatient
68
+ Clinics
69
+
70
+ From: Richard T. Howard
71
+
72
+ To: David R. Park
73
+
74
+ Date: 2025-10-16
75
+
76
+
77
+ Hi David,
78
+
79
+
80
+ Thank you for your prompt reply and for raising the question about tech support
81
+ coverage during the maintenance window. I can confirm that our IT team will have
82
+ on-site personnel available overnight to assist with any urgent issues that arise,
83
+ particularly for clinical teams. Please feel free to direct your staff to extension
84
+ 4471 if immediate support is required during downtime.
85
+
86
+
87
+ Let me know if you need any additional details or have further concerns.
88
+
89
+
90
+ Best,
91
+
92
+ Richard'
93
+ - source_sentence: 'Wrong-site surgery incident: what are the immediate disclosure
94
+ obligations and communications strategy to the patient and family, in compliance
95
+ with regulatory requirements?'
96
+ sentences:
97
+ - 'Subject: Einladung zum Physician Appreciation Luncheon – 26. Juni, Sicherheitshinweise
98
+ bitte beachten
99
+
100
+ From: David R. Park
101
+
102
+ To: Kevin T. Murphy
103
+
104
+ Date: 2026-01-12
105
+
106
+
107
+ Sehr geehrter Herr Murphy,
108
+
109
+
110
+ vielen Dank für die Einladung zum Physician Appreciation Luncheon und die klaren
111
+ Hinweise zu den Sicherheitsvorkehrungen. Ich begrüße die erhöhte Aufmerksamkeit
112
+ für den Datenschutz und werde darauf achten, keine dienstlichen Geräte unbeaufsichtigt
113
+ zu lassen und sensible Gesprächsthemen zu vermeiden. Die Maßnahmen der IT vor
114
+ Ort geben zusätzliche Sicherheit.
115
+
116
+
117
+ Mit freundlichen Grüßen
118
+
119
+ David R. Park'
120
+ - 'Subject: Medication Reconciliation EHR Issue: Immediate Attention Required
121
+
122
+ From: Christopher P. Brown
123
+
124
+ To: Isaiah T. Jackson
125
+
126
+ Date: 2025-12-22
127
+
128
+
129
+ Hi Isaiah,
130
+
131
+
132
+ I wanted to bring to your attention a recurring issue we''ve identified with the
133
+ medication reconciliation feature in our EHR system. During peak usage hours,
134
+ there are noticeable delays in loading patient medication histories, which has
135
+ resulted in several incomplete reconciliations and workflow disruptions for clinical
136
+ staff. I suspect this may be linked to the last unplanned EHR downtime, but we''re
137
+ still analyzing the root cause. Could you coordinate with nursing and pharmacy
138
+ teams to document specific impact cases from the last week? This data will help
139
+ us escalate the issue with our EHR vendor and develop interim protocols to mitigate
140
+ patient safety risks.
141
+
142
+
143
+ Let me know a good time for a short call to discuss next steps.
144
+
145
+
146
+ Best,
147
+
148
+ Christopher'
149
+ - 'Subject: Re: Re: URGENT: Incident Report - OR3 Surgical Case
150
+
151
+ From: Patricia M. Vasquez
152
+
153
+ To: David R. Park
154
+
155
+ Date: 2025-09-12
156
+
157
+
158
+ Dear David,
159
+
160
+
161
+ I am writing to advise you of a critical adverse event that occurred earlier today
162
+ in OR3 involving patient Robert Hendricks. During a scheduled arthroscopy, the
163
+ procedure was performed on the wrong site (right knee rather than the consented
164
+ and marked left knee). The patient is increasingly agitated and has voiced significant
165
+ distress over the error; his family members are now actively seeking information
166
+ and have expressed concern about the care provided.
167
+
168
+
169
+ Given the gravity of this situation, I am requesting immediate legal guidance
170
+ regarding our incident management strategy, disclosure obligations to the patient
171
+ and family, and best practices for documentation and information retention. I
172
+ have instructed all involved staff to hold documentation pending our discussion
173
+ and to refrain from further written communication until protocols are clarified.
174
+ Please advise on next steps, including any immediate actions we should take to
175
+ ensure compliance with regulatory requirements and to protect both the patient’s
176
+ rights and the hospital’s interests.
177
+
178
+
179
+ Your prompt attention to this matter is greatly appreciated. Please let me know
180
+ if you require any additional information or wish to convene a call tonight to
181
+ discuss further.
182
+
183
+
184
+ Regards,
185
+
186
+ Patricia M. Vasquez, RN, MBA, CPHRM
187
+
188
+ Director of Risk Management & Patient Safety'
189
+ - source_sentence: What are the specific gaps between the current patient-facing grievance
190
+ script and the formal grievance procedure documentation in our department, and
191
+ which points are not being conveyed?
192
+ sentences:
193
+ - 'Subject: Request for Support: Employee Wellness Initiative Documentation
194
+
195
+ From: Chloe R. Anderson
196
+
197
+ To: Linda R. Taylor
198
+
199
+ Date: 2026-01-13
200
+
201
+
202
+ Hi Linda,
203
+
204
+
205
+ I am reaching out regarding an issue we''ve encountered with tracking participation
206
+ in the new employee wellness initiative. Several staff members have reported that
207
+ their completed activity forms are not reflected in our records, possibly due
208
+ to delays in processing or a system error. Would you be able to help review recent
209
+ submissions and confirm that all entries from the past two weeks have been logged
210
+ appropriately? If you notice any discrepancies, please let me know so we can address
211
+ them promptly.
212
+
213
+
214
+ Thank you for your assistance.
215
+
216
+
217
+ Best,
218
+
219
+ Chloe'
220
+ - 'Subject: Re: Sending this your way
221
+
222
+ From: Angela R. Scott
223
+
224
+ To: Zoe M. Campbell
225
+
226
+ Date: 2025-12-09
227
+
228
+
229
+ Hi Zoe,
230
+
231
+
232
+ Thank you for passing along the documents and providing the details regarding
233
+ the EHR issues. I’ve started reviewing the attached error logs and, based on some
234
+ initial patterns, I suspect the API middleware might be bottlenecking when processing
235
+ simultaneous attachment uploads. I plan to investigate further by running diagnostics
236
+ during peak usage hours and testing middleware latency. I’ll circle back with
237
+ more detailed findings and some preliminary recommendations by the end of the
238
+ week. If you have any additional instances or timestamps where the failures were
239
+ most severe, that information would be especially helpful for my analysis.
240
+
241
+
242
+ Thanks for reaching out, and I’ll keep you posted as I dig deeper.
243
+
244
+
245
+ Best regards,
246
+
247
+ Angela'
248
+ - 'Subject: Clarification Needed on Grievance Procedure Communication
249
+
250
+ From: Elizabeth M. Turner
251
+
252
+ To: Jasmine K. Patel
253
+
254
+ Date: 2025-10-29
255
+
256
+
257
+ Hello Jasmine,
258
+
259
+
260
+ During a recent audit of staff communications, I observed some inconsistencies
261
+ in how the grievance procedure is being explained to patients within our department.
262
+ It appears several steps specified in the formal documentation are not being fully
263
+ outlined in verbal explanations, which could lead to misunderstandings. Could
264
+ you assist by reviewing the current script with me, so we can ensure all required
265
+ points are conveyed accurately going forward? Please let me know a convenient
266
+ time for us to meet and update our process accordingly.
267
+
268
+
269
+ Thank you for your attention to this matter.
270
+
271
+
272
+ Best regards,
273
+
274
+ Elizabeth M. Turner'
275
+ - source_sentence: ¿Cuál es el estado actual y la fecha estimada de entrega de los
276
+ registros médicos y la documentación solicitada para la revisión inicial del caso?
277
+ sentences:
278
+ - 'Subject: Re: Solicitud de Documentación Adicional para la Investigación
279
+
280
+ From: Inspector Helen R. Jacobs
281
+
282
+ To: David R. Park
283
+
284
+ Date: 2026-01-01
285
+
286
+
287
+ Estimado Sr. Park,
288
+
289
+
290
+ Agradezco su pronta respuesta y la confirmación del envío de los registros médicos
291
+ y demás documentación solicitada. Por el momento, los documentos que menciona
292
+ serán suficientes para continuar con la revisión inicial del caso; si surgiera
293
+ la necesidad de información adicional, me pondré en contacto de inmediato. Quedamos
294
+ atentos a la recepción de los archivos a finales de semana.
295
+
296
+
297
+ Cordialmente,
298
+
299
+ Helen R. Jacobs'
300
+ - 'Subject: Need your input
301
+
302
+ From: George M. Harris
303
+
304
+ To: Zoe M. Campbell
305
+
306
+ Date: 2026-01-22
307
+
308
+
309
+ Hi Zoe,
310
+
311
+
312
+ Thanks for looping me in. Before I can provide a full response, could you clarify
313
+ which specific billing codes are in question and whether the supporting clinical
314
+ documentation has already been uploaded to the compliance system? I want to ensure
315
+ that any input I provide aligns with the latest guidelines and audit standards.
316
+ Please provide the relevant details when you have a moment.
317
+
318
+
319
+ Thanks,
320
+
321
+ George'
322
+ - 'Subject: Update
323
+
324
+ From: David R. Park
325
+
326
+ To: Katherine E. Morrison
327
+
328
+ Date: 2026-01-26
329
+
330
+
331
+ Hello,
332
+
333
+
334
+ As requested, I am sending the update we discussed. Please find attached a summary
335
+ of the current situation, along with all pertinent details that have come to light
336
+ since our last conversation. If you have any further questions or need clarification
337
+ on specific points, do not hesitate to reach out. Your input will be valuable
338
+ as we move forward.
339
+
340
+
341
+ Looking forward to your response.
342
+
343
+
344
+ Best regards,
345
+
346
+ David R. Park'
347
+ - source_sentence: What bottlenecks in the updated post-operative workflow are contributing
348
+ to delays in surgical site infection specimen transfer and tracking?
349
+ sentences:
350
+ - 'Subject: Inquiry Regarding Post-Operativ Care Documentation
351
+
352
+ From: David R. Park
353
+
354
+ To: Inspector Helen R. Jacobs
355
+
356
+ Date: 2026-01-26
357
+
358
+
359
+ Hello Inspector Jacobs,
360
+
361
+
362
+ I am reaching out regarding the ongoing investigation tied to Mr. Hendricks’ recent
363
+ case. We have been reviewing the patient records and noticed that the documentation
364
+ for the post-operativ care period contains several ambiguities. We would appreciate
365
+ your guidance on whether additional clarification or supplementary notes are required
366
+ for compliance purposes. Please let me know how you would like us to proceed,
367
+ or if you need copies of the relevant chart sections.
368
+
369
+
370
+ Best regards,
371
+
372
+ David R. Park'
373
+ - 'Subject: Concern Regarding Allergy Documentation Accuracy and Glucose Meter Integration
374
+
375
+ From: Daniel M. Evans
376
+
377
+ To: Gabriella I. Santos
378
+
379
+ Date: 2026-01-26
380
+
381
+
382
+ Hi Gabriella,
383
+
384
+
385
+ I wanted to bring to your attention a recurring issue we’ve noticed with our glucose
386
+ meters not consistently syncing updated allergy information from the patient chart.
387
+ During routine maintenance, I found discrepancies between recorded allergies on
388
+ the device and what is documented in the EMR, which could lead to potential risks
389
+ for patients with sensitivities, especially regarding test strip ingredients.
390
+ I propose we review the current integration workflow and possibly schedule a troubleshooting
391
+ session with IT to ensure seamless allergy data transfer. Please let me know if
392
+ you’ve experienced similar concerns and if you’d be available to discuss this
393
+ further.
394
+
395
+
396
+ Thanks,
397
+
398
+ Daniel'
399
+ - 'Subject: Concerns Regarding Timeliness of Surgical Site Infection Tracking
400
+
401
+ From: Xavier D. Brooks
402
+
403
+ To: David S. Wilson
404
+
405
+ Date: 2025-11-10
406
+
407
+
408
+ Hi David,
409
+
410
+
411
+ Thank you for raising these concerns about the delays in surgical site infection
412
+ tracking. We have indeed adjusted some aspects of our post-op patient flow in
413
+ an attempt to enhance discharge efficiency, including new documentation checkpoints
414
+ that might inadvertently be slowing the specimen transfer process. I’ll coordinate
415
+ with our nursing and records teams to closely review recent workflow changes and
416
+ identify any bottlenecks that could be contributing to extended turnaround times.
417
+ I’ll share our findings and propose potential improvements by the end of this
418
+ week, and I welcome any further details you notice from the lab side as well.
419
+
420
+
421
+ Best regards,
422
+
423
+ Xavier'
424
+ pipeline_tag: sentence-similarity
425
+ library_name: sentence-transformers
426
+ metrics:
427
+ - cosine_accuracy@1
428
+ - cosine_accuracy@3
429
+ - cosine_accuracy@5
430
+ - cosine_accuracy@10
431
+ - cosine_precision@1
432
+ - cosine_precision@3
433
+ - cosine_precision@5
434
+ - cosine_precision@10
435
+ - cosine_recall@1
436
+ - cosine_recall@3
437
+ - cosine_recall@5
438
+ - cosine_recall@10
439
+ - cosine_ndcg@10
440
+ - cosine_mrr@10
441
+ - cosine_map@100
442
+ model-index:
443
+ - name: SentenceTransformer based on Qwen/Qwen3-Embedding-0.6B
444
+ results:
445
+ - task:
446
+ type: information-retrieval
447
+ name: Information Retrieval
448
+ dataset:
449
+ name: val real corpus thread ir
450
+ type: val_real_corpus_thread_ir
451
+ metrics:
452
+ - type: cosine_accuracy@1
453
+ value: 0.7612687813021702
454
+ name: Cosine Accuracy@1
455
+ - type: cosine_accuracy@3
456
+ value: 0.8297161936560935
457
+ name: Cosine Accuracy@3
458
+ - type: cosine_accuracy@5
459
+ value: 0.8614357262103506
460
+ name: Cosine Accuracy@5
461
+ - type: cosine_accuracy@10
462
+ value: 0.8948247078464107
463
+ name: Cosine Accuracy@10
464
+ - type: cosine_precision@1
465
+ value: 0.7612687813021702
466
+ name: Cosine Precision@1
467
+ - type: cosine_precision@3
468
+ value: 0.5275459098497496
469
+ name: Cosine Precision@3
470
+ - type: cosine_precision@5
471
+ value: 0.33489148580968287
472
+ name: Cosine Precision@5
473
+ - type: cosine_precision@10
474
+ value: 0.17896494156928214
475
+ name: Cosine Precision@10
476
+ - type: cosine_recall@1
477
+ value: 0.3664997217584864
478
+ name: Cosine Recall@1
479
+ - type: cosine_recall@3
480
+ value: 0.701307735114079
481
+ name: Cosine Recall@3
482
+ - type: cosine_recall@5
483
+ value: 0.7390651085141903
484
+ name: Cosine Recall@5
485
+ - type: cosine_recall@10
486
+ value: 0.7844462993878687
487
+ name: Cosine Recall@10
488
+ - type: cosine_ndcg@10
489
+ value: 0.7519775439563073
490
+ name: Cosine Ndcg@10
491
+ - type: cosine_mrr@10
492
+ value: 0.8039410922966848
493
+ name: Cosine Mrr@10
494
+ - type: cosine_map@100
495
+ value: 0.7154125325663795
496
+ name: Cosine Map@100
497
+ ---
498
+
499
+ # SentenceTransformer based on Qwen/Qwen3-Embedding-0.6B
500
+
501
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [Qwen/Qwen3-Embedding-0.6B](https://huggingface.co/Qwen/Qwen3-Embedding-0.6B). It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
502
+
503
+ ## Model Details
504
+
505
+ ### Model Description
506
+ - **Model Type:** Sentence Transformer
507
+ - **Base model:** [Qwen/Qwen3-Embedding-0.6B](https://huggingface.co/Qwen/Qwen3-Embedding-0.6B) <!-- at revision c54f2e6e80b2d7b7de06f51cec4959f6b3e03418 -->
508
+ - **Maximum Sequence Length:** 768 tokens
509
+ - **Output Dimensionality:** 1024 dimensions
510
+ - **Similarity Function:** Cosine Similarity
511
+ <!-- - **Training Dataset:** Unknown -->
512
+ <!-- - **Language:** Unknown -->
513
+ <!-- - **License:** Unknown -->
514
+
515
+ ### Model Sources
516
+
517
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
518
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
519
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
520
+
521
+ ### Full Model Architecture
522
+
523
+ ```
524
+ SentenceTransformer(
525
+ (0): Transformer({'max_seq_length': 768, 'do_lower_case': False, 'architecture': 'PeftModelForFeatureExtraction'})
526
+ (1): Pooling({'word_embedding_dimension': 1024, 'pooling_mode_cls_token': False, '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': True, 'include_prompt': True})
527
+ (2): Normalize()
528
+ )
529
+ ```
530
+
531
+ ## Usage
532
+
533
+ ### Direct Usage (Sentence Transformers)
534
+
535
+ First install the Sentence Transformers library:
536
+
537
+ ```bash
538
+ pip install -U sentence-transformers
539
+ ```
540
+
541
+ Then you can load this model and run inference.
542
+ ```python
543
+ from sentence_transformers import SentenceTransformer
544
+
545
+ # Download from the 🤗 Hub
546
+ model = SentenceTransformer("sentence_transformers_model_id")
547
+ # Run inference
548
+ queries = [
549
+ "What bottlenecks in the updated post-operative workflow are contributing to delays in surgical site infection specimen transfer and tracking?",
550
+ ]
551
+ documents = [
552
+ 'Subject: Concerns Regarding Timeliness of Surgical Site Infection Tracking\nFrom: Xavier D. Brooks\nTo: David S. Wilson\nDate: 2025-11-10\n\nHi David,\n\nThank you for raising these concerns about the delays in surgical site infection tracking. We have indeed adjusted some aspects of our post-op patient flow in an attempt to enhance discharge efficiency, including new documentation checkpoints that might inadvertently be slowing the specimen transfer process. I’ll coordinate with our nursing and records teams to closely review recent workflow changes and identify any bottlenecks that could be contributing to extended turnaround times. I’ll share our findings and propose potential improvements by the end of this week, and I welcome any further details you notice from the lab side as well.\n\nBest regards,\nXavier',
553
+ 'Subject: Concern Regarding Allergy Documentation Accuracy and Glucose Meter Integration\nFrom: Daniel M. Evans\nTo: Gabriella I. Santos\nDate: 2026-01-26\n\nHi Gabriella,\n\nI wanted to bring to your attention a recurring issue we’ve noticed with our glucose meters not consistently syncing updated allergy information from the patient chart. During routine maintenance, I found discrepancies between recorded allergies on the device and what is documented in the EMR, which could lead to potential risks for patients with sensitivities, especially regarding test strip ingredients. I propose we review the current integration workflow and possibly schedule a troubleshooting session with IT to ensure seamless allergy data transfer. Please let me know if you’ve experienced similar concerns and if you’d be available to discuss this further.\n\nThanks,\nDaniel',
554
+ 'Subject: Inquiry Regarding Post-Operativ Care Documentation\nFrom: David R. Park\nTo: Inspector Helen R. Jacobs\nDate: 2026-01-26\n\nHello Inspector Jacobs,\n\nI am reaching out regarding the ongoing investigation tied to Mr. Hendricks’ recent case. We have been reviewing the patient records and noticed that the documentation for the post-operativ care period contains several ambiguities. We would appreciate your guidance on whether additional clarification or supplementary notes are required for compliance purposes. Please let me know how you would like us to proceed, or if you need copies of the relevant chart sections.\n\nBest regards,\nDavid R. Park',
555
+ ]
556
+ query_embeddings = model.encode_query(queries)
557
+ document_embeddings = model.encode_document(documents)
558
+ print(query_embeddings.shape, document_embeddings.shape)
559
+ # [1, 1024] [3, 1024]
560
+
561
+ # Get the similarity scores for the embeddings
562
+ similarities = model.similarity(query_embeddings, document_embeddings)
563
+ print(similarities)
564
+ # tensor([[0.7188, 0.1221, 0.0596]], dtype=torch.bfloat16)
565
+ ```
566
+
567
+ <!--
568
+ ### Direct Usage (Transformers)
569
+
570
+ <details><summary>Click to see the direct usage in Transformers</summary>
571
+
572
+ </details>
573
+ -->
574
+
575
+ <!--
576
+ ### Downstream Usage (Sentence Transformers)
577
+
578
+ You can finetune this model on your own dataset.
579
+
580
+ <details><summary>Click to expand</summary>
581
+
582
+ </details>
583
+ -->
584
+
585
+ <!--
586
+ ### Out-of-Scope Use
587
+
588
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
589
+ -->
590
+
591
+ ## Evaluation
592
+
593
+ ### Metrics
594
+
595
+ #### Information Retrieval
596
+
597
+ * Dataset: `val_real_corpus_thread_ir`
598
+ * Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
599
+
600
+ | Metric | Value |
601
+ |:--------------------|:----------|
602
+ | cosine_accuracy@1 | 0.7613 |
603
+ | cosine_accuracy@3 | 0.8297 |
604
+ | cosine_accuracy@5 | 0.8614 |
605
+ | cosine_accuracy@10 | 0.8948 |
606
+ | cosine_precision@1 | 0.7613 |
607
+ | cosine_precision@3 | 0.5275 |
608
+ | cosine_precision@5 | 0.3349 |
609
+ | cosine_precision@10 | 0.179 |
610
+ | cosine_recall@1 | 0.3665 |
611
+ | cosine_recall@3 | 0.7013 |
612
+ | cosine_recall@5 | 0.7391 |
613
+ | cosine_recall@10 | 0.7844 |
614
+ | **cosine_ndcg@10** | **0.752** |
615
+ | cosine_mrr@10 | 0.8039 |
616
+ | cosine_map@100 | 0.7154 |
617
+
618
+ <!--
619
+ ## Bias, Risks and Limitations
620
+
621
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
622
+ -->
623
+
624
+ <!--
625
+ ### Recommendations
626
+
627
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
628
+ -->
629
+
630
+ ## Training Details
631
+
632
+ ### Training Dataset
633
+
634
+ #### Unnamed Dataset
635
+
636
+ * Size: 2,392 training samples
637
+ * Columns: <code>sentence_0</code> and <code>sentence_1</code>
638
+ * Approximate statistics based on the first 1000 samples:
639
+ | | sentence_0 | sentence_1 |
640
+ |:--------|:-----------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
641
+ | type | string | string |
642
+ | details | <ul><li>min: 11 tokens</li><li>mean: 26.85 tokens</li><li>max: 62 tokens</li></ul> | <ul><li>min: 99 tokens</li><li>mean: 159.15 tokens</li><li>max: 364 tokens</li></ul> |
643
+ * Samples:
644
+ | sentence_0 | sentence_1 |
645
+ |:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
646
+ | <code>What specific documents and timeline details are being requested for the medication administration incident involving the late husband (e.g., notes and observed discrepancy times)?</code> | <code>Subject: Clarification Needed Regarding Recent Medciation Administration Incident<br>From: David R. Park<br>To: Margaret L. Hendricks<br>Date: 2025-10-16<br><br>Hello Mrs. Hendricks,<br><br>Thank you for your prompt reply and for clarifying your experience regarding the medication administration incident involving your late husband. I acknowledge your willingness to provide further details and want to ensure that our review is thorough and respectful of your family's concerns. A call on Wednesday afternoon works for me, and I appreciate your flexibility in offering to share information by email. If you have any documentation, such as notes or times you observed discrepancies, that would be very helpful for our review. Please let me know your preferred time for the call, or if you wish to send information in writing, I am happy to review it carefully.<br><br>Thank you again for your cooperation as we work to address these important concerns. I look forward to speaking with you and assisting however I can.<br><br>Best r...</code> |
647
+ | <code>What specific additional materials or documentation should my team prepare ahead of the meeting?</code> | <code>Subject: Re: Meeting Confirmation and Case Materials<br>From: David R. Park<br>To: Katherine E. Morrison<br>Date: 2025-12-01<br><br>Hi Katherine,<br><br>Thank you for confirming the meeting time and sharing the agenda. I appreciate your prompt coordination on this. Please let me know if there are any additional materials or documentation you would like from my team ahead of our discussion. I look forward to collaborating and ensuring all questions are addressed at our meeting.<br><br>Best regards,<br>David</code> |
648
+ | <code>Who is assigned to coordinate the review of PACS-EHR interface error logs with radiology IT to address radiology report delays?</code> | <code>Subject: Radiology Report Turnaround Delays in EHR<br>From: Angela R. Scott<br>To: Laura A. Hughes<br>Date: 2025-11-17<br><br>Hi Laura,<br><br>I've noticed a consistent delay in radiology report turnaround times stemming from integration issues between the PACS interface and our EHR system. Reports are not always populating promptly in patient records, which is affecting timely communication with both care teams and patients. I suggest we collaborate with the radiology IT staff to review interface error logs and streamline the auto-notification features. If you have additional insight from recent patient feedback or workflow observations, please let me know so we can address this comprehensively.<br><br>Thanks,<br>Angela<br><br>---<br>This email and any attachments are confidential and intended solely for the use of the individual or entity to whom they are addressed.</code> |
649
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
650
+ ```json
651
+ {
652
+ "scale": 20.0,
653
+ "similarity_fct": "cos_sim",
654
+ "gather_across_devices": false
655
+ }
656
+ ```
657
+
658
+ ### Training Hyperparameters
659
+ #### Non-Default Hyperparameters
660
+
661
+ - `multi_dataset_batch_sampler`: round_robin
662
+
663
+ #### All Hyperparameters
664
+ <details><summary>Click to expand</summary>
665
+
666
+ - `do_predict`: False
667
+ - `eval_strategy`: no
668
+ - `prediction_loss_only`: True
669
+ - `per_device_train_batch_size`: 8
670
+ - `per_device_eval_batch_size`: 8
671
+ - `gradient_accumulation_steps`: 1
672
+ - `eval_accumulation_steps`: None
673
+ - `torch_empty_cache_steps`: None
674
+ - `learning_rate`: 5e-05
675
+ - `weight_decay`: 0.0
676
+ - `adam_beta1`: 0.9
677
+ - `adam_beta2`: 0.999
678
+ - `adam_epsilon`: 1e-08
679
+ - `max_grad_norm`: 1
680
+ - `num_train_epochs`: 3
681
+ - `max_steps`: -1
682
+ - `lr_scheduler_type`: linear
683
+ - `lr_scheduler_kwargs`: None
684
+ - `warmup_ratio`: None
685
+ - `warmup_steps`: 0
686
+ - `log_level`: passive
687
+ - `log_level_replica`: warning
688
+ - `log_on_each_node`: True
689
+ - `logging_nan_inf_filter`: True
690
+ - `enable_jit_checkpoint`: False
691
+ - `save_on_each_node`: False
692
+ - `save_only_model`: False
693
+ - `restore_callback_states_from_checkpoint`: False
694
+ - `use_cpu`: False
695
+ - `seed`: 42
696
+ - `data_seed`: None
697
+ - `bf16`: False
698
+ - `fp16`: False
699
+ - `bf16_full_eval`: False
700
+ - `fp16_full_eval`: False
701
+ - `tf32`: None
702
+ - `local_rank`: -1
703
+ - `ddp_backend`: None
704
+ - `debug`: []
705
+ - `dataloader_drop_last`: False
706
+ - `dataloader_num_workers`: 0
707
+ - `dataloader_prefetch_factor`: None
708
+ - `disable_tqdm`: False
709
+ - `remove_unused_columns`: True
710
+ - `label_names`: None
711
+ - `load_best_model_at_end`: False
712
+ - `ignore_data_skip`: False
713
+ - `fsdp`: []
714
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
715
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
716
+ - `parallelism_config`: None
717
+ - `deepspeed`: None
718
+ - `label_smoothing_factor`: 0.0
719
+ - `optim`: adamw_torch_fused
720
+ - `optim_args`: None
721
+ - `group_by_length`: False
722
+ - `length_column_name`: length
723
+ - `project`: huggingface
724
+ - `trackio_space_id`: trackio
725
+ - `ddp_find_unused_parameters`: None
726
+ - `ddp_bucket_cap_mb`: None
727
+ - `ddp_broadcast_buffers`: False
728
+ - `dataloader_pin_memory`: True
729
+ - `dataloader_persistent_workers`: False
730
+ - `skip_memory_metrics`: True
731
+ - `push_to_hub`: False
732
+ - `resume_from_checkpoint`: None
733
+ - `hub_model_id`: None
734
+ - `hub_strategy`: every_save
735
+ - `hub_private_repo`: None
736
+ - `hub_always_push`: False
737
+ - `hub_revision`: None
738
+ - `gradient_checkpointing`: False
739
+ - `gradient_checkpointing_kwargs`: None
740
+ - `include_for_metrics`: []
741
+ - `eval_do_concat_batches`: True
742
+ - `auto_find_batch_size`: False
743
+ - `full_determinism`: False
744
+ - `ddp_timeout`: 1800
745
+ - `torch_compile`: False
746
+ - `torch_compile_backend`: None
747
+ - `torch_compile_mode`: None
748
+ - `include_num_input_tokens_seen`: no
749
+ - `neftune_noise_alpha`: None
750
+ - `optim_target_modules`: None
751
+ - `batch_eval_metrics`: False
752
+ - `eval_on_start`: False
753
+ - `use_liger_kernel`: False
754
+ - `liger_kernel_config`: None
755
+ - `eval_use_gather_object`: False
756
+ - `average_tokens_across_devices`: True
757
+ - `use_cache`: False
758
+ - `prompts`: None
759
+ - `batch_sampler`: batch_sampler
760
+ - `multi_dataset_batch_sampler`: round_robin
761
+ - `router_mapping`: {}
762
+ - `learning_rate_mapping`: {}
763
+
764
+ </details>
765
+
766
+ ### Training Logs
767
+ | Epoch | Step | Training Loss | val_real_corpus_thread_ir_cosine_ndcg@10 |
768
+ |:------:|:----:|:-------------:|:----------------------------------------:|
769
+ | 1.0 | 299 | - | 0.7464 |
770
+ | 1.6722 | 500 | 0.0176 | - |
771
+ | 2.0 | 598 | - | 0.7507 |
772
+ | 3.0 | 897 | - | 0.7520 |
773
+
774
+
775
+ ### Framework Versions
776
+ - Python: 3.12.12
777
+ - Sentence Transformers: 5.2.2
778
+ - Transformers: 5.0.0
779
+ - PyTorch: 2.9.0+cu128
780
+ - Accelerate: 1.12.0
781
+ - Datasets: 4.0.0
782
+ - Tokenizers: 0.22.2
783
+
784
+ ## Citation
785
+
786
+ ### BibTeX
787
+
788
+ #### Sentence Transformers
789
+ ```bibtex
790
+ @inproceedings{reimers-2019-sentence-bert,
791
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
792
+ author = "Reimers, Nils and Gurevych, Iryna",
793
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
794
+ month = "11",
795
+ year = "2019",
796
+ publisher = "Association for Computational Linguistics",
797
+ url = "https://arxiv.org/abs/1908.10084",
798
+ }
799
+ ```
800
+
801
+ #### MultipleNegativesRankingLoss
802
+ ```bibtex
803
+ @misc{henderson2017efficient,
804
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
805
+ author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
806
+ year={2017},
807
+ eprint={1705.00652},
808
+ archivePrefix={arXiv},
809
+ primaryClass={cs.CL}
810
+ }
811
+ ```
812
+
813
+ <!--
814
+ ## Glossary
815
+
816
+ *Clearly define terms in order to be accessible across audiences.*
817
+ -->
818
+
819
+ <!--
820
+ ## Model Card Authors
821
+
822
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
823
+ -->
824
+
825
+ <!--
826
+ ## Model Card Contact
827
+
828
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
829
+ -->
adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "Qwen/Qwen3-Embedding-0.6B",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 16,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 8,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "v_proj",
33
+ "o_proj",
34
+ "up_proj",
35
+ "gate_proj",
36
+ "down_proj",
37
+ "q_proj",
38
+ "k_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "FEATURE_EXTRACTION",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5232038a939a126e23dcfcbe558dc2b55b40ed60f077a21c11be8d3bd1e59ef
3
+ size 20234120
chat_template.jinja ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
27
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
28
+ {%- elif message.role == "assistant" %}
29
+ {%- set content = message.content %}
30
+ {%- set reasoning_content = '' %}
31
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
32
+ {%- set reasoning_content = message.reasoning_content %}
33
+ {%- else %}
34
+ {%- if '</think>' in message.content %}
35
+ {%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
36
+ {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
37
+ {%- endif %}
38
+ {%- endif %}
39
+ {%- if loop.index0 > ns.last_query_index %}
40
+ {%- if loop.last or (not loop.last and reasoning_content) %}
41
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
42
+ {%- else %}
43
+ {{- '<|im_start|>' + message.role + '\n' + content }}
44
+ {%- endif %}
45
+ {%- else %}
46
+ {{- '<|im_start|>' + message.role + '\n' + content }}
47
+ {%- endif %}
48
+ {%- if message.tool_calls %}
49
+ {%- for tool_call in message.tool_calls %}
50
+ {%- if (loop.first and content) or (not loop.first) %}
51
+ {{- '\n' }}
52
+ {%- endif %}
53
+ {%- if tool_call.function %}
54
+ {%- set tool_call = tool_call.function %}
55
+ {%- endif %}
56
+ {{- '<tool_call>\n{"name": "' }}
57
+ {{- tool_call.name }}
58
+ {{- '", "arguments": ' }}
59
+ {%- if tool_call.arguments is string %}
60
+ {{- tool_call.arguments }}
61
+ {%- else %}
62
+ {{- tool_call.arguments | tojson }}
63
+ {%- endif %}
64
+ {{- '}\n</tool_call>' }}
65
+ {%- endfor %}
66
+ {%- endif %}
67
+ {{- '<|im_end|>\n' }}
68
+ {%- elif message.role == "tool" %}
69
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
70
+ {{- '<|im_start|>user' }}
71
+ {%- endif %}
72
+ {{- '\n<tool_response>\n' }}
73
+ {{- message.content }}
74
+ {{- '\n</tool_response>' }}
75
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
76
+ {{- '<|im_end|>\n' }}
77
+ {%- endif %}
78
+ {%- endif %}
79
+ {%- endfor %}
80
+ {%- if add_generation_prompt %}
81
+ {{- '<|im_start|>assistant\n' }}
82
+ {%- if enable_thinking is defined and enable_thinking is false %}
83
+ {{- '<think>\n\n</think>\n\n' }}
84
+ {%- endif %}
85
+ {%- endif %}
config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "prompts": {
3
+ "query": "Instruct: Given a web search query, retrieve relevant passages that answer the query\nQuery:",
4
+ "document": ""
5
+ },
6
+ "default_prompt_name": null,
7
+ "similarity_fn_name": "cosine",
8
+ "model_type": "SentenceTransformer",
9
+ "__version__": {
10
+ "sentence_transformers": "5.2.2",
11
+ "transformers": "5.0.0",
12
+ "pytorch": "2.9.0+cu128"
13
+ }
14
+ }
eval/Information-Retrieval_evaluation_val_real_corpus_thread_ir_results.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ epoch,steps,cosine-Accuracy@1,cosine-Accuracy@3,cosine-Accuracy@5,cosine-Accuracy@10,cosine-Precision@1,cosine-Recall@1,cosine-Precision@3,cosine-Recall@3,cosine-Precision@5,cosine-Recall@5,cosine-Precision@10,cosine-Recall@10,cosine-MRR@10,cosine-NDCG@10,cosine-MAP@100
2
+ 1.0,299,0.7579298831385642,0.8196994991652755,0.8514190317195326,0.8898163606010017,0.7579298831385642,0.3638564273789649,0.5186421814134669,0.6925153032832498,0.33188647746243743,0.7320255982192544,0.17779632721202004,0.7796327212020033,0.7982219042319209,0.7464153619034845,0.7095993604504703
3
+ 2.0,598,0.7629382303839732,0.8330550918196995,0.8631051752921536,0.8931552587646077,0.7629382303839732,0.36705620478575407,0.5253199777406788,0.6993600445186421,0.33622704507512524,0.7415136338341681,0.17879799666110183,0.7840845854201446,0.8034230330974901,0.7507315479540255,0.7134320689013786
4
+ 3.0,897,0.7612687813021702,0.8297161936560935,0.8614357262103506,0.8948247078464107,0.7612687813021702,0.3664997217584864,0.5275459098497496,0.701307735114079,0.33489148580968287,0.7390651085141903,0.17896494156928214,0.7844462993878687,0.8039410922966848,0.7519775439563073,0.7154125325663795
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": 768,
3
+ "do_lower_case": false
4
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43f117cf004e0cf6b6a77ea42d686398dac7d22e4b15a89d3d1b2a0cc4d1c286
3
+ size 11423967
tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|im_start|>",
10
+ "<|im_end|>",
11
+ "<|object_ref_start|>",
12
+ "<|object_ref_end|>",
13
+ "<|box_start|>",
14
+ "<|box_end|>",
15
+ "<|quad_start|>",
16
+ "<|quad_end|>",
17
+ "<|vision_start|>",
18
+ "<|vision_end|>",
19
+ "<|vision_pad|>",
20
+ "<|image_pad|>",
21
+ "<|video_pad|>"
22
+ ],
23
+ "is_local": false,
24
+ "model_max_length": 131072,
25
+ "model_specific_special_tokens": {},
26
+ "pad_token": "<|endoftext|>",
27
+ "split_special_tokens": false,
28
+ "tokenizer_class": "Qwen2Tokenizer",
29
+ "unk_token": null
30
+ }