File size: 35,161 Bytes
6dd9a8b
488b547
 
6dd9a8b
 
 
 
 
488b547
6dd9a8b
 
 
488b547
 
 
 
 
 
 
6dd9a8b
488b547
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6dd9a8b
488b547
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6dd9a8b
488b547
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6dd9a8b
488b547
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6dd9a8b
488b547
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6dd9a8b
488b547
6dd9a8b
 
 
 
 
 
488b547
6dd9a8b
 
 
 
 
 
54660cd
6dd9a8b
 
 
488b547
 
6dd9a8b
 
 
 
 
 
 
 
 
 
 
 
54660cd
6dd9a8b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
488b547
 
 
6dd9a8b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
488b547
6dd9a8b
488b547
 
 
54660cd
488b547
 
 
 
6dd9a8b
488b547
 
 
 
 
6dd9a8b
 
 
 
 
 
 
 
 
 
 
488b547
6dd9a8b
 
 
 
 
 
 
 
 
 
 
 
488b547
54660cd
6dd9a8b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54660cd
6dd9a8b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
---
language:
- en
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:9260
- loss:MultipleNegativesRankingLoss
base_model: jinaai/jina-embeddings-v2-small-en
widget:
- source_sentence: '

    If the adjudication of disappearance is made with respect to A, who was aboard
    a vessel which later sank, A is deemed to have died upon elapse of one year after
    the sinking accident.

    '
  sentences:
  - '

    Article 31

    A person subject to a declaration of disappearance pursuant to the provisions
    of paragraph (1) of the preceding Article is deemed to have died when the period
    of time referred to in that paragraph ended, and a person subject to a declaration
    of disappearance pursuant to the provisions of paragraph (2) of that Article is
    deemed to have died when that danger had passed.

    Article 30

    (1) If it has been unclear for seven years whether an absentee is dead or alive,
    the family court may enter a declaration of disappearance at the request of an
    interested person.

    (2) The provisions of the preceding paragraph also apply if it has been unclear
    whether a person who has entered a war zone, was aboard a vessel that has sunk,
    or was otherwise exposed to a danger likely to result in a person''s death is
    dead or alive, for one year after the war has ended, the vessel sank, or such
    other danger has passed..

    '
  - '

    Article 9

    A juridical act performed by an adult ward is voidable;provided, however, that
    this does not apply to the purchase of daily necessities or to any other act involved
    in day-to-day life..

    '
  - '

    Article 97

    (1) A manifestation of intention becomes effective at the time notice thereof
    reaches the other party.

    (2) If the other party prevents notice of a manifestation of intention from reaching
    them without a legitimate reason, the notice is deemed to have reached that party
    at the time it would have normally reached them.

    (3) The effect of a manifestation of intention is not impaired even if the person
    making it dies, loses mental capacity, or becomes subject to restrictions on their
    legal capacity to act after having sent the notice..

    '
- source_sentence: '

    In cases where  a contract that creates a pledge upon a claim that cannot be assigned
    due to its nature has been made, such contract is void, regardless of whether
    the pledgee acted in good or bad faith regarding said non-assignability.

    '
  sentences:
  - '

    Article 372

    The provisions of Article 296, Article 304

    and Article 351

    apply mutatis mutandis to mortgages.

    Article 304

    (1) A statutory lien may also be exercised against things including monies that
    the obligor is to receive as a result of the sale, lease or loss of, or damage
    to, the subject matter of the statutory lien;provided, however, that the holder
    of the statutory lien must attach the same before the payment or delivery of the
    monies or other thing.

    (2) The provisions of the preceding paragraph also apply to the consideration
    for real rights created by the obligor on the subject matter of the statutory
    lien..

    '
  - '

    Article 636

    If the contractor delivers to the party ordering work of a content the subject
    matter of work that does not conform to the terms of the contract with respect
    to the kind or quality (in the case of the subject matter of work that is not
    required to be delivered, if the subject matter of work does not conform to the
    terms of the contract with respect to the kind or quality when the work is finished),
    the party ordering work may not demand cure of the non-conformity of performance,
    demand a reduction of the remuneration, claim compensation for loss or damage,
    or cancel the contract, on the grounds of the non-conformity caused by the nature
    of the materials that the party ordering work has provided or any instructions
    that the relevant party has given;provided, however, that this does not apply
    if the contractor knew that the materials or instructions were inappropriate but
    did not notify the ordering party of this..

    '
  - '

    Article 343

    A thing that cannot be transferred to another person may not be made the subject
    of a pledge..

    '
- source_sentence: '

    If a mortgage creation contract has the agreement of the mortgagee and of the
    mortgagor that has ownership of the subject matter of the mortgage, it will be
    effective even if it is not in writing and there is no registration of its creation.

    '
  sentences:
  - '

    Article 176

    The creation and transfer of a real right becomes effective solely by the manifestations
    of intention of the parties.

    Article 177

    Acquisitions of, losses of and changes in real rights on immovables may not be
    duly asserted against any third parties, unless the same are registered pursuant
    to the applicable provisions of the Real Property Registration Act (Act No. 123
    of 2004) and other laws regarding registration..

    '
  - '

    Article 370

    A mortgage extends to the things that form an integral part of the immovables
    that are the subject matter of the mortgage (hereinafter referred to as "mortgaged
    immovables") except for buildings on the mortgaged land; provided, however, that
    this does not apply if the act establishing the mortgage provides otherwise or
    the rescission of fraudulent act may be demanded as prescribed in Article 424,
    paragraph (3) with regard to the act of the obligor..

    '
  - '

    Article 335

    (1) Holders of general statutory liens cannot be paid out of immovables unless
    they are first paid out of property other than immovables and a claim that is
    not satisfied remains.

    (2) With respect to immovables, holders of general statutory liens must first
    be paid out of those that are not the subject matters of special security.

    (3) If holders of general statutory liens fail to participate in distributions
    in accordance with the provisions of the preceding two paragraphs, they may not
    exercise their statutory liens against registered third parties with respect to
    amounts that would have been paid to them if they had participated in the distribution.

    (4) The provisions of the preceding three paragraphs do not apply if the proceeds
    of immovables are distributed prior to the proceeds of assets other than immovables,
    or if the proceeds of immovables that are the subject matter of a special security
    are distributed prior to the proceeds of other immovables..

    '
- source_sentence: '

    In cases where any defect in the installation or preservation of any structure
    on land caused damages to A,if B who possesses such structure shall be liable
    to compensate for those damages, the owner must compensate for the damages too
    when B has no financial resources.

    '
  sentences:
  - '

    Article 192 A person that commences the possession of movables peacefully and
    openly by a transactional act acquires the rights that are exercised with respect
    to the movables immediately if the person possesses it in good faith and without
    negligence.

    Article 193 In the cases provided for in the preceding Article, if the possessed
    thing constitutes stolen or lost property, the victim or the person that lost
    the thing may demand the return of that thing from the possessor within two years
    from the time of the loss or theft.

    '
  - '

    Article 717

    (1) If a defect in the installation or preservation of a structure on land causes
    damage to another person, the possessor of that structure is liable to the person
    incurring damage to compensate for the damage;provided, however, that if the possessor
    has exercised the necessary care to prevent the damage, the owner must compensate
    for the damage.

    (2) The provisions of the preceding paragraph apply mutatis mutandis if there
    is a defect in the planting or supporting of bamboo or trees.

    (3) In the cases referred to in the preceding two paragraphs, if there is another
    person that is liable for the cause of the damage, the possessor or owner may
    exercise their right to reimbursement against that person..

    '
  - '

    Article 587-2

    (1) Notwithstanding the provisions of the preceding Article, a loan for consumption
    made in writing becomes effective when a first party promises to deliver money
    or any other thing and a second party promises to return a thing of the same type,
    quality, and quantity as the thing delivered.

    (2) The borrower of a loan for consumption made in writing may cancel the contract
    until the borrower receives the money or other thing from the lender. In such
    a case, if the lender sustains any damage from the cancellation of the contract,
    the lender may claim compensation therefor.

    (3) A loan for consumption made in writing ceases to be effective if either of
    the parties receives an order commencing bankruptcy proceedings before the borrower
    receives the thing such as money from the lender.

    (4) If a loan for consumption is made by means of an electronic or magnetic record
    in which its content is recorded, the loan for consumption is deemed to have been
    made in writing, and the provisions of the preceding three paragraphs apply thereto..

    '
- source_sentence: '

    In cases where real rights do not require requirements of perfection, the real
    rights that formed earlier in time take priority.

    '
  sentences:
  - '

    Article 177

    Acquisitions of, losses of and changes in real rights on immovables may not be
    duly asserted against any third parties, unless the same are registered pursuant
    to the applicable provisions of the Real Property Registration Act (Act No. 123
    of 2004) and other laws regarding registration..

    '
  - '

    Article 445

    Even if one of the joint and several obligors is released from the obligation
    or the prescription period expires for one of the joint and several obligors,
    other joint and several obligors may exercise the right to reimbursement referred
    to in Article 442, paragraph (1) against that one joint and several obligor..

    '
  - '

    Article 329

    (1) If there are competing general statutory liens, the order of priority follows
    the order set forth in each item of Article 306.

    (2) Ife there are competing a general statutory lien and a special statutory lien,
    the special statutory lien has priority over the general statutory lien;provided,
    however, that statutory liens on expenses for the common benefit have priority
    being effective against all obligees who benefit from the same.

    Article 306

    A person that has a claim arising from the causes set forth below has a statutory
    lien over the entire assets of the obligor:

    (i) expenses for the common benefit;

    (ii) an employer-employee relationship;

    (iii) funeral expenses; or

    (iv) the supply of daily necessaries.

    Article 330

    (1) If there are competing special statutory liens against the same movables,
    the order of priority follows the order set forth below.In this case, if there
    are two or more preservers with respect to the statutory liens for preservation
    of movables set forth in item (ii), a new preserver has priority over previous
    preservers:

    (i) statutory liens for leases of immovables, lodging at hotels and transportation;

    (ii) statutory liens for the preservation of movables; and

    (iii) statutory liens for the sale of movables, the supply of seeds and seedlings
    or fertilizer, agricultural labor and industrial labor.

    (2) In the cases referred to in the preceding paragraph, if a holder of a statutory
    lien ranked first knew at the time of acquiring the relevant claim of the existence
    of a holder of a statutory lien of the second or third rank, that holder may not
    exercise the relevant rights of priority against those persons. The same applies
    to the exercise against persons that have preserved things on behalf of the holder
    of a statutory lien of the first rank.

    (3) Regarding fruits, the first rank belongs to persons who engage in agricultural
    labor, the second rank belongs to persons that supply seeds and seedlings or fertilizer,
    and the third rank belongs to lessors of land..

    '
datasets:
- sentence-transformers/coliee
pipeline_tag: sentence-similarity
library_name: sentence-transformers
---

# SentenceTransformer based on jinaai/jina-embeddings-v2-small-en

This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [jinaai/jina-embeddings-v2-small-en](https://huggingface.co/jinaai/jina-embeddings-v2-small-en) on the [coliee](https://huggingface.co/datasets/sentence-transformers/coliee) dataset. It maps sentences & paragraphs to a 512-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:** [jinaai/jina-embeddings-v2-small-en](https://huggingface.co/jinaai/jina-embeddings-v2-small-en) <!-- at revision 796cff318cdd4e5fbe8b7303a1ef8cbec36996ef -->
- **Maximum Sequence Length:** 512 tokens
- **Output Dimensionality:** 512 tokens
- **Similarity Function:** Cosine Similarity
- **Training Dataset:**
    - [coliee](https://huggingface.co/datasets/sentence-transformers/coliee)
- **Language:** en
<!-- - **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': 512, 'do_lower_case': False}) with Transformer model: JinaBertModel 
  (1): Pooling({'word_embedding_dimension': 512, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
)
```

## 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("bwang0911/jev2-legal")
# Run inference
sentences = [
    '\nIn cases where real rights do not require requirements of perfection, the real rights that formed earlier in time take priority.\n',
    '\nArticle 329\n(1) If there are competing general statutory liens, the order of priority follows the order set forth in each item of Article 306.\n(2) Ife there are competing a general statutory lien and a special statutory lien, the special statutory lien has priority over the general statutory lien;provided, however, that statutory liens on expenses for the common benefit have priority being effective against all obligees who benefit from the same.\nArticle 306\nA person that has a claim arising from the causes set forth below has a statutory lien over the entire assets of the obligor:\n(i) expenses for the common benefit;\n(ii) an employer-employee relationship;\n(iii) funeral expenses; or\n(iv) the supply of daily necessaries.\nArticle 330\n(1) If there are competing special statutory liens against the same movables, the order of priority follows the order set forth below.In this case, if there are two or more preservers with respect to the statutory liens for preservation of movables set forth in item (ii), a new preserver has priority over previous preservers:\n(i) statutory liens for leases of immovables, lodging at hotels and transportation;\n(ii) statutory liens for the preservation of movables; and\n(iii) statutory liens for the sale of movables, the supply of seeds and seedlings or fertilizer, agricultural labor and industrial labor.\n(2) In the cases referred to in the preceding paragraph, if a holder of a statutory lien ranked first knew at the time of acquiring the relevant claim of the existence of a holder of a statutory lien of the second or third rank, that holder may not exercise the relevant rights of priority against those persons. The same applies to the exercise against persons that have preserved things on behalf of the holder of a statutory lien of the first rank.\n(3) Regarding fruits, the first rank belongs to persons who engage in agricultural labor, the second rank belongs to persons that supply seeds and seedlings or fertilizer, and the third rank belongs to lessors of land..\n',
    '\nArticle 177\nAcquisitions of, losses of and changes in real rights on immovables may not be duly asserted against any third parties, unless the same are registered pursuant to the applicable provisions of the Real Property Registration Act (Act No. 123 of 2004) and other laws regarding registration..\n',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 512]

# 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

#### coliee

* Dataset: [coliee](https://huggingface.co/datasets/sentence-transformers/coliee) at [d90012e](https://huggingface.co/datasets/sentence-transformers/coliee/tree/d90012e1f3a0d7103713bb2ce7faed1636a10090)
* Size: 9,260 training samples
* Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
* Approximate statistics based on the first 1000 samples:
  |         | anchor                                                                              | positive                                                                             | negative                                                                             |
  |:--------|:------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
  | type    | string                                                                              | string                                                                               | string                                                                               |
  | details | <ul><li>min: 10 tokens</li><li>mean: 46.44 tokens</li><li>max: 137 tokens</li></ul> | <ul><li>min: 22 tokens</li><li>mean: 117.11 tokens</li><li>max: 441 tokens</li></ul> | <ul><li>min: 14 tokens</li><li>mean: 123.64 tokens</li><li>max: 405 tokens</li></ul> |
* Samples:
  | anchor                                                                                                                                                                                                                                                    | positive                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | negative                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
  |:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
  | <code><br>Actions for maintenance of possession must be brought during the disturbance.<br></code>                                                                                                                                                        | <code><br>Article 201<br>(1) An action for maintenance of possession must be filed during the obstruction or within one year after the obstruction stops;provided, however, that if the possessed thing has been damaged due to construction work and either one year has passed from the time when the construction was started or the construction has been completed, the action may not be filed.<br>(2) An action for preservation of possession may be filed so long as the danger of obstruction exists.In this case, the provisions of the proviso to the preceding paragraph apply mutatis mutandis if the possessed thing is likely to be damaged by the construction work.<br>(3) An action for recovery of possession must be filed within one year from the time when a possessor was forcibly dispossessed..<br></code> | <code><br>Article 246<br>(1) If a person (hereinafter in this Article referred to as "processor") adds labor to another person's movables, the ownership of the processed thing belongs to the owner of the material; provided, however, that if the value derived from the work significantly exceeds the value of the material, the processor acquires ownership of the processed thing.<br>(2) In the cases prescribed in the preceding paragraph, if the processor provides a portion of the materials, the processor acquires ownership of the processed thing only if the value of provided materials added to the value derived from the labor exceeds the value of the other person's materials.<br>Article 91<br>If a party to a juridical act manifests an intention that is inconsistent with the provisions of laws and regulations that are not related to public policy, that intention prevails..<br></code> |
  | <code><br>In the case where (A) loses his/her capacity to act after the dispatch of the notice of an offer of a contract to (B), who is a person at a distance, even if (B) knows such fact, the offer of the contract shall become effective.<br></code> | <code><br>Article 526<br>If an offeror dies, comes to be in a constant state wherein the offeror lacks mental capacity, or becomes subject to restrictions on legal capacity to act after issuing notice of the offer, and the offeror has manifested the intention not to make the offer effective should any of these facts occur, or the other party comes to know that any of these facts has occurred before issuing a notice of acceptance, that offer is not effective..<br></code>                                                                                                                                                                                                                                                                                                                                            | <code><br>Article 301<br>An obligor may demand that a right of retention be terminated by providing a reasonable security.<br>Article 533<br>A party to a bilateral contract may refuse to perform that party's own obligation until the other party tenders the performance of that other party's obligation (including the performance of an obligation to compensate for loss or damage in lieu of the performance of an obligation);provided, however, that this does not apply if the obligation of the other party is not yet due..<br></code>                                                                                                                                                                                                                                                                                                                                                                        |
  | <code><br>Statutory liens for employer-employee relationships secure salaries paid regularly, but do not secure retirement payments that should be paid when the employee retires.<br></code>                                                             | <code><br>Article 308<br>Statutory liens for employer-employee relationships exist with respect to salaries and other claims that arise from the employer-employee relationship between the obligor and the employee..<br></code>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | <code><br>Article 632<br>A contract for work become effective when one of the parties promises to complete work and the other party promises to pay remuneration for the outcome of the work..<br></code>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
  ```json
  {
      "scale": 20.0,
      "similarity_fct": "cos_sim"
  }
  ```

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

- `per_device_train_batch_size`: 64
- `learning_rate`: 2e-05
- `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`: no
- `prediction_loss_only`: True
- `per_device_train_batch_size`: 64
- `per_device_eval_batch_size`: 8
- `per_gpu_train_batch_size`: None
- `per_gpu_eval_batch_size`: None
- `gradient_accumulation_steps`: 1
- `eval_accumulation_steps`: None
- `torch_empty_cache_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`: 3
- `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
- `use_liger_kernel`: False
- `eval_use_gather_object`: False
- `batch_sampler`: no_duplicates
- `multi_dataset_batch_sampler`: proportional

</details>

### Framework Versions
- Python: 3.10.12
- Sentence Transformers: 3.1.1
- Transformers: 4.45.2
- PyTorch: 2.5.1+cu124
- Accelerate: 1.1.0
- Datasets: 3.1.0
- Tokenizers: 0.20.3

## 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",
}
```

#### MultipleNegativesRankingLoss
```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.*
-->