Datasets:

Modalities:
Text
Formats:
parquet
Languages:
Catalan
Libraries:
Datasets
Dask
License:
parquet-converter commited on
Commit
99b830d
·
1 Parent(s): c8a3f55

Update parquet files

Browse files
.gitattributes DELETED
@@ -1,52 +0,0 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ftz filter=lfs diff=lfs merge=lfs -text
6
- *.gz filter=lfs diff=lfs merge=lfs -text
7
- *.h5 filter=lfs diff=lfs merge=lfs -text
8
- *.joblib filter=lfs diff=lfs merge=lfs -text
9
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
10
- *.lz4 filter=lfs diff=lfs merge=lfs -text
11
- *.model filter=lfs diff=lfs merge=lfs -text
12
- *.msgpack filter=lfs diff=lfs merge=lfs -text
13
- *.npy filter=lfs diff=lfs merge=lfs -text
14
- *.npz filter=lfs diff=lfs merge=lfs -text
15
- *.onnx filter=lfs diff=lfs merge=lfs -text
16
- *.ot filter=lfs diff=lfs merge=lfs -text
17
- *.parquet filter=lfs diff=lfs merge=lfs -text
18
- *.pb filter=lfs diff=lfs merge=lfs -text
19
- *.pickle filter=lfs diff=lfs merge=lfs -text
20
- *.pkl filter=lfs diff=lfs merge=lfs -text
21
- *.pt filter=lfs diff=lfs merge=lfs -text
22
- *.pth filter=lfs diff=lfs merge=lfs -text
23
- *.rar filter=lfs diff=lfs merge=lfs -text
24
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
25
- *.tar.* filter=lfs diff=lfs merge=lfs -text
26
- *.tflite filter=lfs diff=lfs merge=lfs -text
27
- *.tgz filter=lfs diff=lfs merge=lfs -text
28
- *.wasm filter=lfs diff=lfs merge=lfs -text
29
- *.xz filter=lfs diff=lfs merge=lfs -text
30
- *.zip filter=lfs diff=lfs merge=lfs -text
31
- *.zst filter=lfs diff=lfs merge=lfs -text
32
- *tfevents* filter=lfs diff=lfs merge=lfs -text
33
- # Audio files - uncompressed
34
- *.pcm filter=lfs diff=lfs merge=lfs -text
35
- *.sam filter=lfs diff=lfs merge=lfs -text
36
- *.raw filter=lfs diff=lfs merge=lfs -text
37
- # Audio files - compressed
38
- *.aac filter=lfs diff=lfs merge=lfs -text
39
- *.flac filter=lfs diff=lfs merge=lfs -text
40
- *.mp3 filter=lfs diff=lfs merge=lfs -text
41
- *.ogg filter=lfs diff=lfs merge=lfs -text
42
- *.wav filter=lfs diff=lfs merge=lfs -text
43
- # Image files - uncompressed
44
- *.bmp filter=lfs diff=lfs merge=lfs -text
45
- *.gif filter=lfs diff=lfs merge=lfs -text
46
- *.png filter=lfs diff=lfs merge=lfs -text
47
- *.tiff filter=lfs diff=lfs merge=lfs -text
48
- # Image files - compressed
49
- *.jpg filter=lfs diff=lfs merge=lfs -text
50
- *.jpeg filter=lfs diff=lfs merge=lfs -text
51
- *.webp filter=lfs diff=lfs merge=lfs -text
52
- valid.txt filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md DELETED
@@ -1,146 +0,0 @@
1
- ---
2
- annotations_creators:
3
- - no-annotation
4
- language_creators:
5
- - found
6
- language:
7
- - ca
8
- license:
9
- - cc-by-nc-4.0
10
- multilinguality:
11
- - monolingual
12
- pretty_name: Racó Forums
13
- size_categories:
14
- - ?
15
- task_categories:
16
- - fill-mask
17
- task_ids: []
18
- ---
19
-
20
- # Dataset Card for Racó Forums Corpus
21
-
22
- ## Table of Contents
23
- - [Table of Contents](#table-of-contents)
24
- - [Dataset Description](#dataset-description)
25
- - [Dataset Summary](#dataset-summary)
26
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
27
- - [Languages](#languages)
28
- - [Dataset Structure](#dataset-structure)
29
- - [Data Instances](#data-instances)
30
- - [Data Fields](#data-fields)
31
- - [Data Splits](#data-splits)
32
- - [Dataset Creation](#dataset-creation)
33
- - [Curation Rationale](#curation-rationale)
34
- - [Annotations](#annotations)
35
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
36
- - [Considerations for Using the Data](#considerations-for-using-the-data)
37
- - [Social Impact of Dataset](#social-impact-of-dataset)
38
- - [Discussion of Biases](#discussion-of-biases)
39
- - [Other Known Limitations](#other-known-limitations)
40
- - [Additional Information](#additional-information)
41
- - [Dataset Curators](#dataset-curators)
42
- - [Licensing Information](#licensing-information)
43
- - [Citation Information](#citation-information)
44
- - [Contributions](#contributions)
45
-
46
- ## Dataset Description
47
-
48
- - **Point of Contact:** [blanca.calvo@bsc.es](blanca.calvo@bsc.es)
49
-
50
- ### Dataset Summary
51
-
52
- The Racó Forums Corpus is a 19-million-sentence corpus of Catalan user-generated text built from the forums of [Racó Català](https://www.racocatala.cat/forums).
53
-
54
- Since the existing available corpora in Catalan lacked conversational data, we searched for a major source of such data for Catalan, and we found Racó Català, a popular multitopic online forum. We obtained a database dump and we transformed all the threads so that we obtained documents that traversed all the existing paths from the root (initial comment) to the leaves (last comment with no reply). In other words, if T is a tree such that T = {A,B,C,D} and the first comment is A that is replied by B and C independently, and, then, C is replied by D, we obtain two different documents A,B and A,C,D in the fairseq language modeling format.
55
-
56
- ### Supported Tasks and Leaderboards
57
-
58
- This corpus is mainly intended to pretrain language models and word representations.
59
-
60
- ### Languages
61
-
62
- The dataset is in Catalan (`ca-CA`).
63
-
64
- ## Dataset Structure
65
-
66
- The sentences are ordered to preserve the forum structure of comments and answers. T is a tree such that T = {A,B,C,D} and the first comment is A that is replied by B and C independently, and, then, C is replied by D, we obtain two different documents A,B and A,C,D in the fairseq language modeling format.
67
-
68
- ### Data Instances
69
-
70
- ```
71
- Ni la Paloma, ni la Razz, ni Bikini, ni res: la cafeteria Slàvia, a Les borges Blanques. Quin concertàs el d'ahir de Pomada!!! Fuà!!! va ser tan tan tan tan tan tan tan bo!!! Flipant!!! Irrepetible!!
72
- És cert, l'Slàvia mola màxim.
73
- ```
74
-
75
- ### Data Splits
76
-
77
- The dataset contains two splits: `train` and `valid`.
78
-
79
- ## Dataset Creation
80
-
81
- ### Curation Rationale
82
-
83
- We created this corpus to contribute to the development of language models in Catalan, a low-resource language. The data was structured to preserve the dialogue structure of forums.
84
-
85
- ### Source Data
86
-
87
- #### Initial Data Collection and Normalization
88
-
89
- The data was structured and anonymized by the BSC.
90
-
91
- #### Who are the source language producers?
92
-
93
- The data was provided by Racó Català.
94
-
95
- ### Annotations
96
-
97
- The dataset is unannotated.
98
-
99
- #### Annotation process
100
-
101
- [N/A]
102
-
103
- #### Who are the annotators?
104
-
105
- [N/A]
106
-
107
- ### Personal and Sensitive Information
108
-
109
- The data was annonymised to remove user names and emails, which were changed to random Catalan names. The mentions to the chat itself have also been changed.
110
-
111
- ## Considerations for Using the Data
112
-
113
- ### Social Impact of Dataset
114
-
115
- We hope this corpus contributes to the development of language models in Catalan, a low-resource language.
116
-
117
- ### Discussion of Biases
118
-
119
- We are aware that, since the data comes from user-generated forums, this will contain biases, hate speech and toxic content. We have not applied any steps to reduce their impact.
120
-
121
- ### Other Known Limitations
122
-
123
- [N/A]
124
-
125
- ## Additional Information
126
-
127
- ### Dataset Curators
128
-
129
- Text Mining Unit (TeMU) at the Barcelona Supercomputing Center (bsc-temu@bsc.es).
130
-
131
- This work was funded by the [Departament de la Vicepresidència i de Polítiques Digitals i Territori de la Generalitat de Catalunya](https://politiquesdigitals.gencat.cat/ca/inici/index.html#googtrans(ca|en) within the framework of [Projecte AINA](https://politiquesdigitals.gencat.cat/ca/economia/catalonia-ai/aina).
132
-
133
-
134
- ### Licensing Information
135
-
136
- [Creative Commons Attribution Non-commercial 4.0 International](https://creativecommons.org/licenses/by-nc/4.0/).
137
-
138
- ### Citation Information
139
-
140
- ```
141
-
142
- ```
143
-
144
- ### Contributions
145
-
146
- Thanks to Racó Català for sharing their data.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
default/raco_forums-train-00000-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcaac1518ebfe23118862c224fe39a681557fed38af83a157238f30f2c221b2a
3
+ size 161203474
default/raco_forums-train-00001-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45eacc2eded8fb09aeac79a7b52974faacc99c19fc2fba7c5601de086ac645ac
3
+ size 152429653
default/raco_forums-train-00002-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:997c6a16e6ed6ae0199638d8482c84fe4ea0566fd6d18da187688ee31d648c59
3
+ size 144437784
default/raco_forums-train-00003-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9be0dfdc1c3019cd90592450ed6ab56b06921277fda7414452b0578a1364c5a6
3
+ size 139258384
default/raco_forums-train-00004-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9e566d999767059d8eb778c6e7141ea429135ac7c04d26ba46a9bf6deca7de2
3
+ size 137226082
default/raco_forums-train-00005-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71f47d54871e6628c75200fff5798a4faeca1fa3f4d30379c495cc7202a4635d
3
+ size 135258618
default/raco_forums-train-00006-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d514900e078838fe45583d3d45277934f5fd84b363c32162488097f34f976c6c
3
+ size 131567825
default/raco_forums-train-00007-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ee7e0c6cef4072af757724684d1eb7d9be1826c4067bfa940a57c30f580bc89
3
+ size 129825218
default/raco_forums-train-00008-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c2ff449ae1f5e2da93043795ae14a06629acf65a65b6a691a4d473a12d432bb
3
+ size 128130984
default/raco_forums-train-00009-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4ed6eb9291d75ffffd3ef07b6617d3d8b8244f8d8f65e83477fb0a535aa0497
3
+ size 129254490
default/raco_forums-train-00010-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60c44f5cce9072a7887f5adb7a72a975c9a9eb6fcad462b67f75c5a7c3ba8d90
3
+ size 126724737
default/raco_forums-train-00011-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:585b51d47805ad8a9274a57567f66451c0bddc8ea163e915200cbbc5489e91d7
3
+ size 128468178
default/raco_forums-train-00012-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0df2dbba739914abdb2e74328b198cad539b29cffd7d0d4fffac2fd64f065331
3
+ size 135769442
default/raco_forums-train-00013-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e68ec039c274af0a67afdc6c7c3d7d07b0af241b15438f01f76f739927b68d9
3
+ size 136228307
default/raco_forums-train-00014-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31ede342647670cfaa6780c51372b1528c6b26492b7911e594e3dc6a05a0907d
3
+ size 130918372
default/raco_forums-train-00015-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe86c2451f26964f1aab231fcfaa886185a8de5cc5cf761b6da4bd524bf40110
3
+ size 134876536
default/raco_forums-train-00016-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1edbc5d43245f2649ccd0b0acc62ac1f70ca7eb262588b3cec8744f014729b1c
3
+ size 137232067
default/raco_forums-train-00017-of-00018.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:802cb27d138eb98e5abcc6ec6455a1306848ceb75a6bd91f64cc73d57960937e
3
+ size 40650551
default/raco_forums-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08a006268b99bfc6205a6a2b4a10517fc9175dfd880b5bceff7b1180cad0116d
3
+ size 10018345
raco_forums.py DELETED
@@ -1,71 +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
- """Racó Forums Corpus"""
16
-
17
- import os
18
-
19
- import datasets
20
-
21
-
22
- _CITATION = """
23
- """
24
-
25
- _DESCRIPTION = """\
26
- The Racó Forums Corpus is a 19,205,185-million-sentence corpus of Catalan user-generated text built from the forums of Racó Català.
27
-
28
- Since the existing available corpora in Catalan lacked conversational data, we searched for a major source of such data for Catalan, and we found Racó Català, a popular multitopic online forum. We obtained a database dump and we transformed all the threads so that we obtained documents that traversed all the existing paths from the root (initial comment) to the leaves (last comment with no reply). In other words, if T is a tree such that T = {A,B,C,D} and the first comment is A that is replied by B and C independently, and, then, C is replied by D, we obtain two different documents A,B and A,C,D in the fairseq language modeling format.
29
- """
30
-
31
- _HOMEPAGE = "https://www.racocatala.cat/forums"
32
-
33
- _LICENSE = "Creative Commons Non-commercial 4.0 International"
34
-
35
- _URL = "https://zenodo.org/record/7254179/files/data.zip?download=1"
36
- _TRAINING_FILE = "train.txt"
37
- _DEV_FILE = "valid.txt"
38
-
39
-
40
- class RacoForumsCorpus(datasets.GeneratorBasedBuilder):
41
- """Racó Forums Corpus"""
42
-
43
- VERSION = datasets.Version("1.0.0")
44
-
45
- def _info(self):
46
- return datasets.DatasetInfo(
47
- description=_DESCRIPTION,
48
- features=datasets.Features({"text": datasets.Value("string")}),
49
- supervised_keys=None,
50
- homepage=_HOMEPAGE,
51
- license=_LICENSE,
52
- citation=_CITATION,
53
- )
54
-
55
- def _split_generators(self, dl_manager):
56
- data_dir = dl_manager.download_and_extract(_URL)
57
- return [
58
- datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": os.path.join(data_dir, "data", _TRAINING_FILE)}),
59
- datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath": os.path.join(data_dir, "data", _DEV_FILE)}),
60
- ]
61
-
62
-
63
- def _generate_examples(self, filepath):
64
- with open(filepath, encoding="utf-8") as f:
65
- text = ""
66
- for id_, line in enumerate(f):
67
- if line == "\n":
68
- yield id_, {"text": text.strip()}
69
- text = ""
70
- else:
71
- text += line