missing
Browse files- ChessBot-Dataset.py +1 -7
ChessBot-Dataset.py
CHANGED
@@ -14,15 +14,9 @@ from datasets import (
|
|
14 |
from adversarial_gym.chess_env import ChessEnv
|
15 |
|
16 |
|
17 |
-
class ChessPGNConfig(BuilderConfig):
|
18 |
-
def __init__(self, *, data_files, **kwargs):
|
19 |
-
super().__init__(**kwargs)
|
20 |
-
self.data_files = data_files
|
21 |
-
|
22 |
-
|
23 |
class ChessPGNDataset(GeneratorBasedBuilder):
|
24 |
BUILDER_CONFIGS = [
|
25 |
-
|
26 |
name="default",
|
27 |
version=Version("0.0.2"),
|
28 |
description="Chess positions + moves + results, streamed from PGN shards",
|
|
|
14 |
from adversarial_gym.chess_env import ChessEnv
|
15 |
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
class ChessPGNDataset(GeneratorBasedBuilder):
|
18 |
BUILDER_CONFIGS = [
|
19 |
+
BuilderConfig(
|
20 |
name="default",
|
21 |
version=Version("0.0.2"),
|
22 |
description="Chess positions + moves + results, streamed from PGN shards",
|