Skip to content

Commit

Permalink
Fixing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobdevlin-google committed Nov 8, 2018
1 parent 1da14bd commit 870e56f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ def _create_examples(self, lines, set_type):
"""Creates examples for the training and dev sets."""
examples = []
for (i, line) in enumerate(lines):
# Only the test set has a header
if i == 0:
continue
guid = "%s-%s" % (set_type, i)
Expand Down Expand Up @@ -340,6 +339,7 @@ def _create_examples(self, lines, set_type):
"""Creates examples for the training and dev sets."""
examples = []
for (i, line) in enumerate(lines):
# Only the test set has a header
if set_type == "test" and i == 0:
continue
guid = "%s-%s" % (set_type, i)
Expand Down

0 comments on commit 870e56f

Please sign in to comment.