Datasets:
url-dataset
#2
by
andreaschandra
- opened
- dataset_infos.json +1 -1
- 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": "
|
|
|
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=
|
32 |
-
_VAL_URL = "https://drive.google.com/uc?id=
|
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
|