Datasets:

Tasks:
Other
Languages:
English
ArXiv:
License:

fix example generation

#5
by giu-alb - opened
Files changed (1) hide show
  1. something_something_v2.py +2 -2
something_something_v2.py CHANGED
@@ -156,8 +156,8 @@ class SomethingSomethingV2(datasets.GeneratorBasedBuilder):
156
  "video_id": video_id,
157
  "video": file,
158
  "placeholders": info.get("placeholders", []),
159
- "label": info["label"] if "label" in info else -1,
160
- "text": info["template"],
161
  }
162
 
163
  idx += 1
 
156
  "video_id": video_id,
157
  "video": file,
158
  "placeholders": info.get("placeholders", []),
159
+ "label": info["template"],
160
+ "text": info["label"] if "label" in info else -1,
161
  }
162
 
163
  idx += 1