wylong commited on
Commit
eab2511
·
verified ·
1 Parent(s): 7b0843f

Edit load_config.py

Browse files
Files changed (1) hide show
  1. load_config.py +11 -1
load_config.py CHANGED
@@ -24,8 +24,18 @@ _SUBJECTS = [
24
  "SimCat-TASLP2018"
25
  ]
26
 
 
 
27
 
28
- class MyDatasets(datasets.GeneratorBasedBuilder):
 
 
 
 
 
 
 
 
29
  """Psycholinguistics word datasets"""
30
 
31
  BUILDER_CONFIGS = [
 
24
  "SimCat-TASLP2018"
25
  ]
26
 
27
+ class MyDatasetConfig(datasets.BuilderConfig):
28
+ """BuilderConfig for MyCustomDataset."""
29
 
30
+ def __init__(self, **kwargs):
31
+ """BuilderConfig for MyCustomDataset.
32
+ Args:
33
+ **kwargs: keyword arguments forwarded to super.
34
+ """
35
+ super(MyCustomDatasetConfig, self).__init__(**kwargs)
36
+
37
+
38
+ class MyDataset(datasets.GeneratorBasedBuilder):
39
  """Psycholinguistics word datasets"""
40
 
41
  BUILDER_CONFIGS = [