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 #42 | Fix guide related to seacrowd_schema_name in templates #44

Merged
merged 1 commit into from
Nov 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions templates/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
* `_generate_examples`: Creates examples from data on disk that conform to each schema defined in `_info`.

TODO: Before submitting your script, delete this doc string and replace it with a description of your dataset.

[sea_schema_name] = (kb, pairs, qa, text, t2t, entailment)
"""
import os
from pathlib import Path
Expand Down Expand Up @@ -120,7 +118,9 @@ class NewDataset(datasets.GeneratorBasedBuilder):
# - description: one line description for the dataset
# - schema: options = (source|seacrowd_[seacrowd_schema_name])
# - subset_id: subset id is the canonical name for the dataset (eg. smsa)
# where [seacrowd_schema_name] = (kb, pairs, qa, text, t2t)
# where [seacrowd_schema_name] can be checked in seacrowd/utils/constants.py
# under variable `TASK_TO_SCHEMA`, in accordance to values from `_SUPPORTED_TASKS`
# for all config(s) defined

BUILDER_CONFIGS = [
SEACrowdConfig(
Expand Down