cyrilzhang
commited on
Commit
·
d06df0b
1
Parent(s):
0a34175
Update ace.py
Browse files
ace.py
CHANGED
@@ -79,7 +79,7 @@ class MockupDataset(datasets.GeneratorBasedBuilder):
|
|
79 |
# method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
80 |
def _generate_examples(self, split):
|
81 |
for i in range(self.data_config['size']):
|
82 |
-
yield
|
83 |
"x": [0]*self.data_config['length'],
|
84 |
"y": [1]*self.data_config['length']
|
85 |
}
|
|
|
79 |
# method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
80 |
def _generate_examples(self, split):
|
81 |
for i in range(self.data_config['size']):
|
82 |
+
yield i, {
|
83 |
"x": [0]*self.data_config['length'],
|
84 |
"y": [1]*self.data_config['length']
|
85 |
}
|