albertvillanova HF staff commited on
Commit
d4fcd4f
1 Parent(s): ff897a1

Convert dataset to Parquet

Browse files

Convert dataset to Parquet.

README.md CHANGED
@@ -19,6 +19,7 @@ task_ids:
19
  - natural-language-inference
20
  pretty_name: BBC Hindi NLI Dataset
21
  dataset_info:
 
22
  features:
23
  - name: premise
24
  dtype: string
@@ -40,19 +41,28 @@ dataset_info:
40
  '3': entertainment
41
  '4': sport
42
  '5': science
43
- config_name: bbc hindi nli
44
  splits:
45
  - name: train
46
- num_bytes: 2990080
47
  num_examples: 15552
48
  - name: validation
49
- num_bytes: 496808
50
  num_examples: 2580
51
  - name: test
52
- num_bytes: 494432
53
  num_examples: 2592
54
- download_size: 3815652
55
- dataset_size: 3981320
 
 
 
 
 
 
 
 
 
 
56
  ---
57
 
58
  # Dataset Card for BBC Hindi NLI Dataset
 
19
  - natural-language-inference
20
  pretty_name: BBC Hindi NLI Dataset
21
  dataset_info:
22
+ config_name: bbc hindi nli
23
  features:
24
  - name: premise
25
  dtype: string
 
41
  '3': entertainment
42
  '4': sport
43
  '5': science
 
44
  splits:
45
  - name: train
46
+ num_bytes: 2990064
47
  num_examples: 15552
48
  - name: validation
49
+ num_bytes: 496800
50
  num_examples: 2580
51
  - name: test
52
+ num_bytes: 494424
53
  num_examples: 2592
54
+ download_size: 309124
55
+ dataset_size: 3981288
56
+ configs:
57
+ - config_name: bbc hindi nli
58
+ data_files:
59
+ - split: train
60
+ path: bbc hindi nli/train-*
61
+ - split: validation
62
+ path: bbc hindi nli/validation-*
63
+ - split: test
64
+ path: bbc hindi nli/test-*
65
+ default: true
66
  ---
67
 
68
  # Dataset Card for BBC Hindi NLI Dataset
bbc hindi nli/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12935e326819585d295f9296717c8afb1d08fa972cf29b21aa130ed286d3925f
3
+ size 21510
bbc hindi nli/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:050408cef4d788331cc6d4410afcaa014d302a826f8cfc3218c8ac0576c3902e
3
+ size 265927
bbc hindi nli/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7439c64280960dc7e82754fddc57dc3fe5b58435aa59408f50874f7a3a9bc9ca
3
+ size 21687
dataset_infos.json CHANGED
@@ -1 +1,68 @@
1
- {"bbc hindi nli": {"description": "This dataset is used to train models for Natural Language Inference Tasks in Low-Resource Languages like Hindi.\n", "citation": " @inproceedings{uppal-etal-2020-two,\n title = \"Two-Step Classification using Recasted Data for Low Resource Settings\",\n author = \"Uppal, Shagun and\n Gupta, Vivek and\n Swaminathan, Avinash and\n Zhang, Haimin and\n Mahata, Debanjan and\n Gosangi, Rakesh and\n Shah, Rajiv Ratn and\n Stent, Amanda\",\n booktitle = \"Proceedings of the 1st Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 10th International Joint Conference on Natural Language Processing\",\n month = dec,\n year = \"2020\",\n address = \"Suzhou, China\",\n publisher = \"Association for Computational Linguistics\",\n url = \"https://www.aclweb.org/anthology/2020.aacl-main.71\",\n pages = \"706--719\",\n abstract = \"An NLP model{'}s ability to reason should be independent of language. Previous works utilize Natural Language Inference (NLI) to understand the reasoning ability of models, mostly focusing on high resource languages like English. To address scarcity of data in low-resource languages such as Hindi, we use data recasting to create NLI datasets for four existing text classification datasets. Through experiments, we show that our recasted dataset is devoid of statistical irregularities and spurious patterns. We further study the consistency in predictions of the textual entailment models and propose a consistency regulariser to remove pairwise-inconsistencies in predictions. We propose a novel two-step classification method which uses textual-entailment predictions for classification task. We further improve the performance by using a joint-objective for classification and textual entailment. We therefore highlight the benefits of data recasting and improvements on classification performance using our approach with supporting experimental results.\",\n}\n", "homepage": "https://github.com/avinsit123/hindi-nli-data", "license": "\nMIT License\n\nCopyright (c) 2019 MIDAS, IIIT Delhi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n", "features": {"premise": {"dtype": "string", "id": null, "_type": "Value"}, "hypothesis": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 2, "names": ["not-entailment", "entailment"], "names_file": null, "id": null, "_type": "ClassLabel"}, "topic": {"num_classes": 6, "names": ["india", "news", "international", "entertainment", "sport", "science"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "builder_name": "bbc_hindi_nli", "config_name": "bbc hindi nli", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 2990080, "num_examples": 15552, "dataset_name": "bbc_hindi_nli"}, "validation": {"name": "validation", "num_bytes": 496808, "num_examples": 2580, "dataset_name": "bbc_hindi_nli"}, "test": {"name": "test", "num_bytes": 494432, "num_examples": 2592, "dataset_name": "bbc_hindi_nli"}}, "download_checksums": {"https://raw.githubusercontent.com/avinsit123/hindi-nli-data/master/Textual_Entailment/BBC/BBC_recasted_train.tsv": {"num_bytes": 2865740, "checksum": "35aa4408b87d6a4bc9a896a1244598619ef95944f200f09dc1b67517a6f7caa6"}, "https://raw.githubusercontent.com/avinsit123/hindi-nli-data/master/Textual_Entailment/BBC/BBC_recasted_test.tsv": {"num_bytes": 473720, "checksum": "9dd74eed0546156c7d9dfca6eed90419c34d09b2968166d1c5c4130f2606b598"}, "https://raw.githubusercontent.com/avinsit123/hindi-nli-data/master/Textual_Entailment/BBC/BBC_recasted_dev.tsv": {"num_bytes": 476192, "checksum": "37fabb5b29319db5189d9e201b9510d8febf29cfb5fd0e1dae1b9841b6b268b0"}}, "download_size": 3815652, "post_processing_size": null, "dataset_size": 3981320, "size_in_bytes": 7796972}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bbc hindi nli": {
3
+ "description": "This dataset is used to train models for Natural Language Inference Tasks in Low-Resource Languages like Hindi.\n",
4
+ "citation": " @inproceedings{uppal-etal-2020-two,\n title = \"Two-Step Classification using Recasted Data for Low Resource Settings\",\n author = \"Uppal, Shagun and\n Gupta, Vivek and\n Swaminathan, Avinash and\n Zhang, Haimin and\n Mahata, Debanjan and\n Gosangi, Rakesh and\n Shah, Rajiv Ratn and\n Stent, Amanda\",\n booktitle = \"Proceedings of the 1st Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 10th International Joint Conference on Natural Language Processing\",\n month = dec,\n year = \"2020\",\n address = \"Suzhou, China\",\n publisher = \"Association for Computational Linguistics\",\n url = \"https://www.aclweb.org/anthology/2020.aacl-main.71\",\n pages = \"706--719\",\n abstract = \"An NLP model{'}s ability to reason should be independent of language. Previous works utilize Natural Language Inference (NLI) to understand the reasoning ability of models, mostly focusing on high resource languages like English. To address scarcity of data in low-resource languages such as Hindi, we use data recasting to create NLI datasets for four existing text classification datasets. Through experiments, we show that our recasted dataset is devoid of statistical irregularities and spurious patterns. We further study the consistency in predictions of the textual entailment models and propose a consistency regulariser to remove pairwise-inconsistencies in predictions. We propose a novel two-step classification method which uses textual-entailment predictions for classification task. We further improve the performance by using a joint-objective for classification and textual entailment. We therefore highlight the benefits of data recasting and improvements on classification performance using our approach with supporting experimental results.\",\n}\n",
5
+ "homepage": "https://github.com/avinsit123/hindi-nli-data",
6
+ "license": "\nMIT License\n\nCopyright (c) 2019 MIDAS, IIIT Delhi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n",
7
+ "features": {
8
+ "premise": {
9
+ "dtype": "string",
10
+ "_type": "Value"
11
+ },
12
+ "hypothesis": {
13
+ "dtype": "string",
14
+ "_type": "Value"
15
+ },
16
+ "label": {
17
+ "names": [
18
+ "not-entailment",
19
+ "entailment"
20
+ ],
21
+ "_type": "ClassLabel"
22
+ },
23
+ "topic": {
24
+ "names": [
25
+ "india",
26
+ "news",
27
+ "international",
28
+ "entertainment",
29
+ "sport",
30
+ "science"
31
+ ],
32
+ "_type": "ClassLabel"
33
+ }
34
+ },
35
+ "builder_name": "bbc_hindi_nli",
36
+ "dataset_name": "bbc_hindi_nli",
37
+ "config_name": "bbc hindi nli",
38
+ "version": {
39
+ "version_str": "1.1.0",
40
+ "major": 1,
41
+ "minor": 1,
42
+ "patch": 0
43
+ },
44
+ "splits": {
45
+ "train": {
46
+ "name": "train",
47
+ "num_bytes": 2990064,
48
+ "num_examples": 15552,
49
+ "dataset_name": null
50
+ },
51
+ "validation": {
52
+ "name": "validation",
53
+ "num_bytes": 496800,
54
+ "num_examples": 2580,
55
+ "dataset_name": null
56
+ },
57
+ "test": {
58
+ "name": "test",
59
+ "num_bytes": 494424,
60
+ "num_examples": 2592,
61
+ "dataset_name": null
62
+ }
63
+ },
64
+ "download_size": 309124,
65
+ "dataset_size": 3981288,
66
+ "size_in_bytes": 4290412
67
+ }
68
+ }