rbawden commited on
Commit
e9c8bc9
1 Parent(s): 2bd5e5d

Update discevalmt.py

Browse files
Files changed (1) hide show
  1. discevalmt.py +3 -3
discevalmt.py CHANGED
@@ -35,14 +35,14 @@ class DiscEvalMTConfig(datasets.BuilderConfig):
35
  '''BuilderConfig for DiscEvalMT.'''
36
 
37
 
38
- def __init__(self, **kwargs):
39
  """BuilderConfig for DiscEvalMT.
40
 
41
  Args:
42
  **kwargs: keyword arguments forwarded to super.
43
  """
44
- self.type = kwargs.pop("type", None)
45
- super(DiscEvalMTConfig, self).__init__(**kwargs)
46
 
47
 
48
 
 
35
  '''BuilderConfig for DiscEvalMT.'''
36
 
37
 
38
+ def __init__(self, evaltype: str, **kwargs):
39
  """BuilderConfig for DiscEvalMT.
40
 
41
  Args:
42
  **kwargs: keyword arguments forwarded to super.
43
  """
44
+ self.evaltype = evaltype
45
+ super().__init__(**kwargs)
46
 
47
 
48