parquet-converter commited on
Commit
2dbc185
·
1 Parent(s): e337ce6

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,204 +0,0 @@
1
- ---
2
- annotations_creators:
3
- - expert-generated
4
- language_creators:
5
- - found
6
- language:
7
- - pt
8
- license:
9
- - unknown
10
- multilinguality:
11
- - monolingual
12
- size_categories:
13
- - 1K<n<10K
14
- source_datasets:
15
- - original
16
- task_categories:
17
- - text-classification
18
- task_ids:
19
- - text-scoring
20
- - natural-language-inference
21
- - semantic-similarity-scoring
22
- paperswithcode_id: assin2
23
- pretty_name: ASSIN 2
24
- dataset_info:
25
- features:
26
- - name: sentence_pair_id
27
- dtype: int64
28
- - name: premise
29
- dtype: string
30
- - name: hypothesis
31
- dtype: string
32
- - name: relatedness_score
33
- dtype: float32
34
- - name: entailment_judgment
35
- dtype:
36
- class_label:
37
- names:
38
- 0: NONE
39
- 1: ENTAILMENT
40
- splits:
41
- - name: train
42
- num_bytes: 864816
43
- num_examples: 6500
44
- - name: test
45
- num_bytes: 339580
46
- num_examples: 2448
47
- - name: validation
48
- num_bytes: 66895
49
- num_examples: 500
50
- download_size: 2113646
51
- dataset_size: 1271291
52
- ---
53
-
54
- # Dataset Card for ASSIN 2
55
-
56
- ## Table of Contents
57
- - [Dataset Description](#dataset-description)
58
- - [Dataset Summary](#dataset-summary)
59
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
60
- - [Languages](#languages)
61
- - [Dataset Structure](#dataset-structure)
62
- - [Data Instances](#data-instances)
63
- - [Data Fields](#data-fields)
64
- - [Data Splits](#data-splits)
65
- - [Dataset Creation](#dataset-creation)
66
- - [Curation Rationale](#curation-rationale)
67
- - [Source Data](#source-data)
68
- - [Annotations](#annotations)
69
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
70
- - [Considerations for Using the Data](#considerations-for-using-the-data)
71
- - [Social Impact of Dataset](#social-impact-of-dataset)
72
- - [Discussion of Biases](#discussion-of-biases)
73
- - [Other Known Limitations](#other-known-limitations)
74
- - [Additional Information](#additional-information)
75
- - [Dataset Curators](#dataset-curators)
76
- - [Licensing Information](#licensing-information)
77
- - [Citation Information](#citation-information)
78
- - [Contributions](#contributions)
79
-
80
- ## Dataset Description
81
-
82
- - **Homepage:** [ASSIN 2 homepage](https://sites.google.com/view/assin2)
83
- - **Repository:** [ASSIN 2 repository](https://sites.google.com/view/assin2)
84
- - **Paper:** [The ASSIN 2 shared task: a quick overview](https://drive.google.com/file/d/1ft1VU6xiVm-N58dfAp6FHWjQ4IvcXgqp/view)
85
- - **Point of Contact:** [Livy Real](mailto:[email protected])
86
-
87
- ### Dataset Summary
88
-
89
- The ASSIN 2 corpus is composed of rather simple sentences. Following the procedures of SemEval 2014 Task 1.
90
- The training and validation data are composed, respectively, of 6,500 and 500 sentence pairs in Brazilian Portuguese,
91
- annotated for entailment and semantic similarity. Semantic similarity values range from 1 to 5, and text entailment
92
- classes are either entailment or none. The test data are composed of approximately 3,000 sentence pairs with the same
93
- annotation. All data were manually annotated.
94
-
95
- ### Supported Tasks and Leaderboards
96
-
97
- [More Information Needed]
98
-
99
- ### Languages
100
-
101
- The language supported is Portuguese.
102
-
103
- ## Dataset Structure
104
-
105
- ### Data Instances
106
-
107
- An example from the ASSIN 2 dataset looks as follows:
108
-
109
- ```
110
- {
111
- "entailment_judgment": 1,
112
- "hypothesis": "Uma criança está segurando uma pistola de água",
113
- "premise": "Uma criança risonha está segurando uma pistola de água e sendo espirrada com água",
114
- "relatedness_score": 4.5,
115
- "sentence_pair_id": 1
116
- }
117
- ```
118
-
119
- ### Data Fields
120
-
121
- - `sentence_pair_id`: a `int64` feature.
122
- - `premise`: a `string` feature.
123
- - `hypothesis`: a `string` feature.
124
- - `relatedness_score`: a `float32` feature.
125
- - `entailment_judgment`: a classification label, with possible values including `NONE`, `ENTAILMENT`.
126
-
127
- ### Data Splits
128
-
129
- The data is split into train, validation and test set. The split sizes are as follow:
130
-
131
- | Train | Val | Test |
132
- | ------ | ----- | ---- |
133
- | 6500 | 500 | 2448 |
134
-
135
- ## Dataset Creation
136
-
137
- ### Curation Rationale
138
-
139
- [More Information Needed]
140
-
141
- ### Source Data
142
-
143
- #### Initial Data Collection and Normalization
144
-
145
- [More Information Needed]
146
-
147
- #### Who are the source language producers?
148
-
149
- [More Information Needed]
150
-
151
- ### Annotations
152
-
153
- #### Annotation process
154
-
155
- [More Information Needed]
156
-
157
- #### Who are the annotators?
158
-
159
- [More Information Needed]
160
-
161
- ### Personal and Sensitive Information
162
-
163
- [More Information Needed]
164
-
165
- ## Considerations for Using the Data
166
-
167
- ### Social Impact of Dataset
168
-
169
- [More Information Needed]
170
-
171
- ### Discussion of Biases
172
-
173
- [More Information Needed]
174
-
175
- ### Other Known Limitations
176
-
177
- [More Information Needed]
178
-
179
- ## Additional Information
180
-
181
- ### Dataset Curators
182
-
183
- [More Information Needed]
184
-
185
- ### Licensing Information
186
-
187
- [More Information Needed]
188
-
189
- ### Citation Information
190
-
191
- ```
192
- @inproceedings{real2020assin,
193
- title={The assin 2 shared task: a quick overview},
194
- author={Real, Livy and Fonseca, Erick and Oliveira, Hugo Goncalo},
195
- booktitle={International Conference on Computational Processing of the Portuguese Language},
196
- pages={406--412},
197
- year={2020},
198
- organization={Springer}
199
- }
200
- ```
201
-
202
- ### Contributions
203
-
204
- Thanks to [@jonatasgrosman](https://github.com/jonatasgrosman) for adding this dataset.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assin2.py DELETED
@@ -1,125 +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
- """ASSIN 2 dataset."""
16
-
17
-
18
- import xml.etree.ElementTree as ET
19
-
20
- import datasets
21
-
22
-
23
- _CITATION = """
24
- @inproceedings{real2020assin,
25
- title={The assin 2 shared task: a quick overview},
26
- author={Real, Livy and Fonseca, Erick and Oliveira, Hugo Goncalo},
27
- booktitle={International Conference on Computational Processing of the Portuguese Language},
28
- pages={406--412},
29
- year={2020},
30
- organization={Springer}
31
- }
32
- """
33
-
34
- _DESCRIPTION = """
35
- The ASSIN 2 corpus is composed of rather simple sentences. Following the procedures of SemEval 2014 Task 1.
36
- The training and validation data are composed, respectively, of 6,500 and 500 sentence pairs in Brazilian Portuguese,
37
- annotated for entailment and semantic similarity. Semantic similarity values range from 1 to 5, and text entailment
38
- classes are either entailment or none. The test data are composed of approximately 3,000 sentence pairs with the same
39
- annotation. All data were manually annotated.
40
- """
41
-
42
- _HOMEPAGE = "https://sites.google.com/view/assin2"
43
-
44
- _LICENSE = ""
45
-
46
- _URLS = {
47
- "train": "https://github.com/ruanchaves/assin/raw/master/sources/assin2-train-only.xml",
48
- "dev": "https://github.com/ruanchaves/assin/raw/master/sources/assin2-dev.xml",
49
- "test": "https://github.com/ruanchaves/assin/raw/master/sources/assin2-test.xml",
50
- }
51
-
52
-
53
- class Assin2(datasets.GeneratorBasedBuilder):
54
- """ASSIN 2 dataset."""
55
-
56
- VERSION = datasets.Version("1.0.0")
57
-
58
- def _info(self):
59
- features = datasets.Features(
60
- {
61
- "sentence_pair_id": datasets.Value("int64"),
62
- "premise": datasets.Value("string"),
63
- "hypothesis": datasets.Value("string"),
64
- "relatedness_score": datasets.Value("float32"),
65
- "entailment_judgment": datasets.features.ClassLabel(names=["NONE", "ENTAILMENT"]),
66
- }
67
- )
68
- return datasets.DatasetInfo(
69
- description=_DESCRIPTION,
70
- features=features,
71
- supervised_keys=None,
72
- homepage=_HOMEPAGE,
73
- license=_LICENSE,
74
- citation=_CITATION,
75
- )
76
-
77
- def _split_generators(self, dl_manager):
78
- """Returns SplitGenerators."""
79
- data_dir = dl_manager.download(_URLS)
80
-
81
- return [
82
- datasets.SplitGenerator(
83
- name=datasets.Split.TRAIN,
84
- gen_kwargs={
85
- "filepath": data_dir["train"],
86
- "split": "train",
87
- },
88
- ),
89
- datasets.SplitGenerator(
90
- name=datasets.Split.TEST,
91
- gen_kwargs={
92
- "filepath": data_dir["test"],
93
- "split": "test",
94
- },
95
- ),
96
- datasets.SplitGenerator(
97
- name=datasets.Split.VALIDATION,
98
- gen_kwargs={
99
- "filepath": data_dir["dev"],
100
- "split": "dev",
101
- },
102
- ),
103
- ]
104
-
105
- def _generate_examples(self, filepath, split):
106
- """Yields examples."""
107
-
108
- id_ = 0
109
-
110
- with open(filepath, "rb") as f:
111
-
112
- tree = ET.parse(f)
113
- root = tree.getroot()
114
-
115
- for pair in root:
116
-
117
- yield id_, {
118
- "sentence_pair_id": int(pair.attrib.get("id")),
119
- "premise": pair.find(".//t").text,
120
- "hypothesis": pair.find(".//h").text,
121
- "relatedness_score": float(pair.attrib.get("similarity")),
122
- "entailment_judgment": pair.attrib.get("entailment").upper(),
123
- }
124
-
125
- id_ += 1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"default": {"description": "\nThe ASSIN 2 corpus is composed of rather simple sentences. Following the procedures of SemEval 2014 Task 1.\nThe training and validation data are composed, respectively, of 6,500 and 500 sentence pairs in Brazilian Portuguese,\nannotated for entailment and semantic similarity. Semantic similarity values range from 1 to 5, and text entailment\nclasses are either entailment or none. The test data are composed of approximately 3,000 sentence pairs with the same\nannotation. All data were manually annotated.\n", "citation": "\n@inproceedings{real2020assin,\n title={The assin 2 shared task: a quick overview},\n author={Real, Livy and Fonseca, Erick and Oliveira, Hugo Goncalo},\n booktitle={International Conference on Computational Processing of the Portuguese Language},\n pages={406--412},\n year={2020},\n organization={Springer}\n}\n", "homepage": "https://sites.google.com/view/assin2", "license": "", "features": {"sentence_pair_id": {"dtype": "int64", "id": null, "_type": "Value"}, "premise": {"dtype": "string", "id": null, "_type": "Value"}, "hypothesis": {"dtype": "string", "id": null, "_type": "Value"}, "relatedness_score": {"dtype": "float32", "id": null, "_type": "Value"}, "entailment_judgment": {"num_classes": 2, "names": ["NONE", "ENTAILMENT"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "assin2", "config_name": "default", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 864816, "num_examples": 6500, "dataset_name": "assin2"}, "test": {"name": "test", "num_bytes": 339580, "num_examples": 2448, "dataset_name": "assin2"}, "validation": {"name": "validation", "num_bytes": 66895, "num_examples": 500, "dataset_name": "assin2"}}, "download_checksums": {"https://github.com/ruanchaves/assin/raw/master/sources/assin2-train-only.xml": {"num_bytes": 1505084, "checksum": "0909e113e30f53a64ee7ef28b3287e78790ca06e45011caf07d38777877e367f"}, "https://github.com/ruanchaves/assin/raw/master/sources/assin2-dev.xml": {"num_bytes": 115698, "checksum": "b6639e7fb562325fe847b249d96f14d7d4fab0d5fe5aa542c19089d0d0c9081c"}, "https://github.com/ruanchaves/assin/raw/master/sources/assin2-test.xml": {"num_bytes": 492864, "checksum": "246fbaa0a5f8120b00baee4c9d64bf6f0c6669fbdbcb9fab5563114699f3890c"}}, "download_size": 2113646, "post_processing_size": null, "dataset_size": 1271291, "size_in_bytes": 3384937}}
 
 
default/assin2-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc6c7e1f19ca4e69eea13724f7624db0bce055b1e9f0acb2f4745aa6ed1f8a41
3
+ size 157084
default/assin2-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c888fcb69275086ff85262f2215c9945d730651d759bf1248c0f4294fc628c50
3
+ size 375593
default/assin2-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30ed18bfe053834594ba76f0da3c9f1a748a59a25e11269c4334a17238730411
3
+ size 34053