test
Browse files- README.md +6 -6
- dataset_infos.json → dataset_infos.json.backup +0 -0
- test → test.py +1 -0
README.md
CHANGED
@@ -3,19 +3,19 @@ configs:
|
|
3 |
- config_name: customers
|
4 |
data_files:
|
5 |
- split: train
|
6 |
-
path: "customers/train.csv"
|
7 |
- split: validation
|
8 |
-
path: "customers/val.csv"
|
9 |
- split: test
|
10 |
-
path: "customers/test.csv"
|
11 |
- config_name: products
|
12 |
data_files:
|
13 |
- split: train
|
14 |
-
path: "products/train.csv"
|
15 |
- split: validation
|
16 |
-
path: "products/val.csv"
|
17 |
- split: test
|
18 |
-
path: "products/test.csv"
|
19 |
annotations_creators:
|
20 |
- no-annotation
|
21 |
language_creators:
|
|
|
3 |
- config_name: customers
|
4 |
data_files:
|
5 |
- split: train
|
6 |
+
path: "./customers/train.csv"
|
7 |
- split: validation
|
8 |
+
path: "./customers/val.csv"
|
9 |
- split: test
|
10 |
+
path: "./customers/test.csv"
|
11 |
- config_name: products
|
12 |
data_files:
|
13 |
- split: train
|
14 |
+
path: "./products/train.csv"
|
15 |
- split: validation
|
16 |
+
path: "./products/val.csv"
|
17 |
- split: test
|
18 |
+
path: "./products/test.csv"
|
19 |
annotations_creators:
|
20 |
- no-annotation
|
21 |
language_creators:
|
dataset_infos.json → dataset_infos.json.backup
RENAMED
File without changes
|
test → test.py
RENAMED
@@ -64,6 +64,7 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
64 |
def _split_generators(self, dl_manager):
|
65 |
data_dir = dl_manager.manual_dir or "./"
|
66 |
data_dir = os.path.join(data_dir, self.config.name)
|
|
|
67 |
return [
|
68 |
datasets.SplitGenerator(
|
69 |
name=datasets.Split.TRAIN,
|
|
|
64 |
def _split_generators(self, dl_manager):
|
65 |
data_dir = dl_manager.manual_dir or "./"
|
66 |
data_dir = os.path.join(data_dir, self.config.name)
|
67 |
+
print(data_dir)
|
68 |
return [
|
69 |
datasets.SplitGenerator(
|
70 |
name=datasets.Split.TRAIN,
|