frgfm commited on
Commit
4d7ff1e
1 Parent(s): 0038b5e

fix: Fixed builder script

Browse files
Files changed (1) hide show
  1. openfire.py +2 -2
openfire.py CHANGED
@@ -65,14 +65,14 @@ class OpenFire(datasets.GeneratorBasedBuilder):
65
  datasets.SplitGenerator(
66
  name=datasets.Split.TRAIN,
67
  gen_kwargs={
68
- "annot_file": data_dir["train"],
69
  "split": "train",
70
  },
71
  ),
72
  datasets.SplitGenerator(
73
  name=datasets.Split.VALIDATION,
74
  gen_kwargs={
75
- "annot_file": data_dir["validation"],
76
  "split": "validation",
77
  },
78
  ),
 
65
  datasets.SplitGenerator(
66
  name=datasets.Split.TRAIN,
67
  gen_kwargs={
68
+ "filepath": data_dir["train"],
69
  "split": "train",
70
  },
71
  ),
72
  datasets.SplitGenerator(
73
  name=datasets.Split.VALIDATION,
74
  gen_kwargs={
75
+ "filepath": data_dir["validation"],
76
  "split": "validation",
77
  },
78
  ),