parquet-converter commited on
Commit
f79500f
1 Parent(s): a3df155

Update parquet files

Browse files
.gitattributes DELETED
@@ -1,27 +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
- *.bin.* filter=lfs diff=lfs merge=lfs -text
5
- *.bz2 filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* 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
- *.onnx filter=lfs diff=lfs merge=lfs -text
14
- *.ot filter=lfs diff=lfs merge=lfs -text
15
- *.parquet filter=lfs diff=lfs merge=lfs -text
16
- *.pb filter=lfs diff=lfs merge=lfs -text
17
- *.pt filter=lfs diff=lfs merge=lfs -text
18
- *.pth filter=lfs diff=lfs merge=lfs -text
19
- *.rar filter=lfs diff=lfs merge=lfs -text
20
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
- *.tar.* filter=lfs diff=lfs merge=lfs -text
22
- *.tflite filter=lfs diff=lfs merge=lfs -text
23
- *.tgz filter=lfs diff=lfs merge=lfs -text
24
- *.xz filter=lfs diff=lfs merge=lfs -text
25
- *.zip filter=lfs diff=lfs merge=lfs -text
26
- *.zstandard filter=lfs diff=lfs merge=lfs -text
27
- *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md DELETED
@@ -1,175 +0,0 @@
1
- ---
2
- annotations_creators:
3
- - found
4
- language_creators:
5
- - found
6
- language:
7
- - es
8
- - eu
9
- license:
10
- - unknown
11
- multilinguality:
12
- - multilingual
13
- size_categories:
14
- - 100K<n<1M
15
- source_datasets:
16
- - original
17
- task_categories:
18
- - translation
19
- task_ids: []
20
- paperswithcode_id: eitb-parcc
21
- pretty_name: EiTB-ParCC
22
- dataset_info:
23
- features:
24
- - name: translation
25
- dtype:
26
- translation:
27
- languages:
28
- - es
29
- - eu
30
- config_name: es-eu
31
- splits:
32
- - name: train
33
- num_bytes: 139039398
34
- num_examples: 637183
35
- download_size: 57244346
36
- dataset_size: 139039398
37
- ---
38
-
39
- # Dataset Card for [Dataset Name]
40
-
41
- ## Table of Contents
42
- - [Dataset Description](#dataset-description)
43
- - [Dataset Summary](#dataset-summary)
44
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
45
- - [Languages](#languages)
46
- - [Dataset Structure](#dataset-structure)
47
- - [Data Instances](#data-instances)
48
- - [Data Fields](#data-fields)
49
- - [Data Splits](#data-splits)
50
- - [Dataset Creation](#dataset-creation)
51
- - [Curation Rationale](#curation-rationale)
52
- - [Source Data](#source-data)
53
- - [Annotations](#annotations)
54
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
55
- - [Considerations for Using the Data](#considerations-for-using-the-data)
56
- - [Social Impact of Dataset](#social-impact-of-dataset)
57
- - [Discussion of Biases](#discussion-of-biases)
58
- - [Other Known Limitations](#other-known-limitations)
59
- - [Additional Information](#additional-information)
60
- - [Dataset Curators](#dataset-curators)
61
- - [Licensing Information](#licensing-information)
62
- - [Citation Information](#citation-information)
63
- - [Contributions](#contributions)
64
-
65
- ## Dataset Description
66
-
67
- - **Homepage:**[EiTB-ParCC: Parallel Corpus of Comparable New](http://opus.nlpl.eu/EiTB-ParCC.php)
68
- - **Repository:**
69
- - **Paper:**
70
- - **Leaderboard:**
71
- - **Point of Contact:**
72
-
73
- ### Dataset Summary
74
-
75
- EiTB-ParCC: Parallel Corpus of Comparable News. A Basque-Spanish parallel corpus provided by \
76
- Vicomtech (https://www.vicomtech.org), extracted from comparable news produced by the \
77
- Basque public broadcasting group Euskal Irrati Telebista.
78
-
79
- ### Supported Tasks and Leaderboards
80
-
81
- The underlying task is machine translation.
82
-
83
- ### Languages
84
-
85
- [More Information Needed]
86
-
87
- ## Dataset Structure
88
-
89
- ### Data Instances
90
-
91
- [More Information Needed]
92
-
93
- ### Data Fields
94
-
95
- [More Information Needed]
96
-
97
- ### Data Splits
98
-
99
- [More Information Needed]
100
-
101
- ## Dataset Creation
102
-
103
- ### Curation Rationale
104
-
105
- [More Information Needed]
106
-
107
- ### Source Data
108
-
109
- #### Initial Data Collection and Normalization
110
-
111
- [More Information Needed]
112
-
113
- #### Who are the source language producers?
114
-
115
- [More Information Needed]
116
-
117
- ### Annotations
118
-
119
- #### Annotation process
120
-
121
- [More Information Needed]
122
-
123
- #### Who are the annotators?
124
-
125
- [More Information Needed]
126
-
127
- ### Personal and Sensitive Information
128
-
129
- [More Information Needed]
130
-
131
- ## Considerations for Using the Data
132
-
133
- ### Social Impact of Dataset
134
-
135
- [More Information Needed]
136
-
137
- ### Discussion of Biases
138
-
139
- [More Information Needed]
140
-
141
- ### Other Known Limitations
142
-
143
- [More Information Needed]
144
-
145
- ## Additional Information
146
-
147
- ### Dataset Curators
148
-
149
- [More Information Needed]
150
-
151
- ### Licensing Information
152
-
153
- [More Information Needed]
154
-
155
- ### Citation Information
156
-
157
- ```
158
- @InProceedings{TIEDEMANN12.463,
159
- author = {J{\"o}rg Tiedemann},
160
- title = {Parallel Data, Tools and Interfaces in OPUS},
161
- booktitle = {Proceedings of the Eight International Conference on Language Resources and Evaluation (LREC'12)},
162
- year = {2012},
163
- month = {may},
164
- date = {23-25},
165
- address = {Istanbul, Turkey},
166
- editor = {Nicoletta Calzolari (Conference Chair) and Khalid Choukri and Thierry Declerck and Mehmet Ugur Dogan and Bente Maegaard and Joseph Mariani and Jan Odijk and Stelios Piperidis},
167
- publisher = {European Language Resources Association (ELRA)},
168
- isbn = {978-2-9517408-7-7},
169
- language = {english}
170
- }
171
- ```
172
-
173
- ### Contributions
174
-
175
- Thanks to [@patil-suraj](https://github.com/patil-suraj) for adding this dataset.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"es-eu": {"description": "EiTB-ParCC: Parallel Corpus of Comparable News. A Basque-Spanish parallel corpus provided by Vicomtech (https://www.vicomtech.org), extracted from comparable news produced by the Basque public broadcasting group Euskal Irrati Telebista.\n", "citation": "J. Tiedemann, 2012, Parallel Data, Tools and Interfaces in OPUS. In Proceedings of the 8th International Conference on Language Resources and Evaluation (LREC 2012)\n", "homepage": "http://opus.nlpl.eu/EiTB-ParCC.php", "license": "", "features": {"translation": {"languages": ["es", "eu"], "id": null, "_type": "Translation"}}, "post_processed": null, "supervised_keys": null, "builder_name": "eitb_parcc", "config_name": "es-eu", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 139039398, "num_examples": 637183, "dataset_name": "eitb_parcc"}}, "download_checksums": {"http://opus.nlpl.eu/download.php?f=EiTB-ParCC/v1/moses/es-eu.txt.zip": {"num_bytes": 57244346, "checksum": "c58139e779d1d7f4f44bd67640f43db6c85d24d74ec01c7c062ea4c842447140"}}, "download_size": 57244346, "post_processing_size": null, "dataset_size": 139039398, "size_in_bytes": 196283744}}
 
 
eitb_parcc.py DELETED
@@ -1,104 +0,0 @@
1
- # coding=utf-8
2
- # Copyright 2020 The HuggingFace Datasets Authors.
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
- """EiTB-ParCC: Parallel Corpus of Comparable News"""
16
-
17
-
18
- import os
19
-
20
- import datasets
21
-
22
-
23
- _CITATION = """\
24
- @InProceedings{TIEDEMANN12.463,
25
- author = {J{\"o}rg Tiedemann},
26
- title = {Parallel Data, Tools and Interfaces in OPUS},
27
- booktitle = {Proceedings of the Eight International Conference on Language Resources and Evaluation (LREC'12)},
28
- year = {2012},
29
- month = {may},
30
- date = {23-25},
31
- address = {Istanbul, Turkey},
32
- editor = {Nicoletta Calzolari (Conference Chair) and Khalid Choukri and Thierry Declerck and Mehmet Ugur Dogan and Bente Maegaard and Joseph Mariani and Jan Odijk and Stelios Piperidis},
33
- publisher = {European Language Resources Association (ELRA)},
34
- isbn = {978-2-9517408-7-7},
35
- language = {english}
36
- }
37
- """
38
-
39
-
40
- _DESCRIPTION = """\
41
- EiTB-ParCC: Parallel Corpus of Comparable News. A Basque-Spanish parallel corpus provided by \
42
- Vicomtech (https://www.vicomtech.org), extracted from comparable news produced by the \
43
- Basque public broadcasting group Euskal Irrati Telebista.
44
- """
45
-
46
-
47
- _HOMEPAGE = "http://opus.nlpl.eu/EiTB-ParCC.php"
48
-
49
- _URL = "http://opus.nlpl.eu/download.php?f=EiTB-ParCC/v1/moses/es-eu.txt.zip"
50
-
51
-
52
- class EitbParcc(datasets.GeneratorBasedBuilder):
53
- """EiTB-ParCC: Parallel Corpus of Comparable News"""
54
-
55
- VERSION = datasets.Version("1.0.0")
56
-
57
- BUILDER_CONFIGS = [
58
- datasets.BuilderConfig(
59
- name="es-eu", version=datasets.Version("1.0.0"), description="A Basque-Spanish parallel"
60
- )
61
- ]
62
-
63
- def _info(self):
64
- return datasets.DatasetInfo(
65
- description=_DESCRIPTION,
66
- features=datasets.Features(
67
- {"translation": datasets.features.Translation(languages=tuple(self.config.name.split("-")))}
68
- ),
69
- supervised_keys=None,
70
- homepage=_HOMEPAGE,
71
- citation=_CITATION,
72
- )
73
-
74
- def _split_generators(self, dl_manager):
75
- """Returns SplitGenerators."""
76
- lang_pair = self.config.name.split("-")
77
- data_dir = dl_manager.download_and_extract(_URL)
78
- return [
79
- datasets.SplitGenerator(
80
- name=datasets.Split.TRAIN,
81
- gen_kwargs={
82
- "source_file": os.path.join(data_dir, f"EiTB-ParCC.{self.config.name}.{lang_pair[0]}"),
83
- "target_file": os.path.join(data_dir, f"EiTB-ParCC.{self.config.name}.{lang_pair[1]}"),
84
- },
85
- ),
86
- ]
87
-
88
- def _generate_examples(self, source_file, target_file):
89
- with open(source_file, encoding="utf-8") as f:
90
- source_sentences = f.read().split("\n")
91
- with open(target_file, encoding="utf-8") as f:
92
- target_sentences = f.read().split("\n")
93
-
94
- assert len(target_sentences) == len(source_sentences), "Sizes do not match: %d vs %d for %s vs %s." % (
95
- len(source_sentences),
96
- len(target_sentences),
97
- source_file,
98
- target_file,
99
- )
100
-
101
- source, target = tuple(self.config.name.split("-"))
102
- for idx, (l1, l2) in enumerate(zip(source_sentences, target_sentences)):
103
- result = {"translation": {source: l1, target: l2}}
104
- yield idx, result
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
es-eu/eitb_parcc-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1827a181ded7b5688e2bd7dc94335690cbc499000a47429e9c7d7e1319e04043
3
+ size 96930124