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