Skatinger commited on
Commit
7db544c
1 Parent(s): 45b97bb

Update wikipedia-for-mask-filling.py

Browse files
Files changed (1) hide show
  1. wikipedia-for-mask-filling.py +2 -2
wikipedia-for-mask-filling.py CHANGED
@@ -38,7 +38,7 @@ class WikipediaForMaskFillingConfig(datasets.BuilderConfig):
38
  **kwargs: keyword arguments forwarded to super
39
  """
40
 
41
- def __init__(self, type, size=4096, **kwargs):
42
  """BuilderConfig for WikipediaForMaskFilling.
43
 
44
  Args:
@@ -47,7 +47,7 @@ class WikipediaForMaskFillingConfig(datasets.BuilderConfig):
47
 
48
  # Version history:
49
  # 1.0.0: first version
50
- super().__init__(**kwargs)
51
  self.size = size
52
  self.type = type
53
 
 
38
  **kwargs: keyword arguments forwarded to super
39
  """
40
 
41
+ def __init__(self, type:str, size=4096, **kwargs):
42
  """BuilderConfig for WikipediaForMaskFilling.
43
 
44
  Args:
 
47
 
48
  # Version history:
49
  # 1.0.0: first version
50
+ super(WikipediaForMaskFillingConfig, self).__init__(**kwargs)
51
  self.size = size
52
  self.type = type
53