Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closes #53 | Implement dataloader for IndoCamRest #257

Merged
merged 6 commits into from
Jan 18, 2024

Conversation

dehanalkautsar
Copy link
Collaborator

Closes #53.

Note

  • For the fields in the TOD SEACrowd Schema, I left the turn_label field in this dataloader as an empty array because this dataset does not have them.

Checkbox

  • Confirm that this PR is linked to the dataset issue.
  • Create the dataloader script seacrowd/sea_datasets/my_dataset/my_dataset.py (please use only lowercase and underscore for dataset naming).
  • Provide values for the _CITATION, _DATASETNAME, _DESCRIPTION, _HOMEPAGE, _LICENSE, _URLs, _SUPPORTED_TASKS, _SOURCE_VERSION, and _SEACROWD_VERSION variables.
  • Implement _info(), _split_generators() and _generate_examples() in dataloader script.
  • Make sure that the BUILDER_CONFIGS class attribute is a list with at least one SEACrowdConfig for the source schema and one for a seacrowd schema.
  • Confirm dataloader script works with datasets.load_dataset function.
  • Confirm that your dataloader script passes the test suite run with python -m tests.test_seacrowd seacrowd/sea_datasets/<my_dataset>/<my_dataset>.py.
  • If my dataset is local, I have provided an output of the unit-tests in the PR (please copy paste). This is OPTIONAL for public datasets, as we can test these without access to the data files.

Copy link
Contributor

@holylovenia holylovenia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @dehanalkautsar, LGTM! The dataloader works well. I need you to remove the changes to constant.py and schemas/ though.

@dehanalkautsar
Copy link
Collaborator Author

Okay @holylovenia, those changes have been removed👍

Copy link
Contributor

@holylovenia holylovenia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes, @dehanalkautsar 😄

@jamesjaya jamesjaya merged commit d46b52c into SEACrowd:master Jan 18, 2024
1 check passed
raileymontalan pushed a commit to raileymontalan/seacrowd-datahub that referenced this pull request Feb 28, 2024
* feat: add dataloader indocamrest for source

* refactor: indocamrest by pre-commit

* remove __name__:__main__ on indocamrest

* fix the license constant in IndoCamrest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create dataset loader for IndoCamRest
3 participants