mapama247
commited on
Commit
•
f7143f3
1
Parent(s):
b0805e2
fix file path
Browse files
chess_games_caissabase.py
CHANGED
@@ -5,6 +5,9 @@ import csv
|
|
5 |
import json
|
6 |
import datasets
|
7 |
|
|
|
|
|
|
|
8 |
class ChessGamesCaissabase(datasets.GeneratorBasedBuilder):
|
9 |
|
10 |
def _info(self):
|
@@ -24,7 +27,7 @@ class ChessGamesCaissabase(datasets.GeneratorBasedBuilder):
|
|
24 |
datasets.SplitGenerator(
|
25 |
name=datasets.Split.TRAIN,
|
26 |
gen_kwargs={
|
27 |
-
"filepath":
|
28 |
"split": "train",
|
29 |
},
|
30 |
),
|
|
|
5 |
import json
|
6 |
import datasets
|
7 |
|
8 |
+
# FILEPATH = "./chess_games_caissabase.jsonl"
|
9 |
+
FILEPATH = "https://huggingface.co/datasets/mapama247/chess_games_caissabase/resolve/main/chess_games_caissabase.jsonl"
|
10 |
+
|
11 |
class ChessGamesCaissabase(datasets.GeneratorBasedBuilder):
|
12 |
|
13 |
def _info(self):
|
|
|
27 |
datasets.SplitGenerator(
|
28 |
name=datasets.Split.TRAIN,
|
29 |
gen_kwargs={
|
30 |
+
"filepath": FILEPATH,
|
31 |
"split": "train",
|
32 |
},
|
33 |
),
|