Datasets:
Update parquet files
Browse files- README.md +0 -181
- cawac.py +0 -90
- dataset_infos.json +0 -1
- default/train/0000.parquet +3 -0
- default/train/0001.parquet +3 -0
- default/train/0002.parquet +3 -0
- default/train/0003.parquet +3 -0
- default/train/0004.parquet +3 -0
- default/train/0005.parquet +3 -0
- default/train/0006.parquet +3 -0
- default/train/0007.parquet +3 -0
README.md
DELETED
|
@@ -1,181 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
annotations_creators:
|
| 3 |
-
- no-annotation
|
| 4 |
-
language_creators:
|
| 5 |
-
- found
|
| 6 |
-
language:
|
| 7 |
-
- ca
|
| 8 |
-
license:
|
| 9 |
-
- cc-by-sa-3.0
|
| 10 |
-
multilinguality:
|
| 11 |
-
- monolingual
|
| 12 |
-
size_categories:
|
| 13 |
-
- 10M<n<100M
|
| 14 |
-
source_datasets:
|
| 15 |
-
- original
|
| 16 |
-
task_categories:
|
| 17 |
-
- text-generation
|
| 18 |
-
- fill-mask
|
| 19 |
-
task_ids:
|
| 20 |
-
- language-modeling
|
| 21 |
-
- masked-language-modeling
|
| 22 |
-
paperswithcode_id: cawac
|
| 23 |
-
pretty_name: caWaC
|
| 24 |
-
dataset_info:
|
| 25 |
-
features:
|
| 26 |
-
- name: sentence
|
| 27 |
-
dtype: string
|
| 28 |
-
splits:
|
| 29 |
-
- name: train
|
| 30 |
-
num_bytes: 3987238444
|
| 31 |
-
num_examples: 24745986
|
| 32 |
-
download_size: 1620361999
|
| 33 |
-
dataset_size: 3987238444
|
| 34 |
-
---
|
| 35 |
-
|
| 36 |
-
# Dataset Card for caWaC
|
| 37 |
-
|
| 38 |
-
## Table of Contents
|
| 39 |
-
- [Dataset Description](#dataset-description)
|
| 40 |
-
- [Dataset Summary](#dataset-summary)
|
| 41 |
-
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
| 42 |
-
- [Languages](#languages)
|
| 43 |
-
- [Dataset Structure](#dataset-structure)
|
| 44 |
-
- [Data Instances](#data-instances)
|
| 45 |
-
- [Data Fields](#data-fields)
|
| 46 |
-
- [Data Splits](#data-splits)
|
| 47 |
-
- [Dataset Creation](#dataset-creation)
|
| 48 |
-
- [Curation Rationale](#curation-rationale)
|
| 49 |
-
- [Source Data](#source-data)
|
| 50 |
-
- [Annotations](#annotations)
|
| 51 |
-
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
| 52 |
-
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
| 53 |
-
- [Social Impact of Dataset](#social-impact-of-dataset)
|
| 54 |
-
- [Discussion of Biases](#discussion-of-biases)
|
| 55 |
-
- [Other Known Limitations](#other-known-limitations)
|
| 56 |
-
- [Additional Information](#additional-information)
|
| 57 |
-
- [Dataset Curators](#dataset-curators)
|
| 58 |
-
- [Licensing Information](#licensing-information)
|
| 59 |
-
- [Citation Information](#citation-information)
|
| 60 |
-
- [Contributions](#contributions)
|
| 61 |
-
|
| 62 |
-
## Dataset Description
|
| 63 |
-
|
| 64 |
-
- **Homepage:** http://nlp.ffzg.hr/resources/corpora/cawac/
|
| 65 |
-
- **Repository:** http://nlp.ffzg.hr/data/corpora/cawac.uniq.sortr.gz
|
| 66 |
-
- **Paper:** http://www.lrec-conf.org/proceedings/lrec2014/pdf/841_Paper.pdf
|
| 67 |
-
- **Leaderboard:**
|
| 68 |
-
- **Point of Contact:** [Nikola Ljubešič](mailto:nikola.ljubesic@ffzg.hr)
|
| 69 |
-
|
| 70 |
-
### Dataset Summary
|
| 71 |
-
|
| 72 |
-
caWaC is a 780-million-token web corpus of Catalan built from the .cat top-level-domain in late 2013.
|
| 73 |
-
|
| 74 |
-
### Supported Tasks and Leaderboards
|
| 75 |
-
|
| 76 |
-
[More Information Needed]
|
| 77 |
-
|
| 78 |
-
### Languages
|
| 79 |
-
|
| 80 |
-
Dataset is monolingual in Catalan language.
|
| 81 |
-
|
| 82 |
-
## Dataset Structure
|
| 83 |
-
|
| 84 |
-
### Data Instances
|
| 85 |
-
|
| 86 |
-
[More Information Needed]
|
| 87 |
-
|
| 88 |
-
### Data Fields
|
| 89 |
-
|
| 90 |
-
[More Information Needed]
|
| 91 |
-
|
| 92 |
-
### Data Splits
|
| 93 |
-
|
| 94 |
-
[More Information Needed]
|
| 95 |
-
|
| 96 |
-
## Dataset Creation
|
| 97 |
-
|
| 98 |
-
### Curation Rationale
|
| 99 |
-
|
| 100 |
-
[More Information Needed]
|
| 101 |
-
|
| 102 |
-
### Source Data
|
| 103 |
-
|
| 104 |
-
#### Initial Data Collection and Normalization
|
| 105 |
-
|
| 106 |
-
[More Information Needed]
|
| 107 |
-
|
| 108 |
-
#### Who are the source language producers?
|
| 109 |
-
|
| 110 |
-
[More Information Needed]
|
| 111 |
-
|
| 112 |
-
### Annotations
|
| 113 |
-
|
| 114 |
-
#### Annotation process
|
| 115 |
-
|
| 116 |
-
[More Information Needed]
|
| 117 |
-
|
| 118 |
-
#### Who are the annotators?
|
| 119 |
-
|
| 120 |
-
[More Information Needed]
|
| 121 |
-
|
| 122 |
-
### Personal and Sensitive Information
|
| 123 |
-
|
| 124 |
-
[More Information Needed]
|
| 125 |
-
|
| 126 |
-
## Considerations for Using the Data
|
| 127 |
-
|
| 128 |
-
### Social Impact of Dataset
|
| 129 |
-
|
| 130 |
-
[More Information Needed]
|
| 131 |
-
|
| 132 |
-
### Discussion of Biases
|
| 133 |
-
|
| 134 |
-
[More Information Needed]
|
| 135 |
-
|
| 136 |
-
### Other Known Limitations
|
| 137 |
-
|
| 138 |
-
[More Information Needed]
|
| 139 |
-
|
| 140 |
-
## Additional Information
|
| 141 |
-
|
| 142 |
-
### Dataset Curators
|
| 143 |
-
|
| 144 |
-
[More Information Needed]
|
| 145 |
-
|
| 146 |
-
### Licensing Information
|
| 147 |
-
|
| 148 |
-
Dataset is under the [CC-BY-SA 3.0](http://creativecommons.org/licenses/by-sa/3.0/) license.
|
| 149 |
-
|
| 150 |
-
### Citation Information
|
| 151 |
-
|
| 152 |
-
```
|
| 153 |
-
@inproceedings{DBLP:conf/lrec/LjubesicT14,
|
| 154 |
-
author = {Nikola Ljubesic and
|
| 155 |
-
Antonio Toral},
|
| 156 |
-
editor = {Nicoletta Calzolari and
|
| 157 |
-
Khalid Choukri and
|
| 158 |
-
Thierry Declerck and
|
| 159 |
-
Hrafn Loftsson and
|
| 160 |
-
Bente Maegaard and
|
| 161 |
-
Joseph Mariani and
|
| 162 |
-
Asunci{\'{o}}n Moreno and
|
| 163 |
-
Jan Odijk and
|
| 164 |
-
Stelios Piperidis},
|
| 165 |
-
title = {caWaC - {A} web corpus of Catalan and its application to language
|
| 166 |
-
modeling and machine translation},
|
| 167 |
-
booktitle = {Proceedings of the Ninth International Conference on Language Resources
|
| 168 |
-
and Evaluation, {LREC} 2014, Reykjavik, Iceland, May 26-31, 2014},
|
| 169 |
-
pages = {1728--1732},
|
| 170 |
-
publisher = {European Language Resources Association {(ELRA)}},
|
| 171 |
-
year = {2014},
|
| 172 |
-
url = {http://www.lrec-conf.org/proceedings/lrec2014/summaries/841.html},
|
| 173 |
-
timestamp = {Mon, 19 Aug 2019 15:23:35 +0200},
|
| 174 |
-
biburl = {https://dblp.org/rec/conf/lrec/LjubesicT14.bib},
|
| 175 |
-
bibsource = {dblp computer science bibliography, https://dblp.org}
|
| 176 |
-
}
|
| 177 |
-
```
|
| 178 |
-
|
| 179 |
-
### Contributions
|
| 180 |
-
|
| 181 |
-
Thanks to [@albertvillanova](https://github.com/albertvillanova) for adding this dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cawac.py
DELETED
|
@@ -1,90 +0,0 @@
|
|
| 1 |
-
# coding=utf-8
|
| 2 |
-
# Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor.
|
| 3 |
-
#
|
| 4 |
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 5 |
-
# you may not use this file except in compliance with the License.
|
| 6 |
-
# You may obtain a copy of the License at
|
| 7 |
-
#
|
| 8 |
-
# http://www.apache.org/licenses/LICENSE-2.0
|
| 9 |
-
#
|
| 10 |
-
# Unless required by applicable law or agreed to in writing, software
|
| 11 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 12 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 13 |
-
# See the License for the specific language governing permissions and
|
| 14 |
-
# limitations under the License.
|
| 15 |
-
"""caWaC: Catalan web corpus dataset."""
|
| 16 |
-
|
| 17 |
-
import datasets
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
_CITATION = """\
|
| 21 |
-
@inproceedings{DBLP:conf/lrec/LjubesicT14,
|
| 22 |
-
author = {Nikola Ljubesic and
|
| 23 |
-
Antonio Toral},
|
| 24 |
-
editor = {Nicoletta Calzolari and
|
| 25 |
-
Khalid Choukri and
|
| 26 |
-
Thierry Declerck and
|
| 27 |
-
Hrafn Loftsson and
|
| 28 |
-
Bente Maegaard and
|
| 29 |
-
Joseph Mariani and
|
| 30 |
-
Asunci{\'{o}}n Moreno and
|
| 31 |
-
Jan Odijk and
|
| 32 |
-
Stelios Piperidis},
|
| 33 |
-
title = {caWaC - {A} web corpus of Catalan and its application to language
|
| 34 |
-
modeling and machine translation},
|
| 35 |
-
booktitle = {Proceedings of the Ninth International Conference on Language Resources
|
| 36 |
-
and Evaluation, {LREC} 2014, Reykjavik, Iceland, May 26-31, 2014},
|
| 37 |
-
pages = {1728--1732},
|
| 38 |
-
publisher = {European Language Resources Association {(ELRA)}},
|
| 39 |
-
year = {2014},
|
| 40 |
-
url = {http://www.lrec-conf.org/proceedings/lrec2014/summaries/841.html},
|
| 41 |
-
timestamp = {Mon, 19 Aug 2019 15:23:35 +0200},
|
| 42 |
-
biburl = {https://dblp.org/rec/conf/lrec/LjubesicT14.bib},
|
| 43 |
-
bibsource = {dblp computer science bibliography, https://dblp.org}
|
| 44 |
-
}
|
| 45 |
-
"""
|
| 46 |
-
|
| 47 |
-
_DESCRIPTION = """\
|
| 48 |
-
caWaC is a 780-million-token web corpus of Catalan built from the .cat top-level-domain in late 2013.
|
| 49 |
-
"""
|
| 50 |
-
|
| 51 |
-
_LICENSE = "CC BY-SA 3.0"
|
| 52 |
-
|
| 53 |
-
_URL = "http://nlp.ffzg.hr/resources/corpora/cawac/"
|
| 54 |
-
_URLS = "http://nlp.ffzg.hr/data/corpora/cawac.uniq.sortr.gz"
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
class Cawac(datasets.GeneratorBasedBuilder):
|
| 58 |
-
"""caWaC: Catalan web corpus dataset."""
|
| 59 |
-
|
| 60 |
-
def _info(self):
|
| 61 |
-
return datasets.DatasetInfo(
|
| 62 |
-
description=_DESCRIPTION,
|
| 63 |
-
features=datasets.Features(
|
| 64 |
-
{
|
| 65 |
-
"sentence": datasets.Value("string"),
|
| 66 |
-
}
|
| 67 |
-
),
|
| 68 |
-
supervised_keys=None,
|
| 69 |
-
homepage=_URL,
|
| 70 |
-
license=_LICENSE,
|
| 71 |
-
citation=_CITATION,
|
| 72 |
-
)
|
| 73 |
-
|
| 74 |
-
def _split_generators(self, dl_manager):
|
| 75 |
-
downloaded_file = dl_manager.download_and_extract(_URLS)
|
| 76 |
-
return [
|
| 77 |
-
datasets.SplitGenerator(
|
| 78 |
-
name=datasets.Split.TRAIN,
|
| 79 |
-
gen_kwargs={
|
| 80 |
-
"filepath": downloaded_file,
|
| 81 |
-
},
|
| 82 |
-
),
|
| 83 |
-
]
|
| 84 |
-
|
| 85 |
-
def _generate_examples(self, filepath):
|
| 86 |
-
with open(filepath, encoding="utf8") as f:
|
| 87 |
-
for id_, row in enumerate(f):
|
| 88 |
-
yield id_, {
|
| 89 |
-
"sentence": row,
|
| 90 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dataset_infos.json
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
{"default": {"description": "caWaC is a 780-million-token web corpus of Catalan built from the .cat top-level-domain in late 2013. \n", "citation": "@inproceedings{DBLP:conf/lrec/LjubesicT14,\n author = {Nikola Ljubesic and\n Antonio Toral},\n editor = {Nicoletta Calzolari and\n Khalid Choukri and\n Thierry Declerck and\n Hrafn Loftsson and\n Bente Maegaard and\n Joseph Mariani and\n Asunci{'{o}}n Moreno and\n Jan Odijk and\n Stelios Piperidis},\n title = {caWaC - {A} web corpus of Catalan and its application to language\n modeling and machine translation},\n booktitle = {Proceedings of the Ninth International Conference on Language Resources\n and Evaluation, {LREC} 2014, Reykjavik, Iceland, May 26-31, 2014},\n pages = {1728--1732},\n publisher = {European Language Resources Association {(ELRA)}},\n year = {2014},\n url = {http://www.lrec-conf.org/proceedings/lrec2014/summaries/841.html},\n timestamp = {Mon, 19 Aug 2019 15:23:35 +0200},\n biburl = {https://dblp.org/rec/conf/lrec/LjubesicT14.bib},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n", "homepage": "http://nlp.ffzg.hr/resources/corpora/cawac/", "license": "CC BY-SA 3.0", "features": {"sentence": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "cawac", "config_name": "default", "version": {"version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 3987238444, "num_examples": 24745986, "dataset_name": "cawac"}}, "download_checksums": {"http://nlp.ffzg.hr/data/corpora/cawac.uniq.sortr.gz": {"num_bytes": 1620361999, "checksum": "581af7712663214acd437c812b65cda875a42294bcc40c8e8cadc3d9eee3b442"}}, "download_size": 1620361999, "post_processing_size": null, "dataset_size": 3987238444, "size_in_bytes": 5607600443}}
|
|
|
|
|
|
default/train/0000.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:056e192d6a5f8d46149c535612597e2878ab5773b193aaabf27e5f9015d72ed9
|
| 3 |
+
size 355543658
|
default/train/0001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48179d965771434f1997d62d68f21b79e92889f55a8f83be39a86c447782408d
|
| 3 |
+
size 355667376
|
default/train/0002.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:753310367ece5d0cb0e9f6bb10923665cfe46c65fa7e8fffdf5bed9bc5e52554
|
| 3 |
+
size 355592800
|
default/train/0003.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e696c6d3b41b49b156a2f1b2be0fed825b8ee2481d4ea4da1361aa0348f65b66
|
| 3 |
+
size 355658857
|
default/train/0004.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a00355d6495b7b0c90c80329293e1dc1774b3817dcae58a8d21148864988a30
|
| 3 |
+
size 355701048
|
default/train/0005.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c56689d66f6ebd67bb9337a35d28c4f5c9b50c7b95ef96bd415c7f3409e237f
|
| 3 |
+
size 355828833
|
default/train/0006.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:207fa29e92dedde7599fe8c6cd4dd498c4f4874c2eed3b83d1f62edd87d3e13f
|
| 3 |
+
size 355722197
|
default/train/0007.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b12b80ea10ddac1e727106d54373d170a905c082be731cf22f5e406c8d48763
|
| 3 |
+
size 346018235
|