rshrott commited on
Commit
48890ce
1 Parent(s): f92c297

Update renovation.py

Browse files
Files changed (1) hide show
  1. renovation.py +3 -3
renovation.py CHANGED
@@ -60,19 +60,19 @@ class RenovationQualityDataset(datasets.GeneratorBasedBuilder):
60
  datasets.SplitGenerator(
61
  name=datasets.Split.TRAIN,
62
  gen_kwargs={
63
- "rows": rows[:int(0.92 * len(rows))],
64
  },
65
  ),
66
  datasets.SplitGenerator(
67
  name=datasets.Split.VALIDATION,
68
  gen_kwargs={
69
- "rows": rows[int(0.92 * len(rows)):],
70
  },
71
  ),
72
  datasets.SplitGenerator(
73
  name=datasets.Split.TEST,
74
  gen_kwargs={
75
- "rows": rows[int(0.92 * len(rows)):],
76
  },
77
  ),
78
  ]
 
60
  datasets.SplitGenerator(
61
  name=datasets.Split.TRAIN,
62
  gen_kwargs={
63
+ "rows": rows[:int(0.9 * len(rows))],
64
  },
65
  ),
66
  datasets.SplitGenerator(
67
  name=datasets.Split.VALIDATION,
68
  gen_kwargs={
69
+ "rows": rows[int(0.9 * len(rows)):],
70
  },
71
  ),
72
  datasets.SplitGenerator(
73
  name=datasets.Split.TEST,
74
  gen_kwargs={
75
+ "rows": rows[int(0.9 * len(rows)):],
76
  },
77
  ),
78
  ]