colbertv2 commited on
Commit
fd38d48
·
1 Parent(s): 0b1ada1

Update lotte_passages.py

Browse files
Files changed (1) hide show
  1. lotte_passages.py +1 -1
lotte_passages.py CHANGED
@@ -206,7 +206,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
206
  else:
207
  author = ""
208
 
209
- yield current_index, {
210
  "doc_id": current_query["doc_id"],
211
  "author": author,
212
  "text": current_query["text"]
 
206
  else:
207
  author = ""
208
 
209
+ yield i, {
210
  "doc_id": current_query["doc_id"],
211
  "author": author,
212
  "text": current_query["text"]