KeithG33 commited on
Commit
e92ca7c
·
1 Parent(s): af9ac7f
Files changed (1) hide show
  1. ChessBot-Dataset.py +1 -0
ChessBot-Dataset.py CHANGED
@@ -22,6 +22,7 @@ class ChessPGNDataset(GeneratorBasedBuilder):
22
  name="default",
23
  version=Version("0.0.2"), # bump version so HF reloads your updated code
24
  description="Chess PGN stream",
 
25
  data_files=DataFilesDict.from_patterns(sanitize_patterns({
26
  "train": "train/*.pgn",
27
  "test": "test/*.pgn",
 
22
  name="default",
23
  version=Version("0.0.2"), # bump version so HF reloads your updated code
24
  description="Chess PGN stream",
25
+ data_dir=os.path.join(os.path.dirname(__file__)),
26
  data_files=DataFilesDict.from_patterns(sanitize_patterns({
27
  "train": "train/*.pgn",
28
  "test": "test/*.pgn",