JeremyAlain commited on
Commit
456d3f6
1 Parent(s): d58ae6c

loading script created

Browse files
Files changed (1) hide show
  1. 123_test.py +1 -1
123_test.py CHANGED
@@ -135,7 +135,7 @@ class FewshotPretraining(datasets.GeneratorBasedBuilder):
135
  for i in range(data.shape[0]):
136
  row = data.iloc[i]
137
  # Yields examples as (key, example) tuples
138
- key = str(row["task"].iloc[i]) + "_{}".format(i)
139
  yield key, {
140
  "task": data["task"],
141
  "input": data["input"],
 
135
  for i in range(data.shape[0]):
136
  row = data.iloc[i]
137
  # Yields examples as (key, example) tuples
138
+ key = str(row["task"]) + "_{}".format(i)
139
  yield key, {
140
  "task": data["task"],
141
  "input": data["input"],