rbawden commited on
Commit
1fe2591
1 Parent(s): e5d274a

Update discevalmt.py

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