Datasets:
Tasks:
Question Answering
Sub-tasks:
extractive-qa
Languages:
English
Size:
1M<n<10M
ArXiv:
License:
Update lotte_passages.py
Browse files- lotte_passages.py +20 -18
lotte_passages.py
CHANGED
@@ -207,7 +207,9 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
207 |
|
208 |
###########################################################################
|
209 |
|
|
|
210 |
if i + 1 == 119593: # Error rows for lifestyle
|
|
|
211 |
print("Resolving error rows for lifestyle")
|
212 |
error_rows = [{"doc_id": 119593, "author": "wabisabied", "text": "Can anybody point out what my problem with my guitar might be? Yes, it might be that the lighter gauge strings are sitting too deep in the nut slots. If the guitar was set up for heavier gauge strings, the slots will be wider than optimal for the new, lighter set, thus the strings will sit deeper and be too close to the frets. This can cause the buzzing, incorrect pitch and dead notes you are encountering. Reverting to heavier gauge strings might get you back on track, but you\u2019ll likely have to readjust saddles and truss rod, as well. In addition to the nut slot depth, the lower tension of lighter gauge strings will also reduce the relief, the slight concave bend, of the neck. This can also cause buzzing, incorrect pitch and dead notes. Since you tried adjusting relief with the truss rod to no better effect, I suspect the nut is a bigger impediment to a proper set up than the relief. Best solution at this point is to take it to a guitar tech, maybe the shop you bought from, and have it set up for the string gauges you prefer. As for the neck shifting and settling into bad alignment, it\u2019s hard to make any judgements without seeing it. If it truly is misaligned, then that is a structural problem and may warrant replacement under warranty. However a lot of new guitar players have problems with pushing the e string off the fret board, so it could just be part of the learning curve for you. Bottom line, I\u2019d take it to a tech and get it sorted out by an expert. However if you\u2019re still inclined to work it out yourself, Fender provides guidance for set ups here: How do I set up my Stratocaster guitar properly?"},
|
213 |
{"doc_id": 119594, "author": "Edward", "text": "Those look like chord symbols for the backing track. The book probably says this the first time that notation is used."},
|
@@ -223,32 +225,32 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
223 |
|
224 |
###########################################################################
|
225 |
|
226 |
-
if
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
if "author" in current_query.keys():
|
228 |
author = current_query['author']
|
229 |
else:
|
230 |
author = ""
|
231 |
|
232 |
-
yield i, {
|
233 |
"doc_id": current_query["doc_id"],
|
234 |
"author": author,
|
235 |
"text": current_query["text"]
|
236 |
}
|
237 |
-
first_row = False
|
238 |
-
|
239 |
-
current_query = data[i]
|
240 |
-
|
241 |
-
if "author" in current_query.keys():
|
242 |
-
author = current_query['author']
|
243 |
-
else:
|
244 |
-
author = ""
|
245 |
-
|
246 |
-
yield i + 1, {
|
247 |
-
"doc_id": current_query["doc_id"],
|
248 |
-
"author": author,
|
249 |
-
"text": current_query["text"]
|
250 |
-
}
|
251 |
-
|
252 |
-
|
253 |
|
254 |
|
|
|
207 |
|
208 |
###########################################################################
|
209 |
|
210 |
+
#assert False
|
211 |
if i + 1 == 119593: # Error rows for lifestyle
|
212 |
+
#assert False
|
213 |
print("Resolving error rows for lifestyle")
|
214 |
error_rows = [{"doc_id": 119593, "author": "wabisabied", "text": "Can anybody point out what my problem with my guitar might be? Yes, it might be that the lighter gauge strings are sitting too deep in the nut slots. If the guitar was set up for heavier gauge strings, the slots will be wider than optimal for the new, lighter set, thus the strings will sit deeper and be too close to the frets. This can cause the buzzing, incorrect pitch and dead notes you are encountering. Reverting to heavier gauge strings might get you back on track, but you\u2019ll likely have to readjust saddles and truss rod, as well. In addition to the nut slot depth, the lower tension of lighter gauge strings will also reduce the relief, the slight concave bend, of the neck. This can also cause buzzing, incorrect pitch and dead notes. Since you tried adjusting relief with the truss rod to no better effect, I suspect the nut is a bigger impediment to a proper set up than the relief. Best solution at this point is to take it to a guitar tech, maybe the shop you bought from, and have it set up for the string gauges you prefer. As for the neck shifting and settling into bad alignment, it\u2019s hard to make any judgements without seeing it. If it truly is misaligned, then that is a structural problem and may warrant replacement under warranty. However a lot of new guitar players have problems with pushing the e string off the fret board, so it could just be part of the learning curve for you. Bottom line, I\u2019d take it to a tech and get it sorted out by an expert. However if you\u2019re still inclined to work it out yourself, Fender provides guidance for set ups here: How do I set up my Stratocaster guitar properly?"},
|
215 |
{"doc_id": 119594, "author": "Edward", "text": "Those look like chord symbols for the backing track. The book probably says this the first time that notation is used."},
|
|
|
225 |
|
226 |
###########################################################################
|
227 |
|
228 |
+
if (i + 1 < 119593 or i + 1 > 119597):
|
229 |
+
|
230 |
+
if first_row:
|
231 |
+
if "author" in current_query.keys():
|
232 |
+
author = current_query['author']
|
233 |
+
else:
|
234 |
+
author = ""
|
235 |
+
|
236 |
+
yield i, {
|
237 |
+
"doc_id": current_query["doc_id"],
|
238 |
+
"author": author,
|
239 |
+
"text": current_query["text"]
|
240 |
+
}
|
241 |
+
first_row = False
|
242 |
+
|
243 |
+
current_query = data[i]
|
244 |
+
|
245 |
if "author" in current_query.keys():
|
246 |
author = current_query['author']
|
247 |
else:
|
248 |
author = ""
|
249 |
|
250 |
+
yield i + 1, {
|
251 |
"doc_id": current_query["doc_id"],
|
252 |
"author": author,
|
253 |
"text": current_query["text"]
|
254 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
255 |
|
256 |
|