diff --git a/spacy/cli/train.py b/spacy/cli/train.py index a8b45e8fa..3dae3f68b 100644 --- a/spacy/cli/train.py +++ b/spacy/cli/train.py @@ -91,6 +91,8 @@ def train(cmd, lang, output_dir, train_data, dev_data, n_iter=10, n_sents=0, lang_class = util.get_lang_class(lang) nlp = lang_class() + meta['pipeline'] = pipeline + nlp.meta.update(meta) if vectors: util.load_model(vectors, vocab=nlp.vocab) for name in pipeline: