albertvillanova HF staff commited on
Commit
0ad984d
·
1 Parent(s): 740aa04

Add ptbr data files

Browse files
README.md CHANGED
@@ -70,16 +70,16 @@ dataset_info:
70
  '2': PARAPHRASE
71
  splits:
72
  - name: train
73
- num_bytes: 463513
74
  num_examples: 2500
75
  - name: test
76
- num_bytes: 374432
77
  num_examples: 2000
78
  - name: validation
79
- num_bytes: 91211
80
  num_examples: 500
81
- download_size: 749735
82
- dataset_size: 929156
83
  - config_name: ptpt
84
  features:
85
  - name: sentence_pair_id
@@ -119,6 +119,14 @@ configs:
119
  - split: validation
120
  path: full/validation-*
121
  default: true
 
 
 
 
 
 
 
 
122
  - config_name: ptpt
123
  data_files:
124
  - split: train
 
70
  '2': PARAPHRASE
71
  splits:
72
  - name: train
73
+ num_bytes: 463505
74
  num_examples: 2500
75
  - name: test
76
+ num_bytes: 374424
77
  num_examples: 2000
78
  - name: validation
79
+ num_bytes: 91203
80
  num_examples: 500
81
+ download_size: 639490
82
+ dataset_size: 929132
83
  - config_name: ptpt
84
  features:
85
  - name: sentence_pair_id
 
119
  - split: validation
120
  path: full/validation-*
121
  default: true
122
+ - config_name: ptbr
123
+ data_files:
124
+ - split: train
125
+ path: ptbr/train-*
126
+ - split: test
127
+ path: ptbr/test-*
128
+ - split: validation
129
+ path: ptbr/validation-*
130
  - config_name: ptpt
131
  data_files:
132
  - split: train
dataset_infos.json CHANGED
@@ -128,50 +128,41 @@
128
  "size_in_bytes": 1728153
129
  },
130
  "ptbr": {
131
- "description": "\nThe ASSIN (Avalia\u00e7\u00e3o de Similaridade Sem\u00e2ntica e INfer\u00eancia textual) corpus is a corpus annotated with pairs of sentences written in \nPortuguese that is suitable for the exploration of textual entailment and paraphrasing classifiers. The corpus contains pairs of sentences \nextracted from news articles written in European Portuguese (EP) and Brazilian Portuguese (BP), obtained from Google News Portugal \nand Brazil, respectively. To create the corpus, the authors started by collecting a set of news articles describing the \nsame event (one news article from Google News Portugal and another from Google News Brazil) from Google News. \nThen, they employed Latent Dirichlet Allocation (LDA) models to retrieve pairs of similar sentences between sets of news \narticles that were grouped together around the same topic. For that, two LDA models were trained (for EP and for BP) \non external and large-scale collections of unannotated news articles from Portuguese and Brazilian news providers, respectively. \nThen, the authors defined a lower and upper threshold for the sentence similarity score of the retrieved pairs of sentences, \ntaking into account that high similarity scores correspond to sentences that contain almost the same content (paraphrase candidates), \nand low similarity scores correspond to sentences that are very different in content from each other (no-relation candidates).\nFrom the collection of pairs of sentences obtained at this stage, the authors performed some manual grammatical corrections \nand discarded some of the pairs wrongly retrieved. Furthermore, from a preliminary analysis made to the retrieved sentence pairs \nthe authors noticed that the number of contradictions retrieved during the previous stage was very low. Additionally, they also \nnoticed that event though paraphrases are not very frequent, they occur with some frequency in news articles. Consequently, \nin contrast with the majority of the currently available corpora for other languages, which consider as labels \u201cneutral\u201d, \u201centailment\u201d \nand \u201ccontradiction\u201d for the task of RTE, the authors of the ASSIN corpus decided to use as labels \u201cnone\u201d, \u201centailment\u201d and \u201cparaphrase\u201d.\nFinally, the manual annotation of pairs of sentences was performed by human annotators. At least four annotators were randomly \nselected to annotate each pair of sentences, which is done in two steps: (i) assigning a semantic similarity label (a score between 1 and 5, \nfrom unrelated to very similar); and (ii) providing an entailment label (one sentence entails the other, sentences are paraphrases, \nor no relation). Sentence pairs where at least three annotators do not agree on the entailment label were considered controversial \nand thus discarded from the gold standard annotations. The full dataset has 10,000 sentence pairs, half of which in Brazilian Portuguese \nand half in European Portuguese. Either language variant has 2,500 pairs for training, 500 for validation and 2,000 for testing.\n",
132
  "citation": "\n@inproceedings{fonseca2016assin,\n title={ASSIN: Avaliacao de similaridade semantica e inferencia textual},\n author={Fonseca, E and Santos, L and Criscuolo, Marcelo and Aluisio, S},\n booktitle={Computational Processing of the Portuguese Language-12th International Conference, Tomar, Portugal},\n pages={13--15},\n year={2016}\n}\n",
133
  "homepage": "http://nilc.icmc.usp.br/assin/",
134
  "license": "",
135
  "features": {
136
  "sentence_pair_id": {
137
  "dtype": "int64",
138
- "id": null,
139
  "_type": "Value"
140
  },
141
  "premise": {
142
  "dtype": "string",
143
- "id": null,
144
  "_type": "Value"
145
  },
146
  "hypothesis": {
147
  "dtype": "string",
148
- "id": null,
149
  "_type": "Value"
150
  },
151
  "relatedness_score": {
152
  "dtype": "float32",
153
- "id": null,
154
  "_type": "Value"
155
  },
156
  "entailment_judgment": {
157
- "num_classes": 3,
158
  "names": [
159
  "NONE",
160
  "ENTAILMENT",
161
  "PARAPHRASE"
162
  ],
163
- "names_file": null,
164
- "id": null,
165
  "_type": "ClassLabel"
166
  }
167
  },
168
- "post_processed": null,
169
- "supervised_keys": null,
170
- "builder_name": "assin",
171
  "config_name": "ptbr",
172
  "version": {
173
  "version_str": "1.0.0",
174
- "description": null,
175
  "major": 1,
176
  "minor": 0,
177
  "patch": 0
@@ -179,32 +170,25 @@
179
  "splits": {
180
  "train": {
181
  "name": "train",
182
- "num_bytes": 463513,
183
  "num_examples": 2500,
184
- "dataset_name": "assin"
185
  },
186
  "test": {
187
  "name": "test",
188
- "num_bytes": 374432,
189
  "num_examples": 2000,
190
- "dataset_name": "assin"
191
  },
192
  "validation": {
193
  "name": "validation",
194
- "num_bytes": 91211,
195
  "num_examples": 500,
196
- "dataset_name": "assin"
197
- }
198
- },
199
- "download_checksums": {
200
- "http://nilc.icmc.usp.br/assin/assin.tar.gz": {
201
- "num_bytes": 749735,
202
- "checksum": "ee758424477bcaa414bad95a7e7042c180826ab2119ddf7ced52f241462eca8f"
203
  }
204
  },
205
- "download_size": 749735,
206
- "post_processing_size": null,
207
- "dataset_size": 929156,
208
- "size_in_bytes": 1678891
209
  }
210
  }
 
128
  "size_in_bytes": 1728153
129
  },
130
  "ptbr": {
131
+ "description": "\nThe ASSIN (Avalia\u00e7\u00e3o de Similaridade Sem\u00e2ntica e INfer\u00eancia textual) corpus is a corpus annotated with pairs of sentences written in\nPortuguese that is suitable for the exploration of textual entailment and paraphrasing classifiers. The corpus contains pairs of sentences\nextracted from news articles written in European Portuguese (EP) and Brazilian Portuguese (BP), obtained from Google News Portugal\nand Brazil, respectively. To create the corpus, the authors started by collecting a set of news articles describing the\nsame event (one news article from Google News Portugal and another from Google News Brazil) from Google News.\nThen, they employed Latent Dirichlet Allocation (LDA) models to retrieve pairs of similar sentences between sets of news\narticles that were grouped together around the same topic. For that, two LDA models were trained (for EP and for BP)\non external and large-scale collections of unannotated news articles from Portuguese and Brazilian news providers, respectively.\nThen, the authors defined a lower and upper threshold for the sentence similarity score of the retrieved pairs of sentences,\ntaking into account that high similarity scores correspond to sentences that contain almost the same content (paraphrase candidates),\nand low similarity scores correspond to sentences that are very different in content from each other (no-relation candidates).\nFrom the collection of pairs of sentences obtained at this stage, the authors performed some manual grammatical corrections\nand discarded some of the pairs wrongly retrieved. Furthermore, from a preliminary analysis made to the retrieved sentence pairs\nthe authors noticed that the number of contradictions retrieved during the previous stage was very low. Additionally, they also\nnoticed that event though paraphrases are not very frequent, they occur with some frequency in news articles. Consequently,\nin contrast with the majority of the currently available corpora for other languages, which consider as labels \u201cneutral\u201d, \u201centailment\u201d\nand \u201ccontradiction\u201d for the task of RTE, the authors of the ASSIN corpus decided to use as labels \u201cnone\u201d, \u201centailment\u201d and \u201cparaphrase\u201d.\nFinally, the manual annotation of pairs of sentences was performed by human annotators. At least four annotators were randomly\nselected to annotate each pair of sentences, which is done in two steps: (i) assigning a semantic similarity label (a score between 1 and 5,\nfrom unrelated to very similar); and (ii) providing an entailment label (one sentence entails the other, sentences are paraphrases,\nor no relation). Sentence pairs where at least three annotators do not agree on the entailment label were considered controversial\nand thus discarded from the gold standard annotations. The full dataset has 10,000 sentence pairs, half of which in Brazilian Portuguese\nand half in European Portuguese. Either language variant has 2,500 pairs for training, 500 for validation and 2,000 for testing.\n",
132
  "citation": "\n@inproceedings{fonseca2016assin,\n title={ASSIN: Avaliacao de similaridade semantica e inferencia textual},\n author={Fonseca, E and Santos, L and Criscuolo, Marcelo and Aluisio, S},\n booktitle={Computational Processing of the Portuguese Language-12th International Conference, Tomar, Portugal},\n pages={13--15},\n year={2016}\n}\n",
133
  "homepage": "http://nilc.icmc.usp.br/assin/",
134
  "license": "",
135
  "features": {
136
  "sentence_pair_id": {
137
  "dtype": "int64",
 
138
  "_type": "Value"
139
  },
140
  "premise": {
141
  "dtype": "string",
 
142
  "_type": "Value"
143
  },
144
  "hypothesis": {
145
  "dtype": "string",
 
146
  "_type": "Value"
147
  },
148
  "relatedness_score": {
149
  "dtype": "float32",
 
150
  "_type": "Value"
151
  },
152
  "entailment_judgment": {
 
153
  "names": [
154
  "NONE",
155
  "ENTAILMENT",
156
  "PARAPHRASE"
157
  ],
 
 
158
  "_type": "ClassLabel"
159
  }
160
  },
161
+ "builder_name": "parquet",
162
+ "dataset_name": "assin",
 
163
  "config_name": "ptbr",
164
  "version": {
165
  "version_str": "1.0.0",
 
166
  "major": 1,
167
  "minor": 0,
168
  "patch": 0
 
170
  "splits": {
171
  "train": {
172
  "name": "train",
173
+ "num_bytes": 463505,
174
  "num_examples": 2500,
175
+ "dataset_name": null
176
  },
177
  "test": {
178
  "name": "test",
179
+ "num_bytes": 374424,
180
  "num_examples": 2000,
181
+ "dataset_name": null
182
  },
183
  "validation": {
184
  "name": "validation",
185
+ "num_bytes": 91203,
186
  "num_examples": 500,
187
+ "dataset_name": null
 
 
 
 
 
 
188
  }
189
  },
190
+ "download_size": 639490,
191
+ "dataset_size": 929132,
192
+ "size_in_bytes": 1568622
 
193
  }
194
  }
ptbr/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b122d6cc46b81e9c4a92678d21fb2edf2219e9fda358216c22867dbc6e06e78
3
+ size 254231
ptbr/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69828b530bc8edcfe8c30f3ebd077f77abfd7055b3dedfc1ef0ac2e0c086c15e
3
+ size 319840
ptbr/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:181198f7c3e682ddce0a040ea8a7a99dd48f8f4f89bce6ccf5ae8f4d7a292654
3
+ size 65419