napsternxg commited on
Commit
d4abaff
·
1 Parent(s): 8bc1fc5

Update nyt_ingredients.py

Browse files
Files changed (1) hide show
  1. nyt_ingredients.py +1 -1
nyt_ingredients.py CHANGED
@@ -111,7 +111,7 @@ class NYTIngredients(datasets.GeneratorBasedBuilder):
111
  return [
112
  datasets.SplitGenerator(
113
  name=datasets.Split.TRAIN,
114
- gen_kwargs={"filepath": f"{data_dir}/nyt-ingredients.crf.jsonl"},
115
  ),
116
  ]
117
 
 
111
  return [
112
  datasets.SplitGenerator(
113
  name=datasets.Split.TRAIN,
114
+ gen_kwargs={"filepath": f"{data_dir['train']}/nyt-ingredients.crf.jsonl"},
115
  ),
116
  ]
117