Fix collation of best models

This commit is contained in:
Matthew Honnibal 2018-06-25 01:21:34 +02:00
parent 9d6a1c57f2
commit 2c703d99c2

View File

@ -190,7 +190,7 @@ def train(lang, output_dir, train_data, dev_data, n_iter=30, n_sents=0,
components.append('parser') components.append('parser')
if not no_tagger: if not no_tagger:
components.append('tagger') components.append('tagger')
if not no_entity: if not no_entities:
components.append('ner') components.append('ner')
_collate_best_model(meta, output_path, components) _collate_best_model(meta, output_path, components)