andreaschandra commited on
Commit
3ab23dd
·
1 Parent(s): 1bad808

update link

Browse files
Files changed (2) hide show
  1. cerpen-corpus.py +2 -2
  2. dataset_infos.json +1 -1
cerpen-corpus.py CHANGED
@@ -30,7 +30,7 @@ _HOMEPAGE = "https://github.com/jakartaresearch"
30
  # TODO: Add link to the official dataset URLs here
31
  # The HuggingFace Datasets library doesn't host the datasets but only points to the original files.
32
  # This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
33
- _TRAIN_URL = "https://media.githubusercontent.com/media/jakartaresearch/hf-datasets/main/cerpenmu/cerpen-corpus/small-cerpen.json"
34
 
35
 
36
  # TODO: Name of the dataset usually match the script name with CamelCase instead of snake_case
@@ -68,4 +68,4 @@ class Indonews(datasets.GeneratorBasedBuilder):
68
  with open(filepath, encoding="utf-8") as file:
69
  data = json.load(file)
70
  for id_, row in enumerate(data):
71
- yield id_, row
 
30
  # TODO: Add link to the official dataset URLs here
31
  # The HuggingFace Datasets library doesn't host the datasets but only points to the original files.
32
  # This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
33
+ _TRAIN_URL = "https://media.githubusercontent.com/media/jakartaresearch/hf-datasets/main/cerpenmu/data/small-cerpen.json"
34
 
35
 
36
  # TODO: Name of the dataset usually match the script name with CamelCase instead of snake_case
 
68
  with open(filepath, encoding="utf-8") as file:
69
  data = json.load(file)
70
  for id_, row in enumerate(data):
71
+ yield id_, row
dataset_infos.json CHANGED
@@ -1 +1 @@
1
- {"default": {"description": "This dataset is built as a playground for beginner to make a use case for creating sentiment analysis model.\n", "citation": "", "homepage": "https://github.com/jakartaresearch", "license": "", "features": {"title": {"dtype": "string", "id": null, "_type": "Value"}, "content": {"dtype": "string", "id": null, "_type": "Value"}, "url": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "cerpen-corpus", "config_name": "default", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 351787, "num_examples": 50, "dataset_name": "cerpen-corpus"}}, "download_checksums": {"https://media.githubusercontent.com/media/jakartaresearch/hf-datasets/main/cerpenmu/cerpen-corpus/small-cerpen.json": {"num_bytes": 364841, "checksum": "118b9f99f6f0c14476a98c9044f6acc819c139c9efdf5981bb09e5f83cfb56e1"}}, "download_size": 364841, "post_processing_size": null, "dataset_size": 351787, "size_in_bytes": 716628}}
 
1
+ {"default": {"description": "This dataset is built as a playground for beginner to make a use case for creating sentiment analysis model.\n", "citation": "", "homepage": "https://github.com/jakartaresearch", "license": "", "features": {"title": {"dtype": "string", "id": null, "_type": "Value"}, "content": {"dtype": "string", "id": null, "_type": "Value"}, "url": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "cerpen-corpus", "config_name": "default", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 351787, "num_examples": 50, "dataset_name": "cerpen-corpus"}}, "download_checksums": {"https://media.githubusercontent.com/media/jakartaresearch/hf-datasets/main/cerpenmu/data/small-cerpen.json": {"num_bytes": 364841, "checksum": "118b9f99f6f0c14476a98c9044f6acc819c139c9efdf5981bb09e5f83cfb56e1"}}, "download_size": 364841, "post_processing_size": null, "dataset_size": 351787, "size_in_bytes": 716628}}