cyrilzhang
commited on
Commit
·
05392d7
1
Parent(s):
081e6b5
Update ace.py
Browse files
ace.py
CHANGED
@@ -41,7 +41,8 @@ class MockupDataset(datasets.GeneratorBasedBuilder):
|
|
41 |
BUILDER_CONFIGS = []
|
42 |
|
43 |
def __init__(self, name=None, data_config={}, **kwargs):
|
44 |
-
|
|
|
45 |
|
46 |
if 'length' not in data_config:
|
47 |
data_config['length'] = 20
|
|
|
41 |
BUILDER_CONFIGS = []
|
42 |
|
43 |
def __init__(self, name=None, data_config={}, **kwargs):
|
44 |
+
kwargs['streaming'] = True
|
45 |
+
super().__init__(**kwargs)
|
46 |
|
47 |
if 'length' not in data_config:
|
48 |
data_config['length'] = 20
|