File size: 33,953 Bytes
20e43fa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
---
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:20816
- loss:Infonce
base_model: BAAI/bge-m3
widget:
- source_sentence: What do studies show about the configurations of eukaryotic polysomes
  sentences:
  - "Eukaryotic\n\nIn cells \nin situ (in cell) studies have shown that eukaryotic\
    \ polysomes exhibit linear configurations. Densely packed 3-D helices and planar\
    \ double-row polysomes were found with variable packing including “top-to-top”\
    \ contacts similar to prokaryotic polysomes."
  - Carlo Dante Rota (born 17 April 1961) is a British-born Canadian actor. He has
    appeared in Little Mosque on the Prairie and as systems analyst Morris O'Brian
    on the Fox series 24.
  - 'Ronnie & Jo Wood Still ‘Close Friends’ Despite Joint Property Auction

    Celebrity auctioneer Darren Julien is gearing up for a massive sale of over 600
    items belonging to Rolling Stones guitarist Ronnie Wood’s and his ex-wife Jo Wood.
    Much like many of Julian’s Auctions past collections, this auction has created
    some controversy because Ronnie has recently come out as opposed to the sale of
    his personal belongings, denying his involvement in the ‘joint’ sale. In response
    to those recent statements coming out Ronnie Wood’s camp saying he’s “shocked
    and disappointed” at the auctioning off his personal belongings, and that the
    auction has been “misrepresented as a joint sale,” Julien claims Ronnie has known
    about the auction since its start.'
- source_sentence: What was Mike Holober's role at the BMI Jazz Composer’s Workshop
    from 2007 to 2015
  sentences:
  - '- Establishing a named ''link’ person within an organisation with a liaison role
    between service users and the organisation. This can help to reduce the problems
    that can occur with personnel changes or restructuring.'
  - 'A professor of obstetrics from 1895 at Kraków''s Jagiellonian University, Jordan
    became best known for organizing children’s playgrounds, called "Jordan''s parks"
    after him. Life

    Henryk Jordan was born into an impoverished noble family from the village of Zakliczyn,
    which over time moved to other places in Polish Galicia (for example Przemyśl).
    His father, Bonifacy Jordan, gave private lessons. His mother, Salomea Wędrychowska,
    was a homemaker. Jordan received his high-school education in Tarnopol and Tarnów.
    In 1861, however, he took part in pro-Polish demonstrations for which he was threatened
    with expulsion from school. In 1862 he moved to Trieste and a year later passed
    his high-school examinations, in Italian, with honors. Jordan began his university
    studies in Vienna, and from 1863 continued them at Kraków''s Jagiellonian University.
    He passed his science examinations in 1867 but did not receive his master''s degree
    due to pneumonia.'
  - "From 2007 - 2015 he served as Associate Director of the BMI Jazz Composer’s Workshop,\
    \ where he taught with Musical Director Jim McNeely. Discography \n The Mike Holober\
    \ Quintet, Canyon (Sons of Sound, 2003)\n The Gotham Jazz Orchestra, T Thought\
    \ Trains (Sons of Sound, 2004)\n The Mike Holober Quintet, Wish List (Sons of\
    \ Sound, 2006)\n The Gotham Jazz Orchestra, Quake (Sunnyside, 2009)\n Mike Holober\
    \ & Balancing Act, Balancing Act (Palmetto, 2015)\n The Gotham Jazz Orchestra,\
    \ Hiding Out (Zoho Music, 2019)\n\nReferences\n\nExternal links \n Artist's official\
    \ website\n Sons of Sound, Label page for Mike Holober\n Manhattan School of Music\
    \ faculty profile\n CCNY Stuart Katz Professorship announcement\n Interview with\
    \ WBGO's Gary Walker\n\nVideos\n Westchester Jazz Orchestra - promotional video\
    \ written and directed by Darryl Estrine 2013\n \"Oh No\" - hr-Bigband plays Frank\
    \ Zappa; Deutsches Jazzfestival Frankfurt 2015\n \"We Are Not Alone\" - hr-Bigband\
    \ plays Frank Zappa; Deutsches Jazzfestival Frankfurt 2015\n \"G-Spot Tornado\
    \ - hr-Bigband plays Frank Zappa; Deutsches Jazzfestival Frankfurt 2015\n\n\"\
    Star of Jupiter\" - Kurt Rosenwinkel & hr-Bigband; Kurt Rosenwinkel & hr-Bigband\
    \ im hr-Sendesaal 12.06.2015\n \"Heavenly Bodies\" - Kurt Rosenwinkel & hr-Bigband;\
    \ Kurt Rosenwinkel & hr-Bigband im hr-Sendesaal 12.06.2015\n \"East Coast Love\
    \ Affair\" - Kurt Rosenwinkel & hr-Bigband; Kurt Rosenwinkel & hr-Bigband im hr-Sendesaal\
    \ 12.06.2015\n \"Brooklyn Sometimes\" - Kurt Rosenwinkel & hr-Bigband; Kurt Rosenwinkel\
    \ & hr-Bigband im hr-Sendesaal 12.06.2015\n Al Foster feat. by WDR BIG BAND -\
    \ Douglas (Rehearsal) - WDR rehearsal featuring Al Foster; 04.14.2016\n Al Foster\
    \ feat."
- source_sentence: What problems does Alice encounter due to her roommate Merv's TV
    watching habits
  sentences:
  - Roommate from hell Merv (Jeremy Strong) is an unrepentant yogurt-pilferer and,
    far worse, the kind of TV addict who likes to "interact" by loudly critiquing
    the very junk he's mainlining. The overwhelming blaring of the television rankles
    Alice (Katie Kreisler), who starts out musing about a part of Vermont that's cut
    off from TV -- and then ends up furiously plotting Merv's ouster.
  - And it does help a bit in public places--there are a few people who will hold
    open doors for me, or offer me other courtesies, as a result of my using the cane.
    It's a real ego-killer to occasionally catch sight of myself, reflected in a plate-glass
    window, stumping along with the cane and lurching from side-to-side.
  - 'That''s an important step in literacy development. Why you''ll like it: I love
    reading this book aloud at story hours.'
- source_sentence: What was the role of the Sri Lankan High Commissioner in Pretoria,
    South Africa
  sentences:
  - "As the Sri Lankan High Commissioner, he functioned as the executive head of the\
    \ Sri Lankan diplomatic mission in Pretoria, South Africa. Secretary to the Prime\
    \ Minister \nFollowing the Appointment of the new prime minister D.M."
  - xv + 191 pp. + 1 plate.
  - "Winters are generally mild in Alabama, as they are throughout most of the southeastern\
    \ United States, with average January low temperatures around  in Mobile, around\
    \  in Huntsville, around  in Montgomery, and around  in Birmingham. Extremes\n\
    \nPrecipitation\nThe amount of precipitation is greatest along the coast (62 inches/1,574 mm)\
    \ and evenly distributed through the rest of the state (about 52 inches/1,320 mm).\
    \ Much of the rainfall is produced by thunderstorms and, occasionally, by hurricanes\
    \ and other tropical disturbances. In central and northern Alabama, average monthly\
    \ precipitation amounts are highest from November to April, typically peaking\
    \ in December or March, as at Huntsville (December maximum) or Birmingham (March\
    \ maximum), with August to October the driest months. Along the coast, summer\
    \ thunderstorm rains are markedly more frequent and tropical weather systems are\
    \ a threat from July to October. Accordingly, at Mobile, virtually the wettest\
    \ city annually anywhere in the eastern United States (wetter than even Miami,\
    \ FL with its drier winters), monthly average precipitation peaks in July and\
    \ August, but virtually the entire year is wet, with October a slightly drier\
    \ month. Although snow is a rare event in much of Alabama, areas of the state\
    \ north of Montgomery may receive a dusting of snow a few times every winter,\
    \ with an occasional moderately heavy snowfall every few years. Historic heavy\
    \ snowfall events include the New Year's Eve 1963 snowstorm and the 1993 Storm\
    \ of the Century. The annual average snowfall for the Birmingham area is  per\
    \ year. In the southern Gulf coast, snowfall is less frequent, sometimes going\
    \ several years without any snowfall. El Niño and La Niña\nDuring El Niño, Alabama\
    \ receives colder than average winter temperatures with wetter than average conditions\
    \ along the southern parts of the state and drier than average conditions in the\
    \ northern parts. La Niña brings warmer than average temperatures with the drier\
    \ weather in the southern parts of the state due to a northern storm track. Hazards\n\
    \nAlabama is also prone to tropical storms and even hurricanes. Areas of the state\
    \ far away from the Gulf are not immune to the effects of the storms, which often\
    \ dump tremendous amounts of rain as they move inland and weaken. Thunderstorms\
    \ are common during the summer throughout Alabama and also occur during other\
    \ times of the year including winter. South Alabama reports many thunderstorms.\
    \ The Gulf Coast, around Mobile Bay, averages between 100 and 110 days per year\
    \ with thunder reported, which eastern and northwest Alabama have 70 to 80 thunderstorm\
    \ days per year. Occasionally, thunderstorms are severe with frequent lightning\
    \ and large hail – the central and northern parts of the state are most vulnerable\
    \ to this type of storm, the northern and central regions of Alabama are especially\
    \ prone to tornadoes. Alabama ranks seventh in the number of deaths from lightning\
    \ and ninth in the number of deaths from lightning strikes per capita. Tornadoes\
    \ occur frequently in Alabama during the spring and fall months, these tornadoes\
    \ can be devastating and even deadly.– these are common throughout the state,\
    \ although the peak season for tornadoes varies from the northern to southern\
    \ parts of the state. Alabama, along with Kansas, has the most reported F5/EF5\
    \ tornadoes than any other state – according to statistics from the National Climatic\
    \ Data Center for the period January 1, 1950, to October 31, 2006. An F5 tornado\
    \ is the most powerful of its kind. Several long – tracked F5 tornadoes have contributed\
    \ to Alabama reporting more tornado fatalities than any other state except for\
    \ Texas and Mississippi. The Super Outbreaks of April 1974 and April 2011 both\
    \ badly affected Alabama. The northern part of the state – along the Tennessee\
    \ Valley – is one of the areas in the US most vulnerable to violent tornadoes\
    \ . The area of Alabama and Mississippi most affected by tornadoes is sometimes\
    \ referred to as Dixie Alley, as distinct from the Tornado Alley of the Southern\
    \ Plains. Alabama is one of the few places in the world that has a secondary tornado\
    \ season (November and December) along with the spring severe weather season.\
    \ See also\nClimate change in Alabama\n\nReferences\n\n \nGeography of Alabama"
- source_sentence: What is the significance of the first written mention of Metylovice,
    and in which year did it occur
  sentences:
  - Users could also get discounts when they bought the coins in bulk and earn coins
    through certain apps on the Appstore. In 2014, with the release of the Fire Phone,
    Amazon offered app developers 500,000 Amazon Coins for each paid app or app with
    in-app purchasing developed and optimized for the Fire Phone.
  - 'Contents

    Hard Times moves the Traveller universe forward into a time where the galaxy is
    riven by economic stagnation and collapse of the empire. Rick Swan wrote, "Planets
    are gasping for life like guppies flung from a fish bowl, and the luckless survivors
    face a future of staggering adversity."'
  - 'The Olešná Stream flows through the municipality. History

    The first written mention of Metylovice is in a deed of Bishop Dětřich from 1299.
    From the second half of the 17th century, tanning developed in the village, thanks
    to which the originally agricultural village began to prosper and grow. Brick
    houses began to replace the original wooden ones and the education and cultural
    life of the inhabitants increased. Sights

    The most important monument is the Church of All Saints.'
pipeline_tag: sentence-similarity
library_name: sentence-transformers
---

# SentenceTransformer based on BAAI/bge-m3

This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [BAAI/bge-m3](https://huggingface.co/BAAI/bge-m3). It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.

## Model Details

### Model Description
- **Model Type:** Sentence Transformer
- **Base model:** [BAAI/bge-m3](https://huggingface.co/BAAI/bge-m3) <!-- at revision 5617a9f61b028005a4858fdac845db406aefb181 -->
- **Maximum Sequence Length:** 1024 tokens
- **Output Dimensionality:** 1024 dimensions
- **Similarity Function:** Cosine Similarity
<!-- - **Training Dataset:** Unknown -->
<!-- - **Language:** Unknown -->
<!-- - **License:** Unknown -->

### Model Sources

- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)

### Full Model Architecture

```
SentenceTransformer(
  (0): Transformer({'max_seq_length': 1024, 'do_lower_case': False}) with Transformer model: XLMRobertaModel 
  (1): Pooling({'word_embedding_dimension': 1024, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
  (2): Normalize()
)
```

## Usage

### Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

```bash
pip install -U sentence-transformers
```

Then you can load this model and run inference.
```python
from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("Jrinky/model4")
# Run inference
sentences = [
    'What is the significance of the first written mention of Metylovice, and in which year did it occur',
    'The Olešná Stream flows through the municipality. History\nThe first written mention of Metylovice is in a deed of Bishop Dětřich from 1299. From the second half of the 17th century, tanning developed in the village, thanks to which the originally agricultural village began to prosper and grow. Brick houses began to replace the original wooden ones and the education and cultural life of the inhabitants increased. Sights\nThe most important monument is the Church of All Saints.',
    'Users could also get discounts when they bought the coins in bulk and earn coins through certain apps on the Appstore. In 2014, with the release of the Fire Phone, Amazon offered app developers 500,000 Amazon Coins for each paid app or app with in-app purchasing developed and optimized for the Fire Phone.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 1024]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
```

<!--
### Direct Usage (Transformers)

<details><summary>Click to see the direct usage in Transformers</summary>

</details>
-->

<!--
### Downstream Usage (Sentence Transformers)

You can finetune this model on your own dataset.

<details><summary>Click to expand</summary>

</details>
-->

<!--
### Out-of-Scope Use

*List how the model may foreseeably be misused and address what users ought not to do with the model.*
-->

<!--
## Bias, Risks and Limitations

*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
-->

<!--
### Recommendations

*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
-->

## Training Details

### Training Dataset

#### Unnamed Dataset

* Size: 20,816 training samples
* Columns: <code>anchor</code> and <code>positive</code>
* Approximate statistics based on the first 1000 samples:
  |         | anchor                                                                            | positive                                                                             |
  |:--------|:----------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
  | type    | string                                                                            | string                                                                               |
  | details | <ul><li>min: 6 tokens</li><li>mean: 17.92 tokens</li><li>max: 42 tokens</li></ul> | <ul><li>min: 9 tokens</li><li>mean: 168.82 tokens</li><li>max: 1024 tokens</li></ul> |
* Samples:
  | anchor                                                                                               | positive                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
  |:-----------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
  | <code>What was the birth date and place of Helena Binder, also known as Blanche Blotto</code>        | <code>Born June 13, 1955 in Batavia, New York. Helena Binder, aka Blanche Blotto (keyboards, vocals; 1978-1980).</code>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
  | <code>What incidents involving Israeli soldiers occurred in the occupied West Bank on Tuesday</code> | <code>Also Tuesday, Israeli soldiers fired a barrage of gas bombs and concussion grenades at a Palestinian home in the Masafer Yatta area, south of Hebron, in the southern part of the occupied West Bank, wounding an entire family, including children. On Tuesday evening, Israeli soldiers invaded the al-Maghayir village northeast of Ramallah, in the central West Bank, after many illegal colonizers attacked Palestinian cars. In related news, the soldiers shot three Palestinian construction workers near the illegal Annexation Wall, west of Hebron, in the southern part of the occupied West Bank, and abducted them.</code>                                                                                                                                                                                                                                                                                                                        |
  | <code>How was the Mosbrucher Maar formed, and when did it occur</code>                               | <code>The Mosbrucher Weiher, also called the Mosbrucher Maar, is a silted up maar east of the municipal boundary of the village of Mosbruch in the county Vulkaneifel in Germany. It is located immediately at the foot of the 675-metre-high Hochkelberg, a former volcano. The floor of the maar is in the shape of an elongated oval and is about 700×500 metres in size, its upper boundary has a diameter of about 1,300 × 1,050 metres. This makes the Mosbrucher Maar the third largest of the maars in the western Eifel region. The Üßbach stream flows past and close to the Mosbrucher Weiher. Origin <br>According to pollen analysis studies, the crater was formed about 11,000 years ago by a volcanic eruption. In the area around the maar there are very few volcanic tuffs in comparison to other Eifel maars; only in two places are there greater accumulations of tuff; the rest of the surrounding area is covered only by a thin layer.</code> |
* Loss: <code>selfloss.Infonce</code> with these parameters:
  ```json
  {
      "scale": 20.0,
      "similarity_fct": "cos_sim"
  }
  ```

### Evaluation Dataset

#### Unnamed Dataset

* Size: 1,096 evaluation samples
* Columns: <code>anchor</code> and <code>positive</code>
* Approximate statistics based on the first 1000 samples:
  |         | anchor                                                                             | positive                                                                            |
  |:--------|:-----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|
  | type    | string                                                                             | string                                                                              |
  | details | <ul><li>min: 6 tokens</li><li>mean: 18.26 tokens</li><li>max: 574 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 189.9 tokens</li><li>max: 1024 tokens</li></ul> |
* Samples:
  | anchor                                                                                                                                                                                         | positive                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
  |:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
  | <code>What architectural features are present on the front and southern sides of the Martínez Adobe house</code>                                                                               | <code>The front and southern sides of the house have wooden wrap-around porches at each level. Wood shingles of either cedar or redwood originally covered the roof. The Martínez Adobe is now part of the John Muir National Historic Site and is open to the public. See also<br>California Historical Landmarks in Contra Costa County<br>National Register of Historic Places listings in Contra Costa County, California<br><br>References<br><br>Further reading<br>Feasibility Report John Muir Home and Vicente Martinez Adobe, Martinez, California. (1963). United States: National Park Service, U.S. Department of the Interior. Western Regional Office. Vincent, G., Mariotti, J., Rubin, J. (2009). Pinole. United States: Arcadia Publishing.</code> |
  | <code>What are the cognitive aspects being assessed in relation to TBI, and how do they impact the rehabilitation services for individuals, including warfighters with hearing problems</code> | <code>“Within AASC, we’ve been very proactive as part of interdisciplinary teams assessing TBI. Another area we’re looking at involves cognitive aspects associated with TBI and mild TBI and the best approach to providing rehabilitative services.”<br>As with warfighters who return to duty – including combat – with prosthetic feet or legs, many with hearing problems also want to continue serving rather than accept medical discharges.</code>                                                                                                                                                                                                                                                                                                           |
  | <code>What are the benefits mentioned by BIO President & CEO Jim Greenwood regarding the energy title programs in rural America</code>                                                         | <code>BIO President & CEO Jim Greenwood said, “The important energy title programs authorized and funded in this bill are just beginning to have a positive impact in revitalizing rural America, fueling economic growth and creating well-paying opportunities where we need it most -- in manufacturing, energy, agriculture and forestry. These programs can also help meet our responsibilities to revitalize rural areas, reduce dependence on foreign oil, and renew economic growth.</code>                                                                                                                                                                                                                                                                  |
* Loss: <code>selfloss.Infonce</code> with these parameters:
  ```json
  {
      "scale": 20.0,
      "similarity_fct": "cos_sim"
  }
  ```

### Training Hyperparameters
#### Non-Default Hyperparameters

- `eval_strategy`: steps
- `per_device_train_batch_size`: 2
- `per_device_eval_batch_size`: 2
- `learning_rate`: 2e-05
- `num_train_epochs`: 5
- `warmup_ratio`: 0.1
- `fp16`: True
- `batch_sampler`: no_duplicates

#### All Hyperparameters
<details><summary>Click to expand</summary>

- `overwrite_output_dir`: False
- `do_predict`: False
- `eval_strategy`: steps
- `prediction_loss_only`: True
- `per_device_train_batch_size`: 2
- `per_device_eval_batch_size`: 2
- `per_gpu_train_batch_size`: None
- `per_gpu_eval_batch_size`: None
- `gradient_accumulation_steps`: 1
- `eval_accumulation_steps`: None
- `learning_rate`: 2e-05
- `weight_decay`: 0.0
- `adam_beta1`: 0.9
- `adam_beta2`: 0.999
- `adam_epsilon`: 1e-08
- `max_grad_norm`: 1.0
- `num_train_epochs`: 5
- `max_steps`: -1
- `lr_scheduler_type`: linear
- `lr_scheduler_kwargs`: {}
- `warmup_ratio`: 0.1
- `warmup_steps`: 0
- `log_level`: passive
- `log_level_replica`: warning
- `log_on_each_node`: True
- `logging_nan_inf_filter`: True
- `save_safetensors`: True
- `save_on_each_node`: False
- `save_only_model`: False
- `restore_callback_states_from_checkpoint`: False
- `no_cuda`: False
- `use_cpu`: False
- `use_mps_device`: False
- `seed`: 42
- `data_seed`: None
- `jit_mode_eval`: False
- `use_ipex`: False
- `bf16`: False
- `fp16`: True
- `fp16_opt_level`: O1
- `half_precision_backend`: auto
- `bf16_full_eval`: False
- `fp16_full_eval`: False
- `tf32`: None
- `local_rank`: 0
- `ddp_backend`: None
- `tpu_num_cores`: None
- `tpu_metrics_debug`: False
- `debug`: []
- `dataloader_drop_last`: False
- `dataloader_num_workers`: 0
- `dataloader_prefetch_factor`: None
- `past_index`: -1
- `disable_tqdm`: False
- `remove_unused_columns`: True
- `label_names`: None
- `load_best_model_at_end`: False
- `ignore_data_skip`: False
- `fsdp`: []
- `fsdp_min_num_params`: 0
- `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
- `fsdp_transformer_layer_cls_to_wrap`: None
- `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
- `deepspeed`: None
- `label_smoothing_factor`: 0.0
- `optim`: adamw_torch
- `optim_args`: None
- `adafactor`: False
- `group_by_length`: False
- `length_column_name`: length
- `ddp_find_unused_parameters`: None
- `ddp_bucket_cap_mb`: None
- `ddp_broadcast_buffers`: False
- `dataloader_pin_memory`: True
- `dataloader_persistent_workers`: False
- `skip_memory_metrics`: True
- `use_legacy_prediction_loop`: False
- `push_to_hub`: False
- `resume_from_checkpoint`: None
- `hub_model_id`: None
- `hub_strategy`: every_save
- `hub_private_repo`: False
- `hub_always_push`: False
- `gradient_checkpointing`: False
- `gradient_checkpointing_kwargs`: None
- `include_inputs_for_metrics`: False
- `eval_do_concat_batches`: True
- `fp16_backend`: auto
- `push_to_hub_model_id`: None
- `push_to_hub_organization`: None
- `mp_parameters`: 
- `auto_find_batch_size`: False
- `full_determinism`: False
- `torchdynamo`: None
- `ray_scope`: last
- `ddp_timeout`: 1800
- `torch_compile`: False
- `torch_compile_backend`: None
- `torch_compile_mode`: None
- `dispatch_batches`: None
- `split_batches`: None
- `include_tokens_per_second`: False
- `include_num_input_tokens_seen`: False
- `neftune_noise_alpha`: None
- `optim_target_modules`: None
- `batch_eval_metrics`: False
- `eval_on_start`: False
- `prompts`: None
- `batch_sampler`: no_duplicates
- `multi_dataset_batch_sampler`: proportional

</details>

### Training Logs
| Epoch  | Step | Training Loss | Validation Loss |
|:------:|:----:|:-------------:|:---------------:|
| 0.0961 | 100  | 0.2849        | 0.0915          |
| 0.1921 | 200  | 0.0963        | 0.0511          |
| 0.2882 | 300  | 0.069         | 0.0459          |
| 0.3842 | 400  | 0.0622        | 0.0445          |
| 0.4803 | 500  | 0.0544        | 0.0441          |
| 0.5764 | 600  | 0.0615        | 0.0418          |
| 0.6724 | 700  | 0.0573        | 0.0416          |
| 0.7685 | 800  | 0.0524        | 0.0435          |
| 0.8646 | 900  | 0.0523        | 0.0398          |


### Framework Versions
- Python: 3.12.3
- Sentence Transformers: 3.4.0
- Transformers: 4.42.4
- PyTorch: 2.2.0+cu121
- Accelerate: 1.3.0
- Datasets: 3.2.0
- Tokenizers: 0.19.1

## Citation

### BibTeX

#### Sentence Transformers
```bibtex
@inproceedings{reimers-2019-sentence-bert,
    title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
    author = "Reimers, Nils and Gurevych, Iryna",
    booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
    month = "11",
    year = "2019",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/1908.10084",
}
```

#### Infonce
```bibtex
@misc{henderson2017efficient,
    title={Efficient Natural Language Response Suggestion for Smart Reply},
    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},
    year={2017},
    eprint={1705.00652},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}
```

<!--
## Glossary

*Clearly define terms in order to be accessible across audiences.*
-->

<!--
## Model Card Authors

*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
-->

<!--
## Model Card Contact

*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
-->