Datasets:
GEM
/

Modalities:
Text
Languages:
English
ArXiv:
Libraries:
Datasets
License:
oluwatosin adewumi commited on
Commit
0bd9aef
1 Parent(s): 52dc947

BuilderConfig addition to python script added

Browse files
Files changed (1) hide show
  1. Taskmaster.py +11 -0
Taskmaster.py CHANGED
@@ -55,6 +55,17 @@ _URLs = {
55
  "test": "https://huggingface.co/datasets/GEM/Taskmaster/test.csv",
56
  }
57
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
  # TODO: Name of the dataset usually match the script name with CamelCase instead of snake_case
60
  class Taskmaster(datasets.GeneratorBasedBuilder):
 
55
  "test": "https://huggingface.co/datasets/GEM/Taskmaster/test.csv",
56
  }
57
 
58
+ # New addition
59
+ class TaskmasterConfig(datasets.BuilderConfig):
60
+ """BuilderConfig for Taskmaster."""
61
+
62
+ def __init__(self, **kwargs):
63
+ """BuilderConfig for Taskmaster.
64
+ Args:
65
+ **kwargs: keyword arguments forwarded to super.
66
+ """
67
+ super(TaskmasterConfig, self).__init__(**kwargs)
68
+
69
 
70
  # TODO: Name of the dataset usually match the script name with CamelCase instead of snake_case
71
  class Taskmaster(datasets.GeneratorBasedBuilder):