minor update
Browse files- norwegian_parliament.py +1 -1
norwegian_parliament.py
CHANGED
@@ -56,7 +56,7 @@ class NorwegianParliament(datasets.GeneratorBasedBuilder):
|
|
56 |
def _generate_examples(self, filepath):
|
57 |
with open(filepath, encoding="utf-8") as file:
|
58 |
reader = csv.reader(file, delimiter="\t")
|
59 |
-
next(reader) # Skip the header
|
60 |
for idx, row in enumerate(reader):
|
61 |
label, text = row
|
62 |
yield idx, {
|
|
|
56 |
def _generate_examples(self, filepath):
|
57 |
with open(filepath, encoding="utf-8") as file:
|
58 |
reader = csv.reader(file, delimiter="\t")
|
59 |
+
#next(reader) # Skip the header
|
60 |
for idx, row in enumerate(reader):
|
61 |
label, text = row
|
62 |
yield idx, {
|