coliee / README.md
tomaarsen's picture
tomaarsen HF staff
Update README.md
d90012e verified
---
language:
- en
multilinguality:
- monolingual
size_categories:
- 1K<n<10K
task_categories:
- feature-extraction
- sentence-similarity
pretty_name: COLIEE
tags:
- sentence-transformers
dataset_info:
- config_name: triplet
features:
- name: anchor
dtype: string
- name: positive
dtype: string
- name: negative
dtype: string
splits:
- name: train
num_bytes: 635988
num_examples: 463
download_size: 193692
dataset_size: 635988
- config_name: triplet-20
features:
- name: anchor
dtype: string
- name: positive
dtype: string
- name: negative_1
dtype: string
- name: negative_2
dtype: string
- name: negative_3
dtype: string
- name: negative_4
dtype: string
- name: negative_5
dtype: string
- name: negative_6
dtype: string
- name: negative_7
dtype: string
- name: negative_8
dtype: string
- name: negative_9
dtype: string
- name: negative_10
dtype: string
- name: negative_11
dtype: string
- name: negative_12
dtype: string
- name: negative_13
dtype: string
- name: negative_14
dtype: string
- name: negative_15
dtype: string
- name: negative_16
dtype: string
- name: negative_17
dtype: string
- name: negative_18
dtype: string
- name: negative_19
dtype: string
- name: negative_20
dtype: string
splits:
- name: train
num_bytes: 5778366
num_examples: 463
download_size: 1415816
dataset_size: 5778366
- config_name: triplet-all
features:
- name: anchor
dtype: string
- name: positive
dtype: string
- name: negative
dtype: string
splits:
- name: train
num_bytes: 12652528
num_examples: 9260
download_size: 1026567
dataset_size: 12652528
configs:
- config_name: triplet
data_files:
- split: train
path: triplet/train-*
- config_name: triplet-20
data_files:
- split: train
path: triplet-20/train-*
- config_name: triplet-all
data_files:
- split: train
path: triplet-all/train-*
---
# Dataset Card for COLIEE
This is a reformatting of the COLIEE dataset used to train the [BGE-M3 model](https://huggingface.co/BAAI/bge-m3). See the full BGE-M3 dataset in [Shitao/bge-m3-data](https://huggingface.co/datasets/Shitao/bge-m3-data).
## Dataset Subsets
### `triplet` subset
* Columns: "anchor", "positive", "negative"
* Column types: `str`, `str`, `str`
* Examples:
```python
{
'anchor': '\nA compulsory auction is also a sale, so warranty is imposed the same as for an ordinary sale.\n',
'positive': '\nArticle 568\n(1) The successful bidder at an auction based on the provisions of the Civil Execution Act and other laws (hereinafter referred to as an "auction" in this Article) may cancel the contract or demand a reduction of the price against the obligor pursuant to the provisions of Articles 541 and 542 and the provisions of Article 563\n(including as applied mutatis mutandis pursuant to Article 565).\n(2) In the cases referred to in the preceding paragraph, if the obligor is insolvent, the successful bidder may demand total or partial reimbursement of the proceeds against the obligees that received the distribution of the proceeds.\n(3) In the cases set forth in the preceding two paragraphs, if obligors knew of the absence of the object or right and did not disclose the same, or if obligees knew of the absence but demanded an auction, the successful bidder may claim compensation for loss or damage against those persons.\n(4) The provisions of the preceding three paragraphs do not apply to the non-conformity with respect to the kind or quality of the subject matter of an auction..\n',
'negative': '\nArticle 575\n(1) If the subject matter of a sale which has not yet been delivered bears fruits, the fruits vest in the seller.\n(2) The buyer bears the obligation to pay interest on the price beginning from the day of delivery;provided, however, that if a due date is provided for the payment of the price, it is not necessary to pay the interest until that due date arrives..\n'
}
```
* Collection strategy: Reading the coliee jsonl file in [Shitao/bge-m3-data](https://huggingface.co/datasets/Shitao/bge-m3-data) and taking only the first positive and first negative.
* Deduplified: No
### `triplet-20` subset
* Columns: "anchor", "positive", "negative_1", ..., "negative_20"
* Column types: `str`, ..., `str`
* Examples:
```python
{
'anchor': '\nA compulsory auction is also a sale, so warranty is imposed the same as for an ordinary sale.\n',
'positive': '\nArticle 568\n(1) The successful bidder at an auction based on the provisions of the Civil Execution Act and other laws (hereinafter referred to as an "auction" in this Article) may cancel the contract or demand a reduction of the price against the obligor pursuant to the provisions of Articles 541 and 542 and the provisions of Article 563\n(including as applied mutatis mutandis pursuant to Article 565).\n(2) In the cases referred to in the preceding paragraph, if the obligor is insolvent, the successful bidder may demand total or partial reimbursement of the proceeds against the obligees that received the distribution of the proceeds.\n(3) In the cases set forth in the preceding two paragraphs, if obligors knew of the absence of the object or right and did not disclose the same, or if obligees knew of the absence but demanded an auction, the successful bidder may claim compensation for loss or damage against those persons.\n(4) The provisions of the preceding three paragraphs do not apply to the non-conformity with respect to the kind or quality of the subject matter of an auction..\n',
'negative_1': '\nArticle 575\n(1) If the subject matter of a sale which has not yet been delivered bears fruits, the fruits vest in the seller.\n(2) The buyer bears the obligation to pay interest on the price beginning from the day of delivery;provided, however, that if a due date is provided for the payment of the price, it is not necessary to pay the interest until that due date arrives..\n',
'negative_2': '\nArticle 596\nThe provisions of Article 551\napply mutatis mutandis to loans for use.\nArticle 551\n(1) The donor is presumed to have promised to deliver or transfer the thing or right that is the subject matter of the gift, while maintaining its condition as of the time when it is specified as the subject matter of the gift.\n(2) With respect to gifts with burden, the donor provides the same warranty as that of a seller, to the extent of that burden..\n',
'negative_3': '\nArticle 520\nIf a claim and obligation becomes vested in the same person, such claim is extinguished;provided, however, that this does not apply if such a claim is the subject matter of the right of a third party..\n',
'negative_4': '\nArticle 121-2 (1) A person that has received payment or delivery as the performance of an obligation based on a void act has an obligation to restore the other party to the original state.\n(2) Notwithstanding the provisions of the preceding paragraph, if a person that receives payment or delivery as the performance of an obligation based on a void gratuitous act did not know that the act was void at the time of receiving the payment or delivery (or if the person did not know that the act was voidable at the time of receiving the payment or delivery in the case of an act which is deemed void ab initio pursuant to the provisions of the preceding Article after the receipt of the payment or delivery), has an obligation to return to the extent currently enriched by the act.\n',
'negative_5': '\nArticle 9\nA 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..\n',
'negative_6': '\nArticle 555\nA sale becomes effective when one of the parties promises to transfer certain property rights to the other party and the other party promises to pay the price for this..\n',
'negative_7': '\nArticle 304\n(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.\n(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..\n',
'negative_8': '\nArticle 555\nA sale becomes effective when one of the parties promises to transfer certain property rights to the other party and the other party promises to pay the price for this.\nArticle 560\nThe seller bears an obligation to enable the buyer to satisfy the requirements for perfection of the transfer of the right that is the subject matter of the sale, such as completing registration..\n',
'negative_9': '\nArticle 459\n(1) If a guarantor gives guarantee as requested by the principal obligor, and performs the obligation on behalf of the principal obligor or performs any other act that causes the obligation to be extinguished in exchange for the guarantor\'s own property (hereinafter referred to as an "act for extinguishment of obligation"), the guarantor has a right to reimbursement from the principal obligor for the amount of property expended for that act (if the amount of property exceeds the amount of the principal obligation extinguished by the act for extinguishment of obligation, the amount thus extinguished).\n(2) The provisions of Article 442, paragraph (2) apply mutatis mutandis to the cases set forth in the preceding paragraph..\n',
'negative_10': '\nArticle 587\nA loan for consumption becomes effective when a first party receives money or any other thing from a second party, having promised to return a thing of the same type, quality, and quantity..\n',
'negative_11': '\nArticle 649 If costs will be incurred in administering the mandated business, the mandator must, at the request of the mandatary, pay an advance for those costs.\n',
'negative_12': "\nArticle 541\nIf one of the parties does not perform that party's obligation, and the other party demands performance of that obligation, specifying a reasonable period of time, but no performance is completed during that period, the other party may cancel the contract;provided, however, that this does not apply if the non-performance of the obligations upon the passage of the period is minor in light of the contract and the common sense in the transaction.\nArticle 564\nThe provisions of the preceding two Articles do not preclude the buyer from claiming compensation for loss or damage pursuant to the provisions of Article 415\nor exercising the right to cancel pursuant to the provisions of Articles 541 and 542..\n",
'negative_13': '\nArticle 572\nEven if the seller makes a special agreement to the effect that the seller does not warrant in the case prescribed in the main clause of Article 562, paragraph (1) or Article 565, the seller may not be released from that responsibility with respect to any fact that the seller knew but did not disclose, and with respect to any right that the seller personally created for or assigned to a third party..\n',
'negative_14': '\nArticle 649\nIf costs will be incurred in administering the mandated business, the mandator must, at the request of the mandatary, pay an advance for those costs..\n',
'negative_15': '\nArticle 308\nStatutory 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.\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 311\nA person that has a claim arising from the causes set forth below has a statutory lien against specific movables of the obligor:\n(i) a lease of immovables;\n(ii) a lodging at a hotel;\n(iii) the transportation of passengers or luggage;\n(iv) the preservation of movables;\n(v) the sale of movables;\n(vi) the supply of seeds and seedlings or fertilizer (including eggs of silkworms or mulberry leaves provided to feed silkworms; the same applies hereinafter);\n(vii) agricultural labor; or\n(viii) industrial labor.\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..\n',
'negative_16': '\nArticle 362\n(1) A pledge may have a property right for its subject matter.\n(2) Beyond what is provided for in this Section, the provisions of the preceding three Sections (General Provisions, Pledges on Movables and Pledges of Immovables) apply mutatis mutandis to pledges referred to in the preceding paragraph, provided that it is not inconsistent with the nature of the same.\nArticle 364\nThe creation of a pledge over a claim (including a pledge over a claim which has not yet arisen) may not be duly asserted against a third party obligor and other third parties unless notice of the creation of the pledge is given to that third party obligor in accordance with the provisions of Article 467, or unless that third party obligors gives consent to the same.\nArticle 588\nIf any person has an obligation to pay money or deliver other thing under any arrangement, and the parties agree to regard such thing as the subject matter of a loan for consumption, it is deemed that this establishes a loan for consumption..\n',
'negative_17': '\nArticle 243\nIf two or more movable properties with different owners can no longer be separated without damage due to accession, the ownership of the composite thing belongs to the owner of the principal movable property. The same applies if excessive expense is required to separate the movables..\n',
'negative_18': '\nArticle 644\nA mandatary bears a duty to administer the mandated business with the due care of a prudent manager in compliance with the main purport of the mandate..\n',
'negative_19': '\nArticle 389\n(1) If a building is constructed on a mortgaged land after the creation of a mortgage, the mortgagee may auction the building together with the land;provided, however, that the right of priority of that mortgagee may be exercised solely against the proceeds of the land.\n(2) The provisions of the preceding paragraph do not apply if the owner of that building has rights with respect to the possession of the mortgaged land that may be duly asserted against the mortgagee..\n',
'negative_20': '\nArticle 565\nThe provisions of the preceding three Articles apply mutatis mutandis if the right transferred by the seller to the buyer does not conform to the terms of the contract (including the case in which the seller fails to transfer part of a right that belongs to another person).\nArticle 563\n(1) In the case prescribed in the main clause of paragraph (1) of the preceding Article, if the buyer demands that the seller cure the non-conformity of performance by specifying a reasonable period of time but the non-conformity of performance is not cured within that period, the buyer may request a reduction of the price in proportion to the degree of non-conformity.\n(2) Notwithstanding the provisions of the preceding paragraph, in the following cases, a buyer in good faith may request a reduction of the price immediately without making demand referred to in that paragraph:\n(i) if it is impossible to cure the non-conformity of performance;\n(ii) if the seller unequivocally manifests the intention to refuse to cure the non-conformity of performance;\n(iii) if, due to the nature of the contract or a manifestation of intention by the parties, the purpose of the contract is unable to be achieved unless the performance is carried out at a specific time on a specific date or within a certain period of time, and the seller fails to cure the non-conformity of the performance at the time or before the period expires; or\n(iv) beyond the cases set forth in the preceding items, it is obvious that the seller is unlikely to cure the non-conformity of the performance even if the buyer makes the demand referred to in the preceding paragraph.\n(3) If the non-conformity referred to in paragraph (1) is due to grounds attributable to the buyer, the buyer may not request a reduction of the price under the provisions of the preceding two paragraphs..\n'
}
```
* Collection strategy: Reading the coliee jsonl file in [Shitao/bge-m3-data](https://huggingface.co/datasets/Shitao/bge-m3-data), using all positives and the 20 negatives.
* Deduplified: No
### `triplet-all` subset
* Columns: "anchor", "positive", "negative"
* Column types: `str`, `str`, `str`
* Examples:
```python
{
'anchor': '\nA compulsory auction is also a sale, so warranty is imposed the same as for an ordinary sale.\n',
'positive': '\nArticle 568\n(1) The successful bidder at an auction based on the provisions of the Civil Execution Act and other laws (hereinafter referred to as an "auction" in this Article) may cancel the contract or demand a reduction of the price against the obligor pursuant to the provisions of Articles 541 and 542 and the provisions of Article 563\n(including as applied mutatis mutandis pursuant to Article 565).\n(2) In the cases referred to in the preceding paragraph, if the obligor is insolvent, the successful bidder may demand total or partial reimbursement of the proceeds against the obligees that received the distribution of the proceeds.\n(3) In the cases set forth in the preceding two paragraphs, if obligors knew of the absence of the object or right and did not disclose the same, or if obligees knew of the absence but demanded an auction, the successful bidder may claim compensation for loss or damage against those persons.\n(4) The provisions of the preceding three paragraphs do not apply to the non-conformity with respect to the kind or quality of the subject matter of an auction..\n',
'negative': '\nArticle 575\n(1) If the subject matter of a sale which has not yet been delivered bears fruits, the fruits vest in the seller.\n(2) The buyer bears the obligation to pay interest on the price beginning from the day of delivery;provided, however, that if a due date is provided for the payment of the price, it is not necessary to pay the interest until that due date arrives..\n'
}
```
* Collection strategy: Reading the coliee jsonl file in [Shitao/bge-m3-data](https://huggingface.co/datasets/Shitao/bge-m3-data) and taking each negative, but making a separate sample with each of the negatives.
* Deduplified: No