Report length of dev dataset correctly (#4891)

This commit is contained in:
adrianeboyd 2020-01-08 16:51:51 +01:00 committed by Ines Montani
parent e1b493ae85
commit e55fa1899a

View File

@ -107,7 +107,7 @@ def debug_data(
else:
msg.text(f"Starting with blank model '{lang}'")
msg.text(f"{len(train_dataset)} training docs")
msg.text(f"{len(gold_dev_data)} evaluation docs")
msg.text(f"{len(dev_dataset)} evaluation docs")
if not len(gold_dev_data):
msg.fail("No evaluation docs")