Commit 2ba147ec authored by Antonio Carlos Falcão Petri's avatar Antonio Carlos Falcão Petri Committed by Julien Chaumond
Browse files

Fix typo in examples/utils_ner.py

"%s-%d".format() -> "{}-{}".format()
parent 9773e5e0
......@@ -73,7 +73,7 @@ def read_examples_from_file(data_dir, mode):
# Examples could have no label for mode = "test"
labels.append("O")
if words:
examples.append(InputExample(guid="%s-%d".format(mode, guid_index), words=words, labels=labels))
examples.append(InputExample(guid="{}-{}".format(mode, guid_index), words=words, labels=labels))
return examples
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment