Files changed (2) hide show
  1. dataset_infos.json +1 -1
  2. indoqa.py +3 -4
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": 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}}
 
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": "google_play_review", "config_name": "default", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 2497901, "num_examples": 3249, "dataset_name": "google_play_review"}, "validation": {"name": "validation", "num_bytes": 829111, "num_examples": 1084, "dataset_name": "google_play_review"}}, "download_checksums": {"https://drive.google.com/uc?id=1P5qyZQ2J4DoIiQtjvX_HG_qdEAEjxEGd": {"num_bytes": 2732563, "checksum": "ce9dc5720721a1ef71fcd4394867978ae4ac6b1540fbf4875007c4d2da906b79"}, "https://drive.google.com/uc?id=1rCzF8EJTLvOd0ppPgRI5RSr1NwXiCree": {"num_bytes": 907130, "checksum": "d2149c708735c0b568850402fa135eae7fe0c4b2743f90d1258592731946bd9c"}}, "download_size": 3639693, "post_processing_size": null, "dataset_size": 3327012, "size_in_bytes": 6966705}}
indoqa.py CHANGED
@@ -28,9 +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=1ND893H5x2gaPRRMJVajQ4hgqpopHoD0u"
32
- _VAL_URL = "https://drive.google.com/uc?id=1mq_foV72riXb1KVBirJzTFZEe7oa8f4f"
33
-
34
 
35
  class GooglePlayReview(datasets.GeneratorBasedBuilder):
36
  """IndoQA: Indonesian Question Answering Dataset."""
@@ -72,4 +71,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=1P5qyZQ2J4DoIiQtjvX_HG_qdEAEjxEGd"
32
+ _VAL_URL = "https://drive.google.com/uc?id=1rCzF8EJTLvOd0ppPgRI5RSr1NwXiCree"
 
33
 
34
  class GooglePlayReview(datasets.GeneratorBasedBuilder):
35
  """IndoQA: Indonesian Question Answering Dataset."""
 
71
  with open(filepath, encoding="utf-8") as file:
72
  contents = json.load(file)
73
  for id_, row in enumerate(contents):
74
+ yield id_, row