
# Dataset Card for MC4_Legal: A Corpus Covering the Legal Part of MC4 for European Languages

## Table of Contents

- [Table of Contents](#table-of-contents)
- [Dataset Description](#dataset-description)
    - [Dataset Summary](#dataset-summary)
    - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
    - [Languages](#languages)
- [Dataset Structure](#dataset-structure)
    - [Data Instances](#data-instances)
    - [Data Fields](#data-fields)
    - [Data Splits](#data-splits)
- [Dataset Creation](#dataset-creation)
    - [Curation Rationale](#curation-rationale)
    - [Source Data](#source-data)
    - [Annotations](#annotations)
    - [Personal and Sensitive Information](#personal-and-sensitive-information)
- [Considerations for Using the Data](#considerations-for-using-the-data)
    - [Social Impact of Dataset](#social-impact-of-dataset)
    - [Discussion of Biases](#discussion-of-biases)
    - [Other Known Limitations](#other-known-limitations)
- [Additional Information](#additional-information)
    - [Dataset Curators](#dataset-curators)
    - [Licensing Information](#licensing-information)
    - [Citation Information](#citation-information)
    - [Contributions](#contributions)

## Dataset Description

- **Homepage:**
- **Repository:** [GitHub](https://github.com/JoelNiklaus/LegalDatasets/tree/main/pretrain/mc4_legal)
- **Paper:** 
- **Leaderboard:**
- **Point of Contact:** [Joel Niklaus](mailto:joel.niklaus.2@bfh.ch)

### Dataset Summary

This dataset contains large text resources (~133GB in total) from mc4 filtered for legal data that can be used for pretraining language models.

Use the dataset like this:
```python
from datasets import load_dataset
dataset = load_dataset("joelito/mc4_legal", "de", split='train', streaming=True)
```

### Supported Tasks and Leaderboards

The dataset supports the task of masked language modeling.

### Languages

The following languages are supported: bg, cs, da, de, el, en, es, et, fi, fr, ga, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv

## Dataset Structure

### Data Instances

The file format is jsonl.xz and there is one split available ("train"). 


| Source   |   Size (MB) |       Words |   Documents |   Words/Document |
|:---------|------------:|------------:|------------:|-----------------:|
| all      |      448980 | 28599300521 |     9873288 |             2896 |
| bg       |          57 |     2390349 |         379 |             6306 |
| cs       |       31005 |  1840827375 |      677796 |             2715 |
| da       |         162 |    10466716 |        3231 |             3239 |
| de       |      105739 |  6184578784 |     3164461 |             1954 |
| el       |          30 |     1155977 |         307 |             3765 |
| en       |       13734 |   966539309 |      359283 |             2690 |
| es       |      132053 |  9058939804 |     2281888 |             3969 |
| et       |        2059 |   110198368 |       49987 |             2204 |
| fi       |        1270 |    62799074 |       44875 |             1399 |
| fr       |       30878 |  2117306229 |      598983 |             3534 |
| ga       |           1 |       32772 |           8 |             4096 |
| hu       |        4677 |   244911748 |       58857 |             4161 |
| it       |       46957 |  3053920779 |      990823 |             3082 |
| lt       |         156 |     9142223 |        1529 |             5979 |
| lv       |           1 |       58702 |          16 |             3668 |
| mt       |          65 |     3479869 |         731 |             4760 |
| nl       |         326 |    21962633 |        6875 |             3194 |
| pl       |       37950 |  2235839721 |      827641 |             2701 |
| pt       |       20120 |  1338147828 |      382173 |             3501 |
| ro       |        8816 |   551372510 |      136513 |             4038 |
| sk       |        5850 |   349265172 |      130701 |             2672 |
| sl       |        1742 |   107493024 |       32574 |             3299 |
| sv       |        5332 |   328471555 |      123657 |             2656 |


### Data Fields

[More Information Needed]

### Data Splits

[More Information Needed]

## Dataset Creation

The dataset was created by filtering mc4 for legal data. 
We used terms indicating legal citations to get the texts. 
Note that this dataset can be quite noisy, and the quality is not known.

### Curation Rationale

[More Information Needed]

### Source Data

#### Initial Data Collection and Normalization

[More Information Needed]

#### Who are the source language producers?

[More Information Needed]


### Annotations

#### Annotation process

[More Information Needed]

#### Who are the annotators?

[More Information Needed]

### Personal and Sensitive Information

[More Information Needed]

## Considerations for Using the Data

### Social Impact of Dataset

[More Information Needed]

### Discussion of Biases

[More Information Needed]

### Other Known Limitations

[More Information Needed]

## Additional Information

### Dataset Curators

[More Information Needed]

### Licensing Information

[More Information Needed]

### Citation Information

[More Information Needed]

### Contributions

Thanks to [@JoelNiklaus](https://github.com/joelniklaus) for adding this dataset.

task_categories:fill-mask annotations_creators:other language_creators:found multilinguality:multilingual size_categories:10M<n<100M source_datasets:original language:bg language:cs language:da language:de language:el language:en language:es language:et language:fi language:fr language:ga language:hu language:it language:lt language:lv language:mt language:nl language:pl language:pt language:ro language:sk language:sl language:sv license:cc-by-4.0 region:us
{"annotations_creators": ["other"], "language_creators": ["found"], "language": ["bg", "cs", "da", "de", "el", "en", "es", "et", "fi", "fr", "ga", "hu", "it", "lt", "lv", "mt", "nl", "pl", "pt", "ro", "sk", "sl", "sv"], "license": ["cc-by-4.0"], "multilinguality": ["multilingual"], "size_categories": ["10M<n<100M"], "source_datasets": ["original"], "task_categories": ["fill-mask"], "pretty_name": "MC4_Legal: A Corpus Covering the Legal Part of MC4 for European Languages"}
TAGS
#task_categories-fill-mask #annotations_creators-other #language_creators-found #multilinguality-multilingual #size_categories-10M<n<100M #source_datasets-original #language-Bulgarian #language-Czech #language-Danish #language-German #language-Modern Greek (1453-) #language-English #language-Spanish #language-Estonian #language-Finnish #language-French #language-Irish #language-Hungarian #language-Italian #language-Lithuanian #language-Latvian #language-Maltese #language-Dutch #language-Polish #language-Portuguese #language-Romanian #language-Slovak #language-Slovenian #language-Swedish #license-cc-by-4.0 #region-us 

Dataset Card for MC4\_Legal: A Corpus Covering the Legal Part of MC4 for European Languages
===========================================================================================


Table of Contents
-----------------


* Table of Contents
* Dataset Description
	+ Dataset Summary
	+ Supported Tasks and Leaderboards
	+ Languages
* Dataset Structure
	+ Data Instances
	+ Data Fields
	+ Data Splits
* Dataset Creation
	+ Curation Rationale
	+ Source Data
	+ Annotations
	+ Personal and Sensitive Information
* Considerations for Using the Data
	+ Social Impact of Dataset
	+ Discussion of Biases
	+ Other Known Limitations
* Additional Information
	+ Dataset Curators
	+ Licensing Information
	+ Citation Information
	+ Contributions


Dataset Description
-------------------


* Homepage:
* Repository: GitHub
* Paper:
* Leaderboard:
* Point of Contact: Joel Niklaus


### Dataset Summary


This dataset contains large text resources (~133GB in total) from mc4 filtered for legal data that can be used for pretraining language models.


Use the dataset like this:


### Supported Tasks and Leaderboards


The dataset supports the task of masked language modeling.


### Languages


The following languages are supported: bg, cs, da, de, el, en, es, et, fi, fr, ga, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv


Dataset Structure
-----------------


### Data Instances


The file format is URL and there is one split available ("train").



### Data Fields


### Data Splits


Dataset Creation
----------------


The dataset was created by filtering mc4 for legal data.
We used terms indicating legal citations to get the texts.
Note that this dataset can be quite noisy, and the quality is not known.


### Curation Rationale


### Source Data


#### Initial Data Collection and Normalization


#### Who are the source language producers?


### Annotations


#### Annotation process


#### Who are the annotators?


### Personal and Sensitive Information


Considerations for Using the Data
---------------------------------


### Social Impact of Dataset


### Discussion of Biases


### Other Known Limitations


Additional Information
----------------------


### Dataset Curators


### Licensing Information


### Contributions


Thanks to @JoelNiklaus for adding this dataset.



### Dataset Summary


This dataset contains large text resources (~133GB in total) from mc4 filtered for legal data that can be used for pretraining language models.


Use the dataset like this: ### Supported Tasks and Leaderboards


The dataset supports the task of masked language modeling. ### Languages


The following languages are supported: bg, cs, da, de, el, en, es, et, fi, fr, ga, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv


Dataset Structure
----------------- ### Data Instances


The file format is URL and there is one split available ("train"). ### Data Fields ### Data Splits


Dataset Creation
----------------


The dataset was created by filtering mc4 for legal data.
We used terms indicating legal citations to get the texts.
Note that this dataset can be quite noisy, and the quality is not known. ### Curation Rationale ### Source Data #### Initial Data Collection and Normalization #### Who are the source language producers? ### Annotations #### Annotation process #### Who are the annotators? ### Personal and Sensitive Information


Considerations for Using the Data
--------------------------------- ### Social Impact of Dataset ### Discussion of Biases ### Other Known Limitations


Additional Information
---------------------- ### Dataset Curators ### Licensing Information ### Contributions


Thanks to @JoelNiklaus for adding this dataset.
TAGS
#task_categories-fill-mask #annotations_creators-other #language_creators-found #multilinguality-multilingual #size_categories-10M<n<100M #source_datasets-original #language-Bulgarian #language-Czech #language-Danish #language-German #language-Modern Greek (1453-) #language-English #language-Spanish #language-Estonian #language-Finnish #language-French #language-Irish #language-Hungarian #language-Italian #language-Lithuanian #language-Latvian #language-Maltese #language-Dutch #language-Polish #language-Portuguese #language-Romanian #language-Slovak #language-Slovenian #language-Swedish #license-cc-by-4.0 #region-us 
 ### Dataset Summary


This dataset contains large text resources (~133GB in total) from mc4 filtered for legal data that can be used for pretraining language models.


Use the dataset like this: ### Supported Tasks and Leaderboards


The dataset supports the task of masked language modeling. ### Languages


The following languages are supported: bg, cs, da, de, el, en, es, et, fi, fr, ga, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv


Dataset Structure
----------------- ### Data Instances


The file format is URL and there is one split available ("train"). ### Data Fields ### Data Splits


Dataset Creation
----------------


The dataset was created by filtering mc4 for legal data.
We used terms indicating legal citations to get the texts.
Note that this dataset can be quite noisy, and the quality is not known. ### Curation Rationale ### Source Data #### Initial Data Collection and Normalization #### Who are the source language producers? ### Annotations #### Annotation process #### Who are the annotators? ### Personal and Sensitive Information


Considerations for Using the Data
--------------------------------- ### Social Impact of Dataset ### Discussion of Biases ### Other Known Limitations


Additional Information
---------------------- ### Dataset Curators ### Licensing Information ### Contributions


Thanks to @JoelNiklaus for adding this dataset.
passage: TAGS
#task_categories-fill-mask #annotations_creators-other #language_creators-found #multilinguality-multilingual #size_categories-10M<n<100M #source_datasets-original #language-Bulgarian #language-Czech #language-Danish #language-German #language-Modern Greek (1453-) #language-English #language-Spanish #language-Estonian #language-Finnish #language-French #language-Irish #language-Hungarian #language-Italian #language-Lithuanian #language-Latvian #language-Maltese #language-Dutch #language-Polish #language-Portuguese #language-Romanian #language-Slovak #language-Slovenian #language-Swedish #license-cc-by-4.0 #region-us 
### Dataset Summary


This dataset contains large text resources (~133GB in total) from mc4 filtered for legal data that can be used for pretraining language models.


Use the dataset like this:### Supported Tasks and Leaderboards


The dataset supports the task of masked language modeling.### Languages


The following languages are supported: bg, cs, da, de, el, en, es, et, fi, fr, ga, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv


Dataset Structure
-----------------### Data Instances


The file format is URL and there is one split available ("train").### Data Fields### Data Splits


Dataset Creation
----------------


The dataset was created by filtering mc4 for legal data.
We used terms indicating legal citations to get the texts.
Note that this dataset can be quite noisy, and the quality is not known.### Curation Rationale### Source Data#### Initial Data Collection and Normalization#### Who are the source language producers?### Annotations#### Annotation process#### Who are the annotators?### Personal and Sensitive Information


Considerations for Using the Data
---------------------------------### Social Impact of Dataset