Skip to content

Commit

Permalink
Fix guide related to seacrowd_schema_name in templates
Browse files Browse the repository at this point in the history
  • Loading branch information
sabilmakbar committed Nov 13, 2023
1 parent d30ac40 commit 9a42006
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 9a42006

Please sign in to comment.