Commit
·
5377ed8
1
Parent(s):
d6b644a
Update automata.py
Browse files- automata.py +3 -1
automata.py
CHANGED
|
@@ -36,7 +36,7 @@ _LICENSE = ""
|
|
| 36 |
|
| 37 |
_URLS = {}
|
| 38 |
|
| 39 |
-
class
|
| 40 |
"""TODO: Short description of my dataset."""
|
| 41 |
|
| 42 |
VERSION = datasets.Version("0.0.0")
|
|
@@ -56,6 +56,8 @@ class MockupDataset(datasets.GeneratorBasedBuilder):
|
|
| 56 |
self.data_config = data_config
|
| 57 |
self.sampler = dataset_map[name](data_config)
|
| 58 |
|
|
|
|
|
|
|
| 59 |
def _info(self):
|
| 60 |
features = datasets.Features(
|
| 61 |
{
|
|
|
|
| 36 |
|
| 37 |
_URLS = {}
|
| 38 |
|
| 39 |
+
class SyntheticAutomataDataset(datasets.GeneratorBasedBuilder):
|
| 40 |
"""TODO: Short description of my dataset."""
|
| 41 |
|
| 42 |
VERSION = datasets.Version("0.0.0")
|
|
|
|
| 56 |
self.data_config = data_config
|
| 57 |
self.sampler = dataset_map[name](data_config)
|
| 58 |
|
| 59 |
+
print(name, sampler)
|
| 60 |
+
|
| 61 |
def _info(self):
|
| 62 |
features = datasets.Features(
|
| 63 |
{
|