andreaschandra commited on
Commit
7d1910e
1 Parent(s): 41104d0

update file

Browse files
Files changed (2) hide show
  1. dataset_infos.json +1 -1
  2. indoqa.py +3 -3
dataset_infos.json CHANGED
@@ -1 +1 @@
1
- {"default": {"description": "This dataset is built for question answering task.\n", "citation": "", "homepage": "https://github.com/jakartaresearch", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "context": {"dtype": "string", "id": null, "_type": "Value"}, "question": {"dtype": "string", "id": null, "_type": "Value"}, "answer": {"dtype": "string", "id": null, "_type": "Value"}, "category": {"dtype": "string", "id": null, "_type": "Value"}, "span_start": {"dtype": "int16", "id": null, "_type": "Value"}, "span_end": {"dtype": "int16", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "indoqa", "config_name": "default", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 2498184, "num_examples": 3249, "dataset_name": "indoqa"}, "validation": {"name": "validation", "num_bytes": 829444, "num_examples": 1084, "dataset_name": "indoqa"}}, "download_checksums": {"https://drive.google.com/uc?id=1A-EqeT4GEYWv1cgkNnxMV8aTOvTxoMJQ": {"num_bytes": 3022435, "checksum": "3fc22befaf9e24a30d688636bbd7596c4cb09c563b39333fd146a86d785355cd"}, "https://drive.google.com/uc?id=1oQENznKtAvt56JktD40GftHP7_7eVYYP": {"num_bytes": 907487, "checksum": "3dc89a6edae37e7c6d0246475a113112c324f9557b6e580a8e2fd2def183ddc4"}}, "download_size": 3929922, "post_processing_size": null, "dataset_size": 3327628, "size_in_bytes": 7257550}}
 
1
+ {"default": {"description": "This dataset is built for question answering task.\n", "citation": "", "homepage": "https://github.com/jakartaresearch", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "context": {"dtype": "string", "id": null, "_type": "Value"}, "question": {"dtype": "string", "id": null, "_type": "Value"}, "answer": {"dtype": "string", "id": null, "_type": "Value"}, "category": {"dtype": "string", "id": null, "_type": "Value"}, "span_start": {"dtype": "int16", "id": null, "_type": "Value"}, "span_end": {"dtype": "int16", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "indoqa", "config_name": "default", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 2549123, "num_examples": 3309, "dataset_name": "indoqa"}, "validation": {"name": "validation", "num_bytes": 846758, "num_examples": 1104, "dataset_name": "indoqa"}}, "download_checksums": {"https://drive.google.com/uc?id=1ND893H5x2gaPRRMJVajQ4hgqpopHoD0u": {"num_bytes": 2787840, "checksum": "0e687ff92aba247bf6f5ff4d05e091ae31e29e7c9d6b8cc0a4bae107446d88be"}, "https://drive.google.com/uc?id=1mq_foV72riXb1KVBirJzTFZEe7oa8f4f": {"num_bytes": 926153, "checksum": "5d1677597de247283326b9a35efced9516546d97f15bee4d2023eb6cd0039099"}}, "download_size": 3713993, "post_processing_size": null, "dataset_size": 3395881, "size_in_bytes": 7109874}}
indoqa.py CHANGED
@@ -28,8 +28,8 @@ This dataset is built for question answering task.
28
 
29
  _HOMEPAGE = "https://github.com/jakartaresearch"
30
 
31
- _TRAIN_URL = "https://drive.google.com/uc?id=1A-EqeT4GEYWv1cgkNnxMV8aTOvTxoMJQ"
32
- _VAL_URL = "https://drive.google.com/uc?id=1oQENznKtAvt56JktD40GftHP7_7eVYYP"
33
 
34
 
35
  class GooglePlayReview(datasets.GeneratorBasedBuilder):
@@ -72,4 +72,4 @@ class GooglePlayReview(datasets.GeneratorBasedBuilder):
72
  with open(filepath, encoding="utf-8") as file:
73
  contents = json.load(file)
74
  for id_, row in enumerate(contents):
75
- yield id_, row
 
28
 
29
  _HOMEPAGE = "https://github.com/jakartaresearch"
30
 
31
+ _TRAIN_URL = "https://drive.google.com/uc?id=1ND893H5x2gaPRRMJVajQ4hgqpopHoD0u"
32
+ _VAL_URL = "https://drive.google.com/uc?id=1mq_foV72riXb1KVBirJzTFZEe7oa8f4f"
33
 
34
 
35
  class GooglePlayReview(datasets.GeneratorBasedBuilder):
 
72
  with open(filepath, encoding="utf-8") as file:
73
  contents = json.load(file)
74
  for id_, row in enumerate(contents):
75
+ yield id_, row